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 112 Discussion

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

A developer needs to send Account records to an external system for backup purposes. The process must take a snapshot of Accounts as they are saved and then make a callout to a RESTful web service. The web service can only receive, at most, one record per call.

What should a developer do to implement these requirements?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Future method all the way! Gotta love that asynchronous goodness.
upvoted 0 times
...
Tashia
5 days ago
I think implementing platform events could be a good option too, as it would provide a way to trigger the process when an Account record is saved.
upvoted 0 times
...
Virgilio
6 days ago
Queveable interface? What is this, a Harry Potter spell? C is clearly the correct answer here.
upvoted 0 times
...
Tashia
10 days ago
I believe creating a future method could also work, as it would allow for the callout to the RESTful web service.
upvoted 0 times
...
Mari
10 days ago
B sounds interesting, but I'm not sure platform events are the best fit for a one-to-one backup process.
upvoted 0 times
...
Valentin
12 days ago
I'd go with D - a future method can handle the callout and make sure it doesn't hold up the main process.
upvoted 0 times
...
Tamra
15 days ago
I agree with Samira. Using Queueable interface would allow for asynchronous processing of the records.
upvoted 0 times
...
Monroe
18 days ago
C is the way to go! Exposing an Apex class as a web service is the perfect solution to handle this requirement.
upvoted 0 times
...
Samira
25 days ago
I think the developer should implement the Queueable interface.
upvoted 0 times
...

Save Cancel