Question 1

Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)
  • Question 2

    When the number of record in a recordset is unknown, which control statement should a developer use to implement a set of code that executes for every record in the recordset, without performing a .size() or
    .length() method call?
  • Question 3

    A developer writes a single trigger on the Account object on the after insert and after update events. A workflow rule modifies a field every time an Account is created or updated.
    How many times will the trigger fire if a new Account is inserted, assuming no other automation logic is implemented on the Account?
  • Question 4

    Universal Containers stores the availability date on each Line Item of an Order and Orders are only shipped when all of the Line Items are available. Which method should be used to calculate the estimated ship date for an Order?
  • Question 5

    A recursive transaction is initiated by a DML statement creating records for these two objects:
    1. Accounts
    2. Contacts
    The Account trigger hits a stack depth of 16.
    Which statement is true regarding the outcome of the transaction?