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 62 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 62
Topic #: 1
[All Certified 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.
Which feature should be used to implement these requirements?

  • A. @future
  • B. Queueable
  • C. Process Builder
  • D. Workflow
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Dev_Bond_ZA
Highly Voted 1 year, 9 months ago
B Explanation "Takes a snapshot of accounts as they are" - this is all accounts - cannot be process builder for that reason, can not be future either, has to be queueable so you can queue each account one after the other.
upvoted 5 times
...
lucry01
Most Recent 1 month, 1 week ago
Selected Answer: B
I go with B for the same reason as @Dev_Bond_ZA
upvoted 1 times
...
Anjindal
5 months, 2 weeks ago
Selected Answer: B
correct ans is B
upvoted 1 times
...
moitam
1 year, 2 months ago
Selected Answer: B
I go with B for the same reason as @Dev_Bond_ZA
upvoted 2 times
...
santo_aj
1 year, 6 months ago
Selected Answer: C
C is correct. Call the invocable method from process builder and from invocable method call the @future method and write your callout logic there in @future method.
upvoted 1 times
...
cPickle
1 year, 7 months ago
C is right. Queustion says "The web service can only receive, at most, one record per call.". A,B can call multiple record.
upvoted 1 times
...
thneeb
1 year, 9 months ago
Selected Answer: A
For me it is A. You need to write APEX code even if you use Process Builder. So I would directly code a APEX trigger and an @future method. If Process Builder would be aber to do direct API calls, like Flow it would be fine for me. If Flow would be a choice, then I would take Flow
upvoted 1 times
...
lorenac2
1 year, 10 months ago
Selected Answer: C
This is correct as Salesforce prefers declarative first, so although @future would be used if it was a trigger, since PB is declarative, it would use this with an @InvocableMethod instead. Today, this would be done with a flow based trigger.
upvoted 1 times
...
nibbio
2 years, 11 months ago
Selected Answer: C
Process Builder + InvocableMethod marked with (callout=true)
upvoted 2 times
...
Santoshtpd
3 years, 3 months ago
C should be correct ,like Call the invocable method from process builder and from invocable method call the @future method and write your callout logic there in @future method.
upvoted 2 times
...
Pradip2021
3 years, 8 months ago
It should be A, as it will call Restful web service and it is a slow process
upvoted 1 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 ...