Salesforce
PDII · Question #271
PDII Question #271: Real Exam Question with Answer & Explanation
Sign in or unlock PDII to reveal the answer and full explanation for question #271. The question stem and answer options stay visible for context.
Question
A company manages information about their product offerings in custom objects named Catalog and Catalog Item. Catalog Item has a master-detail field to Catalog, and each Catalog may have as many as 100,000 Catalog Items. Both custom objects have a CurrencyIsoCode Text field that contains the currency code they should use. If a Catalog's CurrencyIsoCode changes, all of its Catalog Items' CurrencyIsoCodes should be changed as well. What should a developer use to update the CurrencIsoCodes on the Catalog Items when the Catalog's CurrencyIsoCode changes?
Options
- AAn after insert trigger on Catalog that updates the Catalog Items if the Catalog's CurrencyIsoCode
- BA Database.Schedulable and Database.Batchable class that queries the Catalog object and
- CAn after insert trigger on Catalog Item that updates the Catalog Items if the Catalog's
- DA Database.Schedulable and Database.Batchable class that queries the Catalog Item object and
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.