PDI Exam Question 31

A developer has an integer variable called maxAttempts. The developer meeds to ensure that once maxAttempts is initialized, it preserves its value for the lenght of the Apex transaction; while being able to share the variable's state between trigger executions. How should the developer declare maxAttempts to meet these requirements?
  • PDI Exam Question 32

    How can a developer set up a debug log on a specific user?
  • PDI Exam Question 33

    What is the requirement for a class to be used as a custom Visualforce controller?
  • PDI Exam Question 34

    A developer is creating an enhancement to an application that will allow people to be related to their employer.
    Which date model should be used to track the data?
  • PDI Exam Question 35

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