SNOW-CAD Practice Question: Automating application logic with business rules and scripts
A developer wants to use a script include to reuse logic across multiple business rules. Which two considerations should be made? (Choose two.)
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
✓
Script includes should not have side effects on current record.
Options B and D are correct. B: Script includes should not have side effects on current record to maintain reusability. D: Script includes can be scoped and still accessible from business rules in the same scope. A is incorrect because script includes can call other script includes. C is incorrect because script includes do not need to be global; they can be scoped. E is incorrect because they are not auto-evaluated.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Script includes cannot call other script includes.
Why it's wrong here
Incorrect because script includes can call other script includes.
- ✓
Script includes should not have side effects on current record.
Why this is correct
Correct because script includes should not have side effects on current record to maintain reusability.
- ✗
Script includes must be global to be accessible from all scopes.
Why it's wrong here
Incorrect because script includes do not need to be global; they can be scoped.
- ✓
Script includes can be scoped and still accessible from business rules in the same scope.
Why this is correct
Correct because script includes can be scoped and still accessible from business rules in the same scope.
- ✗
Script includes are automatically evaluated at server start.
Why it's wrong here
Incorrect because script includes are not automatically evaluated at server start.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SNOW-CAD question from scratch — 481 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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-CAD 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-CAD exam.