Courseiva
Working with DataeasyMultiple SelectObjective-mapped

SNOW-CAD Working with Data Practice Question

Which TWO methods are commonly used to prevent performance issues when using GlideRecord in a client script?

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 GlideAjax to call a script include for server-side processing.

Options D and E are correct. Using GlideAjax to call a script include moves processing to the server, avoiding synchronous blocking and performance hits in the client. Using setLimit() reduces the number of records retrieved, minimizing data transfer and processing. Option A is incorrect because GlideRecord is not directly available in client scripts and attempting to use it can cause performance issues. Option B is incorrect because synchronous GlideRecord queries block the UI, degrading user experience. Option C is incorrect because business rules run server-side and do not address client-side performance; GlideAjax is the appropriate client-server communication method.

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 GlideRecord directly in client scripts.

    Why it's wrong here

    Wrong: GlideRecord is not available in client scripts.

  • Use synchronous GlideRecord queries for immediate results.

    Why it's wrong here

    Wrong: Synchronous calls can freeze the UI.

  • Use a business rule instead to perform the query.

    Why it's wrong here

    Wrong: Business rules are server-side, not client.

  • Use GlideAjax to call a script include for server-side processing.

    Why this is correct

    Correct: Client scripts should avoid direct GlideRecord calls.

  • Limit the number of records retrieved using setLimit().

    Why this is correct

    Correct: Limiting results reduces data transfer.

About these practice questions

One of 481 original SNOW-CAD practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.