nerdexam
Salesforce

ADM-201 · Question #394

DreamHouse Realty requires that house showings be scheduled within the current year to prevent too many future showings from stacking up. How can they make sure Showing Date is only populated with a…

The correct answer is D. Create a validation rule that ensures Showing Date contains a date within the current year. A validation rule in Salesforce is the correct tool to enforce data integrity at the point of entry. You can use a formula like YEAR(Showing_Date__c) <> YEAR(TODAY()) to block any save attempt where the date falls outside the current year. Option A (syncing a calendar) does not…

Submitted by haruto_sh· Apr 18, 2026Object Manager and Lightning App Builder

Question

DreamHouse Realty requires that house showings be scheduled within the current year to prevent too many future showings from stacking up. How can they make sure Showing Date is only populated with a date this years?

Options

  • ASync the users' Showing Calendar to Salesforce and filter it to only look at this year.
  • BCreate a report that shows any Showing Dates not scheduled in the current year to the updated.
  • CAdd Help Text so the user knows to only add a Showing Date within the current year.
  • DCreate a validation rule that ensures Showing Date contains a date within the current year.

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    10% (3)
  • D
    83% (24)

Explanation

A validation rule in Salesforce is the correct tool to enforce data integrity at the point of entry. You can use a formula like YEAR(Showing_Date__c) <> YEAR(TODAY()) to block any save attempt where the date falls outside the current year. Option A (syncing a calendar) does not prevent invalid date entry. Option B (a report) is reactive - it identifies bad data after the fact but does not prevent it. Option C (help text) is purely informational and cannot enforce compliance. Only a validation rule actively prevents the record from being saved with an out-of-range date, making D the only choice that satisfies the business requirement.

Topics

#Validation Rules#Date Functions#Data Integrity#Field Validation

Community Discussion

No community discussion yet for this question.

Full ADM-201 Practice