Salesforce
PDII · Question #14
PDII Question #14: Real Exam Question with Answer & Explanation
Sign in or unlock PDII to reveal the answer and full explanation for question #14. The question stem and answer options stay visible for context.
Question
An environment has two Apex Triggers: an after-update trigger on Account and an after-update trigger on Contact. The Account after-update trigger fires whenever an Account's address is updated, and it updates every associated Contact with that address. The Contact after-update trigger fires on every edit, and it updates every Campaign Member record related to the Contact with the Contact's state. Consider the following: A mass update of 200 Account records' addresses, where each Account has 50 Contacts. Each Contact has 1 Campaign Member. This means there are 10,000 Contact records across the Accounts and 10,000 Campaign Member records across the contacts. What will happen when the mass update occurs?
Options
- AThe mass update will fail, since the two triggers fire in the same context, thus exceeding the
- BThere will be no error, since each trigger fires within its own context and each trigger does not
- CThere will be no error, since the limit on the number of records processed by DML statements is
- DThe mass update of Account address will succeed, but the Contact address updates will fail due to
Unlock PDII to see the answer
You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.