Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← User Interface Development practice sets

SNOW-CAD User Interface Development • Complete Question Bank

SNOW-CAD User Interface Development — All Questions With Answers

Complete SNOW-CAD User Interface Development question bank — all 0 questions with answers and detailed explanations.

42
Questions
Free
No signup
Certifications/SNOW-CAD/Practice Test/User Interface Development/All Questions
Question 1mediummultiple choice
Read the full User Interface Development explanation →

A developer is asked to add a custom button to the Service Portal form for the 'incident' table. The button should trigger a client script that displays a confirmation dialog before submitting the form. Which approach should the developer use?

Question 2hardmultiple choice
Read the full User Interface Development explanation →

A Service Portal widget is failing to update a reference field on a form after a user selects a value from a reference picker. The developer reviews the widget's client controller and sees the following code snippet: $scope.c.data.selectedItem = value; The server script expects 'selectedItem' to be a sys_id string, but it is receiving an object. What is the most likely cause?

Question 3easymultiple choice
Read the full User Interface Development explanation →

When configuring a Service Portal page, a developer wants to ensure that a specific widget appears only to users with the 'itil' role. Which approach should be used?

Question 4mediummultiple choice
Read the full User Interface Development explanation →

A developer is designing a custom form in the standard UI (UI16) and needs to add a message that displays only when the 'state' field is 'Closed'. Which feature should be used to achieve this without custom scripting?

Question 5hardmultiple choice
Read the full User Interface Development explanation →

A Service Portal widget is not updating data on the page after the user clicks a button that calls a server-side function. The client controller uses $scope.server.get() to call the server. The server script updates a global variable in glideRecord and returns it. However, the widget view does not reflect the change. What is the most likely issue?

Question 6mediummulti select
Read the full User Interface Development explanation →

Which TWO of the following are valid ways to customize the Service Portal login page?

Question 7hardmulti select
Read the full User Interface Development explanation →

Which THREE of the following are correct statements about Service Portal client controllers?

Question 8hardmultiple choice
Read the full User Interface Development explanation →

A developer runs this widget server script and expects data.count to be the number of active incidents. However, the widget displays 'undefined' for data.count. What is the most likely cause?

Exhibit

Refer to the exhibit.

Server script in a Service Portal widget:
(function() {
    var gr = new GlideRecord('incident');
    gr.addQuery('active', true);
    gr.query();
    var count = 0;
    while (gr.next()) {
        count++;
    }
    data.count = count;
})();
Question 9easymultiple choice
Read the full User Interface Development explanation →

This client script is attached to the 'category' field on the incident form. When the user changes the category to 'Network', what happens to the short_description field?

Exhibit

Refer to the exhibit.

Client script on a form:
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
    if (isLoading || newValue == '') {
        return;
    }
    g_form.setValue('short_description', 'Category changed to ' + newValue);
}
Question 10mediummultiple choice
Read the full User Interface Development explanation →

A company has a Service Portal that includes a custom widget for submitting hardware requests. The widget has a client controller that calls a server script to create a new record in the 'hardware_request' table. Recently, users have reported that when they click the 'Submit' button, the widget sometimes does not show a success message, and the record is not created. The developer reviews the server script, which uses gs.log to log errors, and sees no errors in the logs. The client controller uses $scope.server.get() to call the server. The widget template uses ng-show='data.success' to display a success message. Based on this scenario, what is the most likely cause of the intermittent issue?

Question 11easymultiple choice
Read the full User Interface Development explanation →

A company wants to hide a field on a catalog item form when a specific variable is selected. What is the most appropriate way to achieve this?

Question 12mediummultiple choice
Read the full User Interface Development explanation →

A service portal widget is supposed to load data from a table and display it in a list. The widget renders but shows no data. Which is the most likely cause?

Question 13hardmultiple choice
Read the full User Interface Development explanation →

A form has a UI Policy that conditionally makes a field mandatory. The UI Policy works on the server side but the mandatory validation is not enforced on the client side before submission. What is the most likely reason?

Question 14easymultiple choice
Read the full User Interface Development explanation →

A developer needs to add a custom button to the incident form that executes a script when clicked. Which mechanism should be used?

Question 15mediummultiple choice
Read the full User Interface Development explanation →

