Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 30 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 30
Topic #: 1
[All Certified Platform Developer II Questions]

Sometimes events on Salesforce need to be handled by an external system due to the scale or type of process being executed. Consider the use case of a user in
Salesforce needing to get pricing for an order they are building in Salesforce while on the phone with a customer.
The pricing logic already exists in a third-party system. Instead of recreating this logic in Salesforce, it will be leveraged by making a request of the third-party system. The response, in this case the pricing, will be returned and stored back in Salesforce.
What is the optimal solution?

  • A. A Visualforce page that can make a real-time Apex callout to display and save the pricing back in Salesforce
  • B. An Apex trigger that upon saving the Order will make a real-time Apex callout, saving the pricing back in Salesforce
  • C. A Process Builder process and Outbound Message to fetch the pricing upon save and store the pricing in Salesforce
  • D. An ETL tool to process batches of newly saved Orders every few minutes to store the pricing back in Salesforce
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Anjindal
5 months, 3 weeks ago
Selected Answer: A
Correct ans is A
upvoted 1 times
...
santo_aj
1 year, 6 months ago
Selected Answer: A
A is the correct answer. Requirement is real time update as customer is waiting on phone, triggers can't make synchronous calls, ETL is batch (not real-time). Outbound message can't get the result back (usually one way)
upvoted 2 times
...
sf2022
1 year, 11 months ago
Selected Answer: A
A is correct VF to make call and response in real-time
upvoted 1 times
...
ChiaSam
2 years, 5 months ago
Selected Answer: A
Requirement is real time update as customer is waiting on phone, triggers can't make synchronous calls, ETL is batch (not real-time).
upvoted 4 times
ChiaSam
2 years, 5 months ago
and Outbound message can't get the result back (usually one way)
upvoted 2 times
...
...
nibbio
2 years, 11 months ago
Since it's a real-time verification before submitting the order the correct answer is A.
upvoted 4 times
...
Sri_Vathsa
2 years, 11 months ago
A using VF page + Continuation https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_continuation_overview.htm
upvoted 2 times
...
NPW89
3 years ago
Answer should be A
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...