ADM-201 practice question 22 of 30

The VP of sales at Universal Containers wants to prevent members of the sales team from changing an opportunity to a date in the past. What should an administrator configure to meet this requirement?

Full set: 246 questions

Domain Configuration and Setup

Answer options
A: Assignment Rule
B: Validation Rule Correct answer
C: Field-Level Security
D: Approval Process
Correct Answer:
B. Validation Rule
Explanation

A validation rule is the appropriate tool for enforcing data integrity standards before a record is saved. To meet this requirement, an administrator can create a validation rule on the Opportunity object. The rule's formula would evaluate if the date field is being set to a value earlier than the current date (e.g., CloseDate < TODAY()). If this condition is met, the validation rule triggers an error message, preventing the user from saving the record with the invalid past date. This directly enforces the business policy required by the VP of sales.

Why Incorrect

A. Assignment Rule: Assignment rules are used to automatically assign ownership of new leads or cases to specific users or queues, not to validate data entry.
C. Field-Level Security: This controls a user's access to view or edit a field entirely, but it cannot conditionally prevent specific data values from being entered.
D. Approval Process: An approval process routes a saved record to designated users for approval; it does not prevent the initial saving of a record with invalid data.

References

1. Salesforce Help Documentation, "Validation Rules": "Validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record... For example, you can ensure that all phone number fields contain a specific format or that discounts never exceed a certain percentage." This document establishes the primary function of validation rules for data integrity.

2. Salesforce Help Documentation, "Examples of Validation Rules": Under the "Opportunity Management" section, there are examples directly analogous to the question. For instance, the example "Ensure that users can't change the close date of an opportunity to a day in the past" uses the formula CloseDate < TODAY(). This provides a direct, official example for the scenario.

3. Trailhead, "Formulas and Validations" Module, "Create Validation Rules" Unit: "Validation rules are the guardians of data quality... A validation rule can contain a formula or expression that evaluates the data in one or more fields and returns a value of 'True' or 'False'. When the validation rule returns a value of 'True', it confirms that the data the user entered is invalid," which confirms its purpose is to block invalid data entry.

Scroll to Top