Salesforce Certified Data Architect — Question 41
Universal Containers requires all customers to provide either a phone number or an email address when registering for an account.
What should the data architect use to ensure this requirement is met?
Answer options
- A. Validation Rule
- B. Apex Class
- C. Process Builder
- D. Required Fields
Correct answer: A
Explanation
The correct answer is A, Validation Rule, as it allows for specific criteria to be enforced on a record, ensuring at least one of the two fields (phone number or email address) is filled. Options B, C, and D do not provide the same level of validation for conditional requirements; an Apex Class may require more complex coding, Process Builder is used for automation and does not enforce field requirements, and Required Fields do not allow for conditional logic.