Salesforce PDII Exam (page: 13)
Salesforce Certified Platform Developer II
Updated on: 25-Dec-2025

Viewing Page 13 of 86

UC Loans is a small company with a part time Salesforce administrator. UC Loans wants to create a Loan c record whenever an Opportunity is won.
What is the optimal solution for UC Loans to accomplish this?

  1. Process Builder
  2. Quick Action
  3. Workflow Rule
  4. Apex Trigger

Answer(s): A



A developer needs to send Account records to an external system for backup purposes. The process must take a snapshot of Accounts as they are saved and then make a callout to a RESTful web service. The web service can only receive, at most, one record per call.
Which feature should be used to implement these requirements?

  1. @future
  2. Queueable
  3. Process Builder
  4. Workflow

Answer(s): C



A developer gets an error saying 'Maximum Trigger Depth Exceeded'.
What is a possible reason to get this error message?

  1. The SOQL governor limits are being hit.
  2. A process Builder is running that sends mass emails.
  3. There are numerous DML operations in the trigger logic.
  4. A trigger is recursively invoked more than 16 times.

Answer(s): D



An org has a requirement that an Account must always have one and only one Contact listed as Primary. So selecting one Contact will de-select any others. The client wants a checkbox on the Contact called 'Is Primary' to control this feature. The client also wants to ensure that the last name of every Contact is stored entirely in uppercase characters.

What is the optimal way to implement these requirements?

  1. Write an after update trigger on Contact for the Is Primary logic and a separate before update trigger on Contact for the last name logic.
  2. Write a Validation Rule on the Contact for the Is Primary logic and a before update trigger on Contact for the last name logic.
  3. Write an after update trigger on Account for the Is Primary logic and a before update trigger on Contact for the last name logic.
  4. Write a single trigger on Contact for both after update and before update and callout to helper classes to handle each set of logic.

Answer(s): D



A developer is trying to access org data from within a test class.
Which sObject type requires the test class to have the (seeAllData=true) annotation?

  1. Report
  2. User
  3. Profile
  4. RecordType

Answer(s): A



Viewing Page 13 of 86



Share your comments for Salesforce PDII exam with other users:

Farooqi 11/21/2023 1:37:00 AM

good for practice.
INDIA