nerdexam
SalesforceSalesforce

PDI · Question #126

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

The correct answer is A: Account custom trigger. To update a custom field on an Account based on changes to another field and data from a custom object, an Apex Account custom trigger is the appropriate solution.

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

Question

When a user edits the Postal Code on an Account, a custom Account text field named ''Timezone'' must be updated based on the values in a postalCodeToTimezone_c custom object. What should be built to implement this feature?

Options

  • AAccount custom trigger
  • BAccount approval process
  • CAccount assignment rule
  • DAccount workflow rule

Explanation

To update a custom field on an Account based on changes to another field and data from a custom object, an Apex Account custom trigger is the appropriate solution.

Common mistakes.

  • B. An Account approval process is used for managing records that require approval before they can be saved or moved to the next stage, not for dynamically updating field values based on complex lookups.
  • C. Account assignment rules are used to automatically assign records (like Leads or Cases) to users or queues based on specific criteria, not for updating fields on existing records.
  • D. Account workflow rules can update fields, but they are limited to simple field updates or formula-based calculations and cannot perform complex lookups to a related custom object to determine the value.

Concept tested. Apex triggers for complex data manipulation

Reference. https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_intro.htm

Topics

#Apex Triggers#Field Updates#Cross-Object Lookups#Process Automation

Community Discussion

No community discussion yet for this question.

Full PDI PracticeBrowse All PDI Questions