Free Certified Platform Developer II Exam Braindumps (page: 16)

Page 16 of 90

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



Page 16 of 90



Post your Comments and Discuss Salesforce Certified Platform Developer II exam with other Community members:

Jenil Gandhi commented on November 14, 2024
Hi everyone could sone share the certification voucher for PD2.
INDIA
upvote

Aniq commented on December 02, 2023
Hi every one Could some share the certification voucher for PD2
Anonymous
upvote

Rasheed commented on June 07, 2023
Worth the price. I got 50% off when I selected 2 exams.
PAKISTAN
upvote

Lisha commented on September 21, 2022
Thank you!
Anonymous
upvote