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
2 months 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
Deja
18 days ago
D) Create a future method.
upvoted 0 times
...
Hillary
28 days ago
C) Expose an Apex class as a web service.
upvoted 0 times
...
Valene
1 months ago
B) Implement platform events.
upvoted 0 times
...
Mira
1 months ago
A) Implement the Queueable interface.
upvoted 0 times
...
...
Malcolm
2 months ago
Future method all the way! Gotta love that asynchronous goodness.
upvoted 0 times
Shalon
2 months ago
Create a future method.
upvoted 0 times
...
Ruby
2 months ago
Implement the Queuable interface.
upvoted 0 times
...
...
Tashia
2 months 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
2 months ago
Queveable interface? What is this, a Harry Potter spell? C is clearly the correct answer here.
upvoted 0 times
...
Tashia
2 months 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
2 months 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
Precious
11 days ago
Denae: I think Queueable is more efficient for this specific requirement.
upvoted 0 times
...
Stephane
12 days ago
User 3: D) Create a future method could also work for this scenario.
upvoted 0 times
...
Denae
13 days ago
User 2: Denae is right, that would be the best option.
upvoted 0 times
...
Melvin
14 days ago
User 1: A) Implement the Queueable interface.
upvoted 0 times
...
Emile
20 days ago
D) Create a future method.
upvoted 0 times
...
Fidelia
2 months ago
C) Expose an Apex class as a web service.
upvoted 0 times
...
Broderick
2 months ago
B) I agree, platform events might not be the best fit for this scenario.
upvoted 0 times
...
Candida
2 months ago
A) Implement the Queueable interface.
upvoted 0 times
...
...
Valentin
2 months 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
2 months ago
I agree with Samira. Using Queueable interface would allow for asynchronous processing of the records.
upvoted 0 times
...
Monroe
3 months 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
Leonora
2 months ago
That's right! It's the most efficient way to meet the requirement of sending Account records to the external system for backup.
upvoted 0 times
...
Ivette
2 months 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
2 months 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
3 months ago
I think the developer should implement the Queueable interface.
upvoted 0 times
...

Save Cancel