Month End Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Salesforce Certified Platform Developer II ( Plat-Dev-301 ) PDII Question # 8 Topic 1 Discussion

Salesforce Certified Platform Developer II ( Plat-Dev-301 ) PDII Question # 8 Topic 1 Discussion

PDII Exam Topic 1 Question 8 Discussion:
Question #: 8
Topic #: 1

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 is stored in a custom object for ease of maintenance by users. The Survey_Response__c object is populated via a custom Visualforce page. What is the optimal way to implement this?


A.

Implement the logic in validation rules on the Contact and the Survey_Response__c objects.


B.

Implement the logic in a helper class that is called by an Apex trigger on Contact and from the custom Visualforce page controller.


C.

Implement the logic in an Apex trigger on Contact and also implement the logic within the custom Visualforce page controller.


Get Premium PDII Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.