New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 8 Question 21 Discussion

Actual exam question for Salesforce's Salesforce Certified Platform Developer II (Plat-Dev-301) exam
Question #: 21
Topic #: 8
[All Salesforce Certified Platform Developer II (Plat-Dev-301) Questions]

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^5

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Mendy
4 months ago
I think B is too limited; it should be on the Catalog object instead.
upvoted 0 times
...
Jamal
4 months ago
Definitely A, triggers are designed for this kind of update!
upvoted 0 times
...
Chaya
4 months ago
Wait, can a trigger really handle 100,000 records efficiently?
upvoted 0 times
...
Cyril
4 months ago
I disagree, C could handle large data volumes better.
upvoted 0 times
...
Horace
4 months ago
Option A seems like the best choice for this scenario.
upvoted 0 times
...
Benedict
5 months ago
I’m leaning towards option C, but I’m not entirely confident. I just remember that batch classes are useful for handling large data volumes like 100,000 items.
upvoted 0 times
...
Alexis
5 months ago
I feel like the after insert trigger on Catalog Item could work, but it seems like it wouldn't catch updates to the Catalog itself.
upvoted 0 times
...
Stevie
5 months ago
I remember practicing a similar question where we had to update related records, and I think a batch class might be overkill for just updating currency codes.
upvoted 0 times
...
Hubert
5 months ago
I think we might need an after insert trigger on the Catalog, but I'm not sure if that's the right context since it mentions updating after a change.
upvoted 0 times
...
Denae
5 months ago
I'm not entirely sure about the differences between blacklisting and whitelisting in this context. I'll need to review those concepts before deciding on the best policy.
upvoted 0 times
...
Alesia
5 months ago
I've used change sets before, so I'm pretty confident I can handle this. The key is to remember the main components that can be included in a change set.
upvoted 0 times
...
Tamra
5 months ago
This looks like a straightforward policy priority question. I'll need to carefully review the policy priorities to determine which one will be invoked next.
upvoted 0 times
...

Save Cancel