CRT-450 Exam Question 116

A developer is writing tests for a class and needs to insert records to validate functionality.
Which annotation method should be used to create record for every method in the test class?
  • CRT-450 Exam Question 117

    A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type.
    Which two options allow the developer to dynamically determine the ID of the required Record Type by its name? (Choose two.)
  • CRT-450 Exam Question 118

    A developer must modify the following code snippet to prevent the number of SOQL queries issued from exceeding the platform governor limit.

    The above method might be called during a trigger execution via a Lightning component.
    Which technique should be implemented to avoid reaching the governor limit?
  • CRT-450 Exam Question 119

    Which two describe Heroku Redis? Choose 2 answers.
  • CRT-450 Exam Question 120

    A developer wrote a unit test to confirm that a custom exception works properly in a custom controller, but the test failed due to an exception being thrown.
    Which step should the developer take to resolve the issue and properly test the exception?