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

Test Engine: $20 $80

PDF + Engine: $25 $99

PDII Practice Test


Page 12 out of 39 Pages

What should a developer use to query all Account fields for the Acme account in their sandbox?


A. SELECT FIELDS FAOM Account WHERE Name = ‘Acme’ LIMIT 1


B. SELECT FIELDS (ALL) FROM Account WHERE Name = ‘Acme’ LIMIT 1


C. SELECT ALL FROM Account WHERE Name = "Acme’ LIMIT 1


D. SELECT * FROM Recount WHERE Names = ‘Aeme’ LIMIT 1





B.
  SELECT FIELDS (ALL) FROM Account WHERE Name = ‘Acme’ LIMIT 1

Which use case can be performed only by using asynchronous Apex?


A. Querying tens of thousands of records


B. Making a call to schedule a batch process to complete in the future


C. Calling a web service from an Apex trigger


D. Updating a record after the completion of an insert





C.
  Calling a web service from an Apex trigger

A developer built an Aura component for guests to self-register upon arrival at a front desk kiosk. Now the developer needs to create a component for the utility tray to alert users whenever a guest arrives at the front desk. What should be used?


A. DML Operation


B. Changelog


C. Application Event


D. Component Event





C.
  Application Event

A developer is asked to look into an issue where a scheduled Apex is running into DML limits. Upon investigation, the developer finds that the number of records processed by the scheduled Apex has recently increased to more than 10,000. What should the developer do to eliminate the limit exception error?


A. Use the @future annotation.


B. Implement the Qususabls interface.


C. Implement the Batchable interface.


D. Use platform events.





C.
  Implement the Batchable interface.

A developer has a Visualforce page that automatically assigns ewnership of an Account to a queue upon save. The page appears to correctly assign ownership, but an assertion validating the correct ownership fails. What can cause this problem?


A. The test class does not retrieve the updated value from the database,


B. The test class does not use the Bulk API for loading test data.


C. The test class does not use the seeallData=true= annotation.


D. The test class does not implement the Queueable interface.





A.
  The test class does not retrieve the updated value from the database,


Page 12 out of 39 Pages
Previous