PDI Exam Question 101

A developer has javascript code that needs to be called by controller functions in multiple components by extending a new abstract component. Which resource in the abstract component bundle allows the developer to achieve this
  • PDI Exam Question 102

    A developer must write an Apex method that will be called from a Lightning component. The method may delete an Account stored in the accountRec variable.
    Which method should a developer use to ensure only users that should be able to delete Accounts can successfully perform deletions?
  • PDI Exam Question 103

    The following Apex method is part of the ContactService class that is called from a trigger: public static void setBusinessUnitToEMEA(Contact thisContact){ thisContact.Business_Unit__c = "EMEA" ; update thisContact; } How should the developer modify the code to ensure best practice are met?
  • PDI Exam Question 104

    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)
  • PDI Exam Question 105

    In the code below, which type does String inherit from? String s = 'Hello World';