CRT-450 Exam Question 51

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 52

    A developer creates a method in an Apex class and needs to ensure that errors are handled properly.What would the developer use? (There are three correct answers.)
  • CRT-450 Exam Question 53

    What are two considerations for custom Apex Exception classes? Choose 2 answers.
  • CRT-450 Exam Question 54

    An after trigger on the account object performs a DML update operation on all of the child opportunities of an account. There are no active triggers on the opportunity object, yet a "maximum trigger depth exceeded" error occurs in certain situation. Which two reasons possibly explain the account trigger firing recursively? choose 2 answers
  • CRT-450 Exam Question 55

    As a part of class implementation a developer must execute a SOQL query against a large data ser based on the contact object. The method implementation is as follows.

    Which two methods are best practice to implement heap size control for the above code? (Choose 2 Answers)