Question 10 of 510
Application Rules, ACL and NotificationsmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is that the business rule is running on 'before query' instead of 'before insert'. This is the most likely cause because a before query business rule executes every time a record is retrieved from the database, modifying the query itself rather than a single record. When the rule sets 'u_department' to 'Engineering' during a query, it forces all returned records to match that condition, effectively filtering the result set instead of setting a default value for new records. On the ServiceNow CSA exam, this scenario tests your understanding of business rule operations and the critical difference between query-time and insert-time execution. A common trap is confusing 'before query'—which alters the query object—with 'before insert', which runs only when a new record is saved. Remember the memory tip: "Query filters the set, Insert sets the default."

SNOW-CSA Application Rules, ACL and Notifications Practice Question

This SNOW-CSA practice question tests your understanding of application rules, acl and notifications. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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 company has a custom table 'u_employee_data' with a before query business rule that sets 'u_department' to 'Engineering' when the current user is in the 'ITIL' role. After the business rule is activated, users in the 'ITIL' role report that when they query the table, they see only records with department 'Engineering'. However, the business rule is intended to set the default department for new records only. 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.

Question 1mediummultiple choice
Full question →

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 business rule is running on 'before query' instead of 'before insert'.

The business rule is configured to run on the 'before query' operation, which means it executes every time a query is made against the 'u_employee_data' table. This causes the condition to set the 'u_department' field to 'Engineering' for all records returned by the query, effectively filtering the result set to only those with that department. The intended behavior is to set the default department only when a new record is created, which requires the business rule to run on the 'before insert' operation instead.

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 business rule should be set to 'async' to avoid affecting queries.

    Why it's wrong here

    Async would not change the behavior; the rule would still apply to queries.

  • The business rule is set to run on the client side instead of server side.

    Why it's wrong here

    Business rules run server-side by default.

  • The business rule is running on 'before query' instead of 'before insert'.

    Why this is correct

    Before query modifies the query for all retrievals, not just new records.

    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 condition script uses 'gs.getUser().hasRole("ITIL")' incorrectly.

    Why it's wrong here

    This is a standard way to check role, so it's likely correct.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may confuse 'before query' with 'before insert' because both involve setting field values, but 'before query' affects all retrieved records while 'before insert' only affects new record creation.

Detailed technical explanation

How to think about this question

In ServiceNow, business rules are server-side scripts that execute on specific database events: 'before query', 'before insert', 'before update', 'before delete', and their 'after' counterparts. The 'before query' event fires before a database query is executed, allowing modification of the query conditions (e.g., adding filters via 'current.addQuery()'), which is why users see only Engineering records. A 'before insert' event runs only when a new record is being created, making it the correct choice for setting default values. This distinction is critical for avoiding unintended data filtering or manipulation.

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 practitioner preparing for the SNOW-CSA exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

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.

Related practice questions

Related SNOW-CSA practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SNOW-CSA 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-CSA question test?

Application Rules, ACL and Notifications — This question tests Application Rules, ACL and Notifications — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The business rule is running on 'before query' instead of 'before insert'. — The business rule is configured to run on the 'before query' operation, which means it executes every time a query is made against the 'u_employee_data' table. This causes the condition to set the 'u_department' field to 'Engineering' for all records returned by the query, effectively filtering the result set to only those with that department. The intended behavior is to set the default department only when a new record is created, which requires the business rule to run on the 'before insert' operation instead.

What should I do if I get this SNOW-CSA 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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

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.