SNOW-CAD · topic practice

User Interface Development practice questions

Practise ServiceNow Certified Application Developer CAD User Interface Development practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Reviewed byJohnson Ajibi· MSc IT Security
20 questionsDomain: User Interface Development

What the exam tests

What to know about User Interface Development

User Interface Development questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Watch out for

Common User Interface Development exam traps

  • Answering from memory before reading the full scenario.
  • Missing a constraint such as cost, availability, security, scope or command context.
  • Choosing a broad answer when the question asks for the most specific fix.
  • Ignoring why the wrong options are tempting.

Practice set

User Interface Development questions

20 questions · select your answer, then reveal the 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?

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?

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?

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?

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?

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

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

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;
})();

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);
}

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?

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?

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?

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?

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

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?

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?

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

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?

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?

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');
}
```

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused User Interface Development sessions

Start a User Interface Development only practice session

Every question in these sessions is drawn from the User Interface Development domain — nothing else.

Related practice questions

Related SNOW-CAD topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the SNOW-CAD exam test about User Interface Development?
User Interface Development questions test whether you can apply the concept in context, not just recognise a definition.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just User Interface Development questions in a focused session?
Yes — the session launcher on this page draws every question from the User Interface Development domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other SNOW-CAD topics?
Use the topic links above to move to related areas, or go back to the SNOW-CAD question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the SNOW-CAD exam covers. They are not copied from any real exam or dump site.