Salesforce Certified Platform App Builder — Question 196
The VP of Account Management at Universal Containers has requested that all Contacts' mailing postal codes match the associated account's shipping postal code.
How can this be enforced using validation rules?
Answer options
- A. Create a validation rule using a Not Equal operator.
- B. Create a validation rule using a Compare operator.
- C. Create a validation rule using the DISTANCE() function.
- D. Create a validation rule using the GEOLOCATION() function.
Correct answer: A
Explanation
The correct answer is A because using a Not Equal operator will allow you to check if the mailing postal code does not match the associated account's shipping postal code, thus enforcing the requirement. The other options do not directly validate the equality of the two postal codes in the manner required.