PDII Exam Question 21

Choose the correct definition for <apex:pageMessage>.
  • PDII Exam Question 22

    A company has code to update a Request and Request Lines and make a callout to their external ERP system's REST endpoint with the updated records.

    The CalloutUtil. makeRestCallout fails with a 'You have uncommitted work pending. Please commit or rollback before calling out' error. What should be done to address the problem?
  • PDII Exam Question 23

    What is the transaction limit for the number of records using QueryLocator?
  • PDII Exam Question 24

    A developer needs to implement a system audit feature that allows users, assigned to a custom profile named "Auditors", to perform searches against the historical records in the Account object. The developer must ensure the search is able to return history records that are between 12 and 24 months old.
    Given the code below, which select statement should be inserted below as a valid way to retrieve the Account History records ranging from 12 to 24 month old?
    A)

    B)

    C)

    D)
  • PDII Exam Question 25

    A developer has created a Visualforce page that uses a third-party JavaScript framework. The developer has decided to supply data to the JavaScript functions using JavaScript Remoting for Apex Controllers.
    What is the correct syntax to declare a remote method in Apex? (Choose two.)