Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Platform Developer II Topic 5 Question 90 Discussion

Actual exam question for Salesforce's Platform Developer II exam
Question #: 90
Topic #: 5
[All Platform Developer II Questions]

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?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Kate
12 days ago
Option B is definitely the way to go. Keeping the logic centralized in a helper class is the most maintainable approach.
upvoted 0 times
...
Leota
18 days ago
But option A allows for easier maintenance by users.
upvoted 0 times
...
Kimbery
19 days ago
Ha! 'Burvey Response_c'? That's a new one. I'm going to have to remember that for my next Salesforce trivia night.
upvoted 0 times
Oliva
4 days ago
B: Yeah, using a helper class with an Apex trigger sounds like a good solution.
upvoted 0 times
...
Ciara
6 days ago
A: I think option B is the way to go.
upvoted 0 times
...
...
Mendy
20 days ago
I'm a little confused about the wording of the question. Does 'Burvey Response_c' mean 'Survey Response_c'? If so, I'd go with Option B as well.
upvoted 0 times
...
Melissa
21 days ago
I disagree, I believe option B is more efficient.
upvoted 0 times
...
Carin
22 days ago
Option B seems like the most efficient approach. Keeping the logic in a helper class allows for easy maintenance and reuse across different objects.
upvoted 0 times
...
Leota
28 days ago
I think option A is the best choice.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77