Exam PDI Topic 1 Question 174 Discussion
Actual exam question for Salesforce's PDI exam
Question #: 174
Topic #: 1
Question #: 174
Topic #: 1
A developer deployed a trigger to update the status__c of Assets related to an Account when the Account's status changes and a nightly integration that updates Accounts in bulk has started to fail with limit failures.

What should the developer change about the code to address the failure while still having the code update all of the Assets correctly?

What should the developer change about the code to address the failure while still having the code update all of the Assets correctly?
Suggested Answer: A Vote an answer
Why Queueable?
* Queueable Apex allows asynchronous processing, which can handle bulk updates efficiently without hitting governor limits.
* The trigger enqueues the Queueable class to process the asset updates.
Avoiding Limit Failures:
* Moving logic to a Queueable class offloads resource-intensive operations to asynchronous processing.
* Queueable Apex allows asynchronous processing, which can handle bulk updates efficiently without hitting governor limits.
* The trigger enqueues the Queueable class to process the asset updates.
Avoiding Limit Failures:
* Moving logic to a Queueable class offloads resource-intensive operations to asynchronous processing.
by Myra at Sep 24, 2025, 12:31 AM
Contact Us
If you have any question please leave me your email address, we will reply and send email to you in 12 hours.
Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday
Support: Contact now
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).