- A
The user running the script lacks write ACL on the table
Why wrong: Lack of ACL would cause an error, not a silent skip.
- B
The GlideRecord query did not include a condition, so it used a default filter that limited results
Without an explicit query, GlideRecord may apply a default filter (e.g., active=true) or system limit.
- C
The field name used in the update was misspelled
Why wrong: A typo would cause a script error, not a partial update.
- D
The script did not call getRowCount() before the loop
Why wrong: getRowCount() is not required for correct iteration.
Quick Answer
The answer is that the GlideRecord query used a default active filter, which limited updates to only active records. This occurs because ServiceNow’s GlideRecord API automatically applies a condition of `active=true` when no explicit query condition is set, a behavior known as the GlideRecord default active filter. As a result, the script only processed a subset of incidents—those marked as active—rather than all records in the table, causing the developer to see partial updates. On the ServiceNow Certified Application Developer CAD exam, this concept tests your understanding of implicit platform defaults versus explicit coding, often appearing as a trick where a developer forgets to add a condition and assumes all records are affected. The common trap is overlooking that GlideRecord is not a simple “get all” command; it inherits the table’s default view filter. Memory tip: think “no condition = active condition” to remember that an empty query defaults to active records only.
SNOW-CAD Working with Data Practice Question
This SNOW-CAD practice question tests your understanding of working with data. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A developer writes a business rule that queries the 'incident' table using GlideRecord. The script loops through all incidents and updates a field. After running, the developer notices that only a subset of records were updated. What is the most likely cause?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"most likely"Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
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
The GlideRecord query did not include a condition, so it used a default filter that limited results
Option B is correct because GlideRecord queries in ServiceNow automatically apply a default filter when no explicit condition is set, typically limiting results to records where the `active` field is `true`. This default behavior, known as the 'active filter,' causes the script to only process a subset of incidents (those that are active) rather than all records in the table, explaining why only some were updated.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The user running the script lacks write ACL on the table
Why it's wrong here
Lack of ACL would cause an error, not a silent skip.
- ✓
The GlideRecord query did not include a condition, so it used a default filter that limited results
Why this is correct
Without an explicit query, GlideRecord may apply a default filter (e.g., active=true) or system limit.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
The field name used in the update was misspelled
Why it's wrong here
A typo would cause a script error, not a partial update.
- ✗
The script did not call getRowCount() before the loop
Why it's wrong here
getRowCount() is not required for correct iteration.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates assume GlideRecord returns all records by default, but ServiceNow's platform applies an implicit active filter, causing partial results unless explicitly overridden.
Detailed technical explanation
How to think about this question
Under the hood, GlideRecord's default query behavior applies an implicit `active=true` condition when no `addQuery()` is called, which is a ServiceNow-specific optimization to prevent accidental processing of inactive records. This can be overridden by explicitly calling `addQuery('active', '!=', 'true')` or using `setWorkflow(false)` in some contexts. In real-world scenarios, developers often miss this default filter when writing scripts for tables like `incident` or `task`, leading to unexpected partial updates that are hard to debug without checking the query conditions.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A security administrator must allow nursing staff to reach a patient records server while blocking access from the guest Wi-Fi VLAN. After applying an extended ACL, traffic is still blocked from nursing workstations. The ACL was applied outbound instead of inbound on the wrong interface. Questions like this test ACL direction and placement rules.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Working with Data — study guide chapter
Learn the concepts, then practise the questions
- →
Working with Data practice questions
Targeted practice on this topic area only
- →
All SNOW-CAD questions
500 questions across all exam domains
- →
ServiceNow Certified Application Developer CAD study guide
Full concept coverage aligned to exam objectives
- →
SNOW-CAD practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related SNOW-CAD practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Working with Data practice questions
Practise SNOW-CAD questions linked to Working with Data.
Platform Features and Integration practice questions
Practise SNOW-CAD questions linked to Platform Features and Integration.
Integrating and managing application data practice questions
Practise SNOW-CAD questions linked to Integrating and managing application data.
Automating application logic with business rules and scripts practice questions
Practise SNOW-CAD questions linked to Automating application logic with business rules and scripts.
Application development using ServiceNow Studio practice questions
Practise SNOW-CAD questions linked to Application development using ServiceNow Studio.
Creating and customizing tables and data practice questions
Practise SNOW-CAD questions linked to Creating and customizing tables and data.
Designing interfaces and user experiences practice questions
Practise SNOW-CAD questions linked to Designing interfaces and user experiences.
Core Application Development practice questions
Practise SNOW-CAD questions linked to Core Application Development.
User Interface Development practice questions
Practise SNOW-CAD questions linked to User Interface Development.
SNOW-CAD fundamentals practice questions
Practise SNOW-CAD questions linked to SNOW-CAD fundamentals.
SNOW-CAD scenario practice questions
Practise SNOW-CAD questions linked to SNOW-CAD scenario.
SNOW-CAD troubleshooting practice questions
Practise SNOW-CAD questions linked to SNOW-CAD troubleshooting.
Practice this exam
Start a free SNOW-CAD practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this SNOW-CAD question test?
Working with Data — This question tests Working with Data — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The GlideRecord query did not include a condition, so it used a default filter that limited results — Option B is correct because GlideRecord queries in ServiceNow automatically apply a default filter when no explicit condition is set, typically limiting results to records where the `active` field is `true`. This default behavior, known as the 'active filter,' causes the script to only process a subset of incidents (those that are active) rather than all records in the table, explaining why only some were updated.
What should I do if I get this SNOW-CAD question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.