New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 8 Question 24 Discussion

Actual exam question for Salesforce's Salesforce Certified Platform Developer II (Plat-Dev-301) exam
Question #: 24
Topic #: 8
[All Salesforce Certified Platform Developer II (Plat-Dev-301) Questions]

An org has a requirement that the Shipping Address on the Account must be validated by a third-party web service, before the Account is allowed to be inserted.

What is the optimal way to meet this requirement?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

0/2000 characters
Tonja
4 months ago
Custom controllers are more flexible, but D seems safer.
upvoted 0 times
...
Ardella
4 months ago
Wait, can we even callout in a before insert trigger?
upvoted 0 times
...
Carlton
4 months ago
Isn't it risky to do this in a trigger?
upvoted 0 times
...
Pamela
4 months ago
I disagree, I think C could work too.
upvoted 0 times
...
Mollie
4 months ago
Option D is the best choice for this.
upvoted 0 times
...
Kimbery
5 months ago
I vaguely recall that standard controllers have limitations with callouts. So, I guess option B might not work either.
upvoted 0 times
...
Abel
5 months ago
I think we practiced a similar question where we had to validate data before saving. I’m leaning towards option A, but I’m not completely confident.
upvoted 0 times
...
Fannie
5 months ago
I feel like using a custom Visualforce controller could give us more control, but I'm not sure if it's the best approach for validation.
upvoted 0 times
...
Jess
5 months ago
I remember we discussed that callouts can't be made in triggers, so I think options C and D are out.
upvoted 0 times
...
Annalee
5 months ago
This is a great question to test our understanding of the SDLC and security best practices. I'm confident I can identify the correct answer.
upvoted 0 times
...
Rolf
5 months ago
Hmm, I'm a bit confused here. The question mentions maintaining security controls, so I'm not sure if just changing the default policy or enabling insecure protocols is the right approach. I'll need to think this through carefully.
upvoted 0 times
...
Suzi
5 months ago
I'm a bit confused by the wording of the question. Are they asking us to choose the single most important factor in audit planning, or all the relevant factors? I'll have to read it over again to make sure I understand what they're looking for.
upvoted 0 times
...
Ciara
5 months ago
Alright, let me think this through. A and B are about load balancing, which seems like a valid use case. C mentions something about server load, so that could work too. D is about routing to an error queue, which is more of an error handling scenario, so I'm not sure about that one.
upvoted 0 times
...
Ligia
5 months ago
I've got a strategy for this - I'll start by eliminating the options that are clearly wrong, then focus on the remaining ones to determine the best answer.
upvoted 0 times
...

Save Cancel