Salesforce Certified Platform Developer (Plat-Dev-201) PDI Question # 38 Topic 4 Discussion

Salesforce Certified Platform Developer (Plat-Dev-201) PDI Question # 38 Topic 4 Discussion

PDI Exam Topic 4 Question 38 Discussion:
Question #: 38
Topic #: 4

A developer identifies the following triggers on the Expense _c object:

PDI Question 38

The triggers process before delete, before insert, and before update events respectively.

Which two techniques should the developer implement to ensure trigger best practices are followed?

Choose 2 answers


A.

Unity all three triggers In a single trigger on the Expense__c object that Includes all events.


B.

Unify the before insert and before update triggers and use Flow for the delete action.


C.

Create helper classes to execute the appropriate logic when a record is saved.


D.

Maintain all three triggers on the Expense __c object, but move the Apex logic out of the trigger definition.


Get Premium PDI 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.