nerdexam
Salesforce

PDII · Question #45

PDII Question #45: Real Exam Question with Answer & Explanation

Sign in or unlock PDII to reveal the answer and full explanation for question #45. The question stem and answer options stay visible for context.

Question

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?

Options

  • AWrite an after update trigger on Contact for the Is Primary logic and a separate before update
  • BWrite a Validation Rule on the Contact for the Is Primary logic and a before update trigger on
  • CWrite an after update trigger on Account for the Is Primary logic and a before update trigger on
  • DWrite a single trigger on Contact for both after update and before update and callout to helper

Unlock PDII to see the answer

You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PDII Practice