nerdexam
SalesforceSalesforce

PDI · Question #233

PDI Question #233: Real Exam Question with Answer & Explanation

Sign in or unlock PDI to reveal the answer and full explanation for question #233. The question stem and answer options stay visible for context.

Submitted by olafpl· Apr 18, 2026Logic and Process Automation

Question

A developer identifies the following triggers on the Expense __c object: 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

Options

  • ACreate helper classes to execute the appropriate logic when a record is saved.
  • BUnify the before insert and before update triggers and use Flow for the delete action.
  • CUnify all three triggers in a single trigger on the Expense__c object that includes all events.
  • DMaintain all three triggers on the Expense__c object, but move the Apex logic out of the trigger

Unlock PDI to see the answer

You've previewed enough free PDI questions. Unlock PDI 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.

Topics

#Apex Triggers#Trigger Best Practices#Handler Classes#Code Refactoring
Full PDI PracticeBrowse All PDI Questions