Exam PDII Topic 1 Question 128 Discussion
Actual exam question for Salesforce's PDII exam
Question #: 128
Topic #: 1
Question #: 128
Topic #: 1
A company requires an external system to be notified whenever an account is updated.
trigger AccountTrigger on Account (after update){ for (Account
updatedAccount:Trigger.new){ AccountTriggerHelper.notinyxternalSystem
(updatedAccount.id); } } public class AccountTriggerHelperfuture(callout=true)
{ public static void notinyxternalSystem(Id accountId){ Account acc = [Select id, name from Account where accountId = :accountId]; http objectHttp h = new Http(); HttpRequest req = new HttpRequest(); req.setEndpoint('http://example.org/ restService'); req.setMethod('POST'); req.setBody(JSON.serialize(acc)); HttpResponse res = h.send(req); } } What LimitException could the following code trigger?
trigger AccountTrigger on Account (after update){ for (Account
updatedAccount:Trigger.new){ AccountTriggerHelper.notinyxternalSystem
(updatedAccount.id); } } public class AccountTriggerHelperfuture(callout=true)
{ public static void notinyxternalSystem(Id accountId){ Account acc = [Select id, name from Account where accountId = :accountId]; http objectHttp h = new Http(); HttpRequest req = new HttpRequest(); req.setEndpoint('http://example.org/ restService'); req.setMethod('POST'); req.setBody(JSON.serialize(acc)); HttpResponse res = h.send(req); } } What LimitException could the following code trigger?
Suggested Answer: C Vote an answer
by Ulysses at Oct 14, 2026, 07:06 AM
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).