PDI Exam Question 11

Which three Salesforce resources can be accessed from a Lightning web component?
  • PDI Exam Question 12

    A developer has an integer variable called maxAttempts. The developer needs to ensure that once maxAttempts is initialized, it preserves its value for the length 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 13

    Which two are phases in the Aura application event propagation framework?
    Choose 2 answers
  • PDI Exam Question 14

    A developer is asked to write helper methods that create test data for unit tests.
    01: public TestUtils {
    02:
    03: public static Account createAccount() {
    04: Account act = new Account();
    05: // ...set some fields on act...
    06: return act;
    07: }
    08: //...other methods...
    09: }
    What should be changed in the TestUtils class so that its methods are only usable by unit test methods?
  • PDI Exam Question 15

    What should be used to create scratch orgs?