A reference field on a form shows a list of records, but the user cannot see any results when typing. The reference qualifier is set to 'active=true'. What is the most likely cause?

Question 16hardmultiple choice
Read the full User Interface Development explanation →

A Service Portal widget uses AngularJS. The developer needs to share data between the client script and the HTML template. What is the correct approach?

Question 17easymultiple choice
Read the full User Interface Development explanation →

Which record type should be used to customize the look and feel of the UI16 interface?

Question 18mediummultiple choice
Read the full User Interface Development explanation →

A business rule updates a field on the incident table after submission. However, the updated value is not displayed on the form when the record is opened again. What is the most likely cause?

Question 19hardmultiple choice
Read the full User Interface Development explanation →

A UI Macro that displays a custom header is not appearing on the form. The macro is referenced in a UI16 theme. What is the first troubleshooting step?

Question 20easymultiple choice
Read the full User Interface Development explanation →

The client script above runs on a text field's onChange event. When the user changes the field, the 'short_description' field is not updated. What is the most likely reason?

Exhibit

Refer to the exhibit.
```javascript
// Client Script (onChange)
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
   if (isLoading) return;
   g_form.setValue('short_description', 'Updated');
}
```
Question 21mediummultiple choice
Read the full User Interface Development explanation →

A developer sees the above error in the browser console when an incident form loads. What is the most likely cause?

Exhibit

Refer to the exhibit.
```
Error: GlideRecord is not defined
Stack: onLoad() at client_script.js:1
```
Question 22hardmultiple choice
Read the full User Interface Development explanation →

A UI Policy with the above condition script never evaluates to true. What is the issue?

Exhibit

Refer to the exhibit.
```javascript
// UI Policy Condition Script
function onCondition() {
   return gs.getProperty('my.property') == 'true';
}
```
Question 23easymulti select
Read the full User Interface Development explanation →

Which TWO of the following are valid ways to create a UI Action?

Question 24mediummulti select
Read the full User Interface Development explanation →

Which TWO client-side APIs are available in a Service Portal widget to interact with form fields?

Question 25hardmulti select
Read the full User Interface Development explanation →

Which THREE factors can negatively impact the performance of a ServiceNow form?

Question 26mediummultiple choice
Read the full User Interface Development explanation →

A ServiceNow developer has created a custom UI page using the 'UI Page' module. The page is accessible via a direct URL, but when the user navigates to it, the page appears blank with no errors in the browser console. What is the most likely cause?

Question 27easymultiple choice
Read the full User Interface Development explanation →

Which of the following is the best practice for referencing a field value in a client script on a ServiceNow form?

Question 28hardmultiple choice
Read the full User Interface Development explanation →

A Service Portal widget is not rendering on the page, and the browser console shows: 'Uncaught ReferenceError: sp is not defined'. The widget's client script uses 'sp.get()'. What is the cause?

Question 29mediummultiple choice
Read the full User Interface Development explanation →

A developer wants to customize the appearance of a Service Portal theme. Which approach is recommended to ensure maintainability and scalability?

Question 30hardmultiple choice
Read the full User Interface Development explanation →

A UI Macro on a form is causing slow load times. The macro uses multiple GlideRecord queries in its server-side script. The developer wants to optimize performance without altering functionality. Which action is most effective?

Question 31easymultiple choice
Read the full User Interface Development explanation →

A UI Policy is used to make a field mandatory when another field has a specific value. The policy is not triggering. What is the first step to troubleshoot?

Question 32mediummultiple choice
Read the full User Interface Development explanation →

A developer is customizing a form layout for the 'incident' table. They want to group related fields into titled sections for better usability. Which approach should they use?

Question 33mediummulti select
Read the full User Interface Development explanation →

A developer needs to create a custom UI page in ServiceNow. Which TWO methods can be used to achieve this? (Choose two.)

Question 34hardmulti select
Read the full User Interface Development explanation →

Which THREE factors contribute to poor UI performance in ServiceNow forms and portals? (Choose three.)

Question 35easymulti select
Read the full User Interface Development explanation →

Which TWO of the following are valid types of client scripts in ServiceNow? (Choose two.)

Question 36hardmultiple choice
Read the full User Interface Development explanation →

The above Jelly script is used to generate a UI Page. When rendered, the 'cmdb_ci' field does not appear. What is the most likely cause?

