Salesforce-Platform-Developer Practice Test

Salesforce Spring 25 Release
237 Questions

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?

A. Account custom trigger

B. Account approval process

C. Account assignment rule

D. Account workflow rule

A.   Account custom trigger

Explanation:

Since the requirement is to update the Timezone field dynamically whenever the Postal Code changes, the best solution is an Apex trigger on the Account object.

Why a Custom Trigger?

✅ Executes automatically on field updates → Ensures that Timezone is updated when Postal Code changes.
✅ Allows complex logic → Can query the postalCodeToTimezone__c object to retrieve the corresponding Timezone value.
✅ Efficient and scalable → Can process updates in bulk, preventing excessive automation overhead.

Salesforce-Platform-Developer Exam Questions - Home Previous
Page 36 out of 237 Pages