nerdexam
Salesforce

PDII · Question #221

An org has a requirement that addresses on Contacts and Accounts should be normalized to a company standard by Apex code any time that they are saved. What is the optimal way to implement this?

The correct answer is D. Apex triggers on Contact and Account that call a helper class to normalize the address. See the full explanation below for the reasoning.

Question

An org has a requirement that addresses on Contacts and Accounts should be normalized to a company standard by Apex code any time that they are saved. What is the optimal way to implement this?

Options

  • AApex trigger on Contact that calls the Account trigger to normalize the address
  • BApex triggers on Contact and Account that normalize the address
  • CApex trigger on Account that calls the Contact trigger to normalize the address
  • DApex triggers on Contact and Account that call a helper class to normalize the address

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    8% (2)
  • C
    13% (3)
  • D
    75% (18)

Community Discussion

No community discussion yet for this question.

Full PDII Practice