Courseiva

SNOW-CAD Practice Question: Automating application logic with business rules and scripts

Which THREE factors should be considered when designing a Business Rule for optimal performance? (Select THREE)

⚠ Common exam trap

Candidates often confuse client-side performance concerns (like synchronous GlideAjax) with server-side Business Rule optimization, or assume that running a rule 'before' always improves performance without considering the specific logic and context.

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

Limit the use of gs.log() statements in production.

Excessive gs.log() statements in production can degrade performance by writing to the system log, which consumes I/O resources and can fill up the database. In ServiceNow, logging should be minimized or removed in production scripts to avoid unnecessary overhead, especially in high-volume Business Rules.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Avoid using synchronous GlideAjax calls.

    Why it's wrong here

    GlideAjax is client-side, not in Business Rules.

  • Limit the use of gs.log() statements in production.

    Why this is correct

    Logging can impact performance.

  • Use GlideAggregate instead of GlideRecord for calculations.

    Why this is correct

    More efficient for aggregate functions.

  • Use 'current' and 'previous' instead of querying the database.

    Why this is correct

    Reduces database calls.

  • Set the Business Rule to run on 'before' if possible.

    Why it's wrong here

    Not a performance consideration.

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.