nerdexam
Salesforce

PDII · Question #212

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

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

Question

A developer is tasked with ensuring that email addresses entered into the system for Contacts and for a Custom Object called Survey_Response_ c do not belong to a list of blocked domains. The list of blocked domains will be stored in a custom object for ease of maintenance by users. Note that the Survey_Response _c object is populated via a custom Visualforce page. What is the optimal way to implement this?

Options

  • AImplement the logic in a helper class that is called by an Apex trigger on Contact and from the
  • BImplement the logic in an Apex trigger on Contact and also implement the logic within the Custom
  • CImplement the logic in a Validation Rule on the Contact and a Validation Rule on the
  • DImplement the logic in the Custom Visualforce page controller and call that method from an Apex

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