Salesforce Certified Platform Developer II (Plat-Dev-301) PDII Question # 1 Topic 1 Discussion

Salesforce Certified Platform Developer II (Plat-Dev-301) PDII Question # 1 Topic 1 Discussion

PDII Exam Topic 1 Question 1 Discussion:
Question #: 1
Topic #: 1

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 CurrencylsoCode text field that contains the currency

code they should use. If a Catalog's CurrencylsoCode changes, all of its Catalog

Items’ CurrencylsoCodes should be changed as well.

What should a developer use to update the CurrencylsoCodes on the Catalog Items

when the Catalog's CurrencylsoCode changes?


A.

A Database.Schedulable and Database.Batchacle class that queries the Catalog Item object and updates the Catalog Items if the Catalog CurrencylSoCode is different


B.

An after insert trigger on Catalog that updates the Catalog Items if the Catalogs CurrencylsoCode is different


C.

An after insert trigger on Catalog Item that updates the Catalog Items if the Catalog’s CurrencylsoCode is different


D.

A Database. schedulable and Dazabase.Bazchacle class that queries the Catalog object and updates the Catalog Items if the Catalog CurrencylSoCode is different


Get Premium PDII Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.