SNOW-CSA Self-Service and Automation Practice Question
A catalog item uses a variable that should be mandatory only if the user selects a specific option in a previous variable. Which approach is best?
⚠ Common exam trap
Many candidates confuse catalog client scripts with UI policies, thinking that client scripts are needed for conditional mandatory logic, but UI policies are the correct declarative tool for this specific requirement.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use a UI policy
A UI policy is the correct approach because it allows you to make a variable mandatory conditionally based on the value of another variable, without requiring a server round-trip. UI policies run client-side and can show, hide, or set mandatory status on variables dynamically when a specific option is selected in a previous variable.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use a catalog client script with onChange
Why it's wrong here
Client scripts can handle this but are not the best practice; UI policies are preferred for declarative conditions.
- ✗
Use a default value
Why it's wrong here
Default values do not control mandatory behavior.
- ✗
Use a variable set
Why it's wrong here
Variable sets organize variables but do not apply conditional mandatory.
- ✓
Use a UI policy
Why this is correct
UI policies allow declarative conditional mandatory, visible, and read-only settings without scripting.
Go deeper
Related to this question
About these practice questions
This SNOW-CSA question is part of Courseiva's 504-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SNOW-CSA practice question is part of Courseiva's free ServiceNow certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SNOW-CSA exam.