Question 302 of 500
Platform Features and IntegrationmediumMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is to use the sysparm_query parameter with an encoded query. This is the standard method for filtering REST API results in ServiceNow because the sysparm_query parameter accepts a URL-encoded query string that directly mirrors the conditions you would build in a list view or a GlideRecord query. By passing a condition like assigned_to=javascript:gs.getUserID() or the caller’s sys_id, you dynamically restrict the incident records to only those assigned to the current user, ensuring the API returns exactly the data needed without server-side scripting. On the ServiceNow Certified Application Developer CAD exam, this concept tests your understanding of REST API best practices and the difference between client-side filtering and server-side query parameters—a common trap is trying to filter results after retrieval instead of using sysparm_query to reduce payload and improve performance. Remember the memory tip: “Query before you fetch, or your performance will stretch.”

SNOW-CAD Platform Features and Integration Practice Question

This SNOW-CAD practice question tests your understanding of platform features and integration. 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 is building a REST API endpoint in ServiceNow to return data from the 'incident' table. The API should only return incidents assigned to the caller. Which method should be used to filter the records based on the caller's user ID?

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

Use the 'sysparm_query' parameter with an encoded query.

Option B is correct because the 'sysparm_query' parameter allows you to pass an encoded query string to filter records in a REST API endpoint. By specifying a query like 'assigned_to=javascript:gs.getUserID()' or using the caller's sys_id directly, you can restrict the incident records returned to only those assigned to the caller. This is the standard method for applying dynamic filters in ServiceNow REST API calls.

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.

  • Use the 'sysparm_display_value' parameter.

    Why it's wrong here

    sysparm_display_value controls display value, not filtering.

  • Use the 'sysparm_query' parameter with an encoded query.

    Why this is correct

    sysparm_query allows filtering using encoded queries.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use the 'sysparm_limit' parameter to limit results.

    Why it's wrong here

    sysparm_limit limits the number of records, not filters.

  • Use the 'sysparm_fields' parameter to specify fields.

    Why it's wrong here

    sysparm_fields selects fields to return, not filters.

Common exam traps

Common exam trap: answer the scenario, not the keyword

ServiceNow often tests the distinction between parameters that filter records (sysparm_query) versus those that control output format or field selection, leading candidates to confuse display or field parameters with filtering capabilities.

Detailed technical explanation

How to think about this question

The 'sysparm_query' parameter accepts an encoded query string that can include conditions on any field, such as 'assigned_to=<caller_sys_id>'. Under the hood, ServiceNow parses this query into a GlideRecord query, enabling server-side filtering before data is returned. This is critical for security and performance, as it prevents exposing records the caller should not see and reduces payload size.

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-CAD 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-CAD 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-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?

Platform Features and Integration — This question tests Platform Features and Integration — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use the 'sysparm_query' parameter with an encoded query. — Option B is correct because the 'sysparm_query' parameter allows you to pass an encoded query string to filter records in a REST API endpoint. By specifying a query like 'assigned_to=javascript:gs.getUserID()' or using the caller's sys_id directly, you can restrict the incident records returned to only those assigned to the caller. This is the standard method for applying dynamic filters in ServiceNow REST API calls.

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.

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 30, 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-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.