Network Topology
<g:ui_element> <!incorrect nesting>Refer to the exhibit.```xml<?xml version="1.0" encoding="utf-8"?><g:ui_form><g:ui_element><g:ui_field name="short_description" mandatory="true"/></g:ui_element><g:ui_field name="category" /><g:ui_field name="subcategory" /><g:ui_field name="cmdb_ci" /></g:ui_form></j:jelly>```
Question 37hardmultiple choice
Read the full User Interface Development explanation →

A large enterprise uses ServiceNow for IT Service Management. They have a custom Service Portal for end-users to submit catalog requests. Recently, mobile users reported that the portal is extremely slow on their devices, while desktop users experience no issues. The portal theme uses many custom CSS animations and high-resolution images. Additionally, the widget client scripts are complex and make multiple GlideAjax calls on page load. The development team wants to optimize mobile performance without redesigning the entire portal. Evaluate the options and select the best course of action.

Question 38mediummultiple choice
Read the full User Interface Development explanation →

A developer created a custom form section for the 'change_request' table that contains a reference field to 'cmdb_ci'. The section is visible in the form layout for all change request types. However, when the 'type' field is set to 'Emergency', the section should not be visible. The developer added a UI Policy to hide the entire section when type is 'Emergency'. But the section remains visible. After checking, the UI Policy is active and the condition is set correctly. What is the most likely reason the UI Policy is not working, and what is the best fix?

Question 39easymultiple choice
Read the full User Interface Development explanation →

A Service Portal widget displays a list of open incidents. The data is updated via a GlideAjax call in the client controller. Users report that the list does not refresh automatically when a new incident is created. The developer wants to implement auto-refresh without manual page reload. The widget is used on a dashboard that does not require real-time updates every second. Which approach is most efficient?

Question 40easymulti select
Read the full User Interface Development explanation →

A developer needs to display a warning message to the user when the 'priority' field is changed to '1 - Critical'. Which TWO client-side implementations can achieve this?

Question 41hardmultiple choice
Read the full User Interface Development explanation →

Refer to the exhibit. A developer wrote this client script to hide a field when another field changes to '1'. However, the script throws a JavaScript error. What is the most likely cause?

Exhibit

function onChange(control, oldValue, newValue, isLoading, isTemplate) {\n    if (isLoading) return;\n    if (newValue == '1') {\n        g_form.hideField('field2');\n    }\n}
Question 42mediummultiple choice
Read the full User Interface Development explanation →

A ServiceNow developer is tasked with improving the performance of a custom incident form in the classic UI. The form includes a 'category' field that, when changed, triggers an onChange client script. This script uses a GlideRecord query to fetch related data from a large 'cmdb_ci' table (over 100,000 records) and populates a dependent field called 'subcategory' with relevant options. Users report that after selecting a category, the form freezes for 10-15 seconds before the subcategory field updates. The developer needs to maintain real-time updates based on the category selection. What is the best approach to resolve this performance issue while keeping the functionality?

Practice tests

Scored 10-question sessions with instant feedback and explanations.

SNOW-CAD Practice Test 1 — 10 Questions→SNOW-CAD Practice Test 2 — 10 Questions→SNOW-CAD Practice Test 3 — 10 Questions→SNOW-CAD Practice Test 4 — 10 Questions→SNOW-CAD Practice Test 5 — 10 Questions→SNOW-CAD Practice Exam 1 — 20 Questions→SNOW-CAD Practice Exam 2 — 20 Questions→SNOW-CAD Practice Exam 3 — 20 Questions→SNOW-CAD Practice Exam 4 — 20 Questions→Free SNOW-CAD Practice Test 1 — 30 Questions→Free SNOW-CAD Practice Test 2 — 30 Questions→Free SNOW-CAD Practice Test 3 — 30 Questions→SNOW-CAD Practice Questions 1 — 50 Questions→SNOW-CAD Practice Questions 2 — 50 Questions→SNOW-CAD Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Working with DataPlatform Features and IntegrationIntegrating and managing application dataAutomating application logic with business rules and scriptsApplication development using ServiceNow StudioCreating and customizing tables and dataDesigning interfaces and user experiencesCore Application DevelopmentUser Interface Development

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All User Interface Development setsAll User Interface Development questionsSNOW-CAD Practice Hub