Courseiva
Core Application DevelopmentmediumMultiple ChoiceObjective-mapped

SNOW-CAD Core Application Development Practice Question

Exhibit

Refer to the exhibit.

Exhibit (UI Policy condition script on incident table):
```javascript
(function executeCondition() {
    if (g_user.hasRole('admin') && g_user.isInteractive()) {
        return true;
    }
    return false;
})();
```

The UI Policy has a 'Reverse if false' checkbox unchecked. When will the UI Policy's actions (such as setting a field mandatory) be applied?

⚠ Common exam trap

The trap is that candidates may think UI Policies run for all access methods (including web services) or that they only apply to admin users. The key is remembering that UI Policies are client-side and run only on interactive form loads.

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

When any user accesses a record interactively.

A UI Policy with the 'Reverse if false' checkbox unchecked means that its actions (such as making a field mandatory) are applied only when the UI Policy's condition evaluates to true. UI Policies run on interactive form loads (i.e., when a user accesses a record via the browser). Therefore, when any user interacts with the record and the condition is true, the actions are applied. Options B and C are incorrect because UI Policies do not run for web services or background operations. Option D is incorrect because it unnecessarily restricts the policy to admin users; UI Policies apply to all users based on conditions, not roles.

Answer analysis

Option-by-option breakdown

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

  • When any user accesses a record interactively.

    Why this is correct

    Correct. The UI Policy actions apply when the condition is true on interactive form loads for any user.

  • When any user accesses a record via any method.

    Why it's wrong here

    Incorrect. UI Policies do not run when records are accessed via web services or background operations; they only run on interactive form loads.

  • When a user with the 'admin' role accesses a record via web services.

    Why it's wrong here

    Incorrect. UI Policies do not run for web services, and the condition is not limited to admin users.

  • When a user with the 'admin' role accesses a record interactively (e.g., via the browser).

    Why it's wrong here

    Incorrect. The 'Reverse if false' being unchecked does not require admin role; the policy actions apply for all users when conditions are true on interactive access.

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.