PDI Exam Question 1

What are three capabilities of the <ltng : require> tag when loading JavaScript resources in Aura components?
Choose 3 answers
  • PDI Exam Question 2

    A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URLWhich statement is unnecessary inside the unit test for the custom controller?
  • PDI Exam Question 3

    A developer in a Salesforce org with 100 Accounts executes the following code using the Developer console:Account myAccount = new Account(Name = 'MyAccount');Insert myAccount;For (Integer x = 0; x <
    150; x++)
    {Account newAccount = new Account (Name='MyAccount' + x);try {Insert newAccount;} catch (Exception ex) {System.debug (ex) ;}}insert new Account (Name='myAccount');How many accounts are in the org after this code is run?
  • PDI Exam Question 4

    A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles. Which tool should they use to deploy to the sandbox?
  • PDI Exam Question 5

    Given the following Anonymous Block:

    Which one do you like?
    What should a developer consider for an environment that has over10,000 Case records?