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 Plat-Dev-201 Exam - Topic 2 Question 9 Discussion

Posted by Edna on May 02, 2026 at 04:26 PM

(Full question statement)

Universal Containers recently transitioned fromClassic to Lightning Experience. One of its business processes requirescertain values from the Opportunity objectto be sent via anHTTP REST calloutto itsexternal order management systemwhen the user presses a custom button on the Opportunity detail page.

Example fields:

Name

Amount

Account

Which two methods should the developer implement to fulfill the business requirement?

Choose 2 answers.

Suggested Answer: A, C

Comprehensive and Detailed Explanation From Exact Extract:

A (Correct):AVisualforce quick actioncan include Apex logic for a callout, and Visualforce is still valid in Lightning Experience.

C (Correct):ALightning Web Component (or Aura component)exposed as aquick actioncan perform callouts via Apex when the user clicks a button. This supports a more modern UI experience.

Incorrect options:

B:@future(callout=true) works but cannot be triggeredsynchronously by a button press. It's for background/automated processes.

D:Remote Actionis legacy functionality used with Visualforce/Aura and doesn't suit modern Lightning and button-driven synchronous actions.


This is part ofUser Interface (25%)andProcess Automation and Logic (30%), involvingintegration techniques and callouts.

Get Premium Plat-Dev-201 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
26 comments · newest first
FR
Fredric 2 days ago
D seems unnecessary. We need a direct callout.
HA
Harrison 8 days ago
B is risky with triggers. What if there are too many updates?
ON
Oneida 13 days ago
A could work too, but it feels outdated.
JU
Jutta 18 days ago
I agree, C is great for user experience.
RA
Raymon 23 days ago
I think C is the best option. Lightning components are more modern.
BE
Beatriz 28 days ago
Right, D feels outdated too. C and A are the best options here.
CA
Carmen 1 month ago
D seems unnecessary. Remote Actions are not commonly used anymore.
CH
Cherri 1 month ago
True, but B allows for asynchronous processing. It has its merits.
KA
Kati 1 month ago
I feel like B is risky. Triggers can be complex and hard to debug.
SH
Shantay 2 months ago
A could work, but it feels outdated compared to C.
MA
Margurite 2 months ago
But what about A? Visualforce is still relevant for some cases.
ST
Stephaine 2 months ago
I agree, C is good. Lightning components are modern and efficient.
DO
Dorinda 2 months ago
This question is tricky! I think C is a solid choice.
LO
Lorrine 2 months ago
D seems unnecessary, just stick with the quick actions!
AY
Ayesha 2 months ago
Wait, can you really use @future for callouts? Sounds risky!
AN
Anna 3 months ago
Not sure about A, Visualforce feels outdated now.
LA
Lanie 3 months ago
Definitely agree with C! Lightning components are the way to go.
RY
Ryan 3 months ago
I think C and A are the best options here.
BL
Blossom 3 months ago
I vaguely recall something about Remote Actions, but I’m not confident they’re the best fit here. I think options A and C are more straightforward for making callouts from the Opportunity page.
CA
Carmen 3 months ago
I feel like we practiced a similar question where we had to choose between Visualforce and Lightning components. I think option A could be a valid approach, but I’m leaning towards C as the more modern solution.
VA
Vallie 4 months ago
I'm not entirely sure, but I think using an after update trigger could be risky because it might lead to governor limits issues. Option B seems like it could work, but I'm hesitant.
YA
Yaeko 4 months ago
I remember we discussed the differences between Visualforce and Lightning components in class. I think option C might be the best choice since it's more aligned with Lightning Experience.
TA
Tammi 4 months ago
I vaguely recall that Remote Actions are more suited for Visualforce pages. So, I don't think option D would be the right choice here. I’m pretty sure it’s between A and C.
FA
Fausto 5 months ago
I feel like we practiced a similar question where we had to choose between quick actions and triggers. I think option A could be a valid approach, but I’m leaning towards option C for the Lightning context.
BI
Billy 6 months ago
I'm not entirely sure, but I think using an after update trigger could be risky because it might lead to governor limits being hit. Option B seems like it could work, but I’m not confident.
SL
Slyvia 6 months ago
I remember we discussed the differences between Visualforce and Lightning components in class. I think option C might be the best choice since it aligns with Lightning Experience.
0/2000 characters

Save Cancel