Go Back on PDI Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

PDI Practice Test


Page 9 out of 48 Pages

Consider the following code snippet for a Visualforce page that is launched using a Custom Button on the Account detail page layout.


When the Save button is pressed the developer must perform a complex validation that involves multiple objects and, upon success, redirect the user to another Visualforce page. What can the developer use to meet this business requirement?


A. Custom controller


B. Controller extension


C. Validation rule


D. Apex trigger





B.
  Controller extension

Which annotation exposes an Apex class as a RESTful web service?


A.


B.


C.


D.





C.
  

Which Apex class contains methods to return the amount of resources that have been used for a particular governor, such as the number of DML statements?


A. Exception


B. Messaging


C. OrgLimits


D. Limits





D.
  Limits

A development team wants to use a deployment script lo automatically deploy lo a sandbox during their development cycles. Which two tools can they use to run a script that deploys to a sandbox? Choose 2 answers


A. VS Code


B. SFDX CLI


C. Change Sets


D. Developer Console





A.
  VS Code

B.
  SFDX CLI

Which two are phases in the Aura application event propagation framework? Choose 2 answers


A. Emit


B. Control


C. Default


D. Bubble





C.
  Default

D.
  Bubble


Page 9 out of 48 Pages
Previous