nerdexam
Salesforce

ADM-201 · Question #22

Under which three conditions should a validation rule be used to prevent invalid data? Choose 3 answers

The correct answer is A. When records are submitted using web-to-lead. C. When records are edited and saved by a user. D. When records are imported. Validation rules are utilized to prevent the saving of invalid data during various record creation and update processes within Salesforce.

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

Question

Under which three conditions should a validation rule be used to prevent invalid data? Choose 3 answers

Options

  • AWhen records are submitted using web-to-lead.
  • BWhen records are deleted by a user.
  • CWhen records are edited and saved by a user.
  • DWhen records are imported.
  • EWhen records are updated by a workflow rule

How the community answered

(36 responses)
  • A
    92% (33)
  • B
    6% (2)
  • E
    3% (1)

Why each option

Validation rules are utilized to prevent the saving of invalid data during various record creation and update processes within Salesforce.

AWhen records are submitted using web-to-lead.Correct

Validation rules are active when records are created via Web-to-Lead, ensuring that incoming lead data meets required standards before being saved.

BWhen records are deleted by a user.

Validation rules are designed to prevent the creation or update of invalid data, not to prevent records from being deleted.

CWhen records are edited and saved by a user.Correct

Validation rules trigger when a user manually edits and attempts to save a record, preventing the user from inputting or saving invalid data.

DWhen records are imported.Correct

Validation rules run during data import processes, ensuring that all imported records adhere to the defined data quality standards.

EWhen records are updated by a workflow rule

Workflow rules execute after validation rules in the order of execution, and their automated updates are generally not prevented by validation rules unless specifically re-evaluated by other mechanisms.

Concept tested: Salesforce validation rule execution context

Source: https://help.salesforce.com/s/articleView?id=sf.validation_rules.htm&type=5

Topics

#Validation Rules#Data Entry Control#Record Operations#Data Integrity

Community Discussion

No community discussion yet for this question.

Full ADM-201 Practice