PDI Exam Question 236

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 237

    Which two are phases in the Salesforce Application Event propagation framework? Choose
    2 answers
  • PDI Exam Question 238

    A newly hired developer discovers that there are multiple triggers on the case object.
    What should the developer consider when working with triggers?
  • PDI Exam Question 239

    A developer created a Visualforce page with a custom controller to show a list of accounts. The page uses the
    <apex:SelecList> component, with a variable called "selection", to show the valid values for Account.Type.
    The page uses an <apex:pageBlockTable> component to display the list of accounts, where the iteration variable is "acct". The developer wants to ensure that when a user selects a type on the <apex : selectList> component, only accounts with that type are shown on the page. What should the developer do to accomplish this?
  • PDI Exam Question 240

    Which three statements are true regarding custom exceptions in Apex? (Choose three.)