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:

Dorothy
7 days ago
Exposing an Apex class as a web service? Sounds like the developer's going to need some serious API-fu to pull this off.
upvoted 0 times
...
Malcolm
8 days ago
Future method all the way! Gotta love that asynchronous goodness.
upvoted 0 times
...
Tashia
13 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
14 days ago
Queveable interface? What is this, a Harry Potter spell? C is clearly the correct answer here.
upvoted 0 times
...
Tashia
18 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
18 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
Candida
4 days ago
A) Implement the Queueable interface.
upvoted 0 times
...
...
Valentin
20 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
23 days ago
I agree with Samira. Using Queueable interface would allow for asynchronous processing of the records.
upvoted 0 times
...
Monroe
26 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
Ivette
4 days ago
I agree, using an Apex class as a web service will allow the developer to send one record per call to the external system.
upvoted 0 times
...
Shawnta
7 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
1 months ago
I think the developer should implement the Queueable interface.
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