Question 136 of 500
User Interface DevelopmenteasyMultiple ChoiceObjective-mapped

Quick Answer

The answer is to use Angular $interval to call the GlideAjax every 30 seconds in the client controller. This approach is correct because it implements a polling mechanism that periodically fetches updated data from the server without triggering a full page reload, balancing data freshness with server load by using a reasonable 30-second interval. On the ServiceNow Certified Application Developer CAD exam, this scenario tests your understanding of efficient client-side data refresh strategies in Service Portal widgets, where the key trap is confusing full page reloads (spNavigation) with lightweight client-side polling. The exam emphasizes that for dashboards without real-time requirements, periodic polling with $interval is the most efficient pattern, avoiding the overhead of WebSocket setups or missing updates during user inactivity. Memory tip: think "Poll, don't reload" — a 30-second $interval keeps data fresh without hammering the server.

SNOW-CAD User Interface Development Practice Question

This SNOW-CAD practice question tests your understanding of user interface development. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

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 1easymultiple choice
Full question →

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 Angular $interval to call the GlideAjax every 30 seconds in the client controller

Option D is correct because a polling interval with a reasonable delay (e.g., 30 seconds) balances freshness and server load. Option A is incorrect because using 'spNavigation' to reload the entire page causes a full page reload, which is inefficient. Option B is incorrect because WebSocket-like channels are not native to Service Portal and require custom setup; plus, real-time is not needed. Option C is incorrect because calling the GlideAjax each time the user interacts with the widget misses updates when the user is not interacting.

Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.

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 Angular $interval to call the GlideAjax every 30 seconds in the client controller

    Why this is correct

    Efficient polling mechanism that updates the data without reloading the page.

    Related concept

    Static NAT maps one inside address to one outside address.

  • Set up a real-time data channel using WebSocket and push updates from server

    Why it's wrong here

    Overly complex for the requirement; not needed for a dashboard with moderate refresh needs.

  • Use the 'spNavigation' API to reload the entire page every 30 seconds

    Why it's wrong here

    Full page reloads are heavy and disrupt user experience.

  • Trigger the GlideAjax call on mouseover and focus events

    Why it's wrong here

    Updates only occur on user interaction, not automatically.

Common exam traps

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Detailed technical explanation

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

Key takeaway

NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.

Real-world example

How this comes up in practice

A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.

What to study next

Got this wrong? Here's your next step.

Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related SNOW-CAD NAT questions on configuration and troubleshooting.

Related practice questions

Related SNOW-CAD practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SNOW-CAD practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SNOW-CAD question test?

User Interface Development — This question tests User Interface Development — Static NAT maps one inside address to one outside address..

What is the correct answer to this question?

The correct answer is: Use Angular $interval to call the GlideAjax every 30 seconds in the client controller — Option D is correct because a polling interval with a reasonable delay (e.g., 30 seconds) balances freshness and server load. Option A is incorrect because using 'spNavigation' to reload the entire page causes a full page reload, which is inefficient. Option B is incorrect because WebSocket-like channels are not native to Service Portal and require custom setup; plus, real-time is not needed. Option C is incorrect because calling the GlideAjax each time the user interacts with the widget misses updates when the user is not interacting.

What should I do if I get this SNOW-CAD question wrong?

Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related SNOW-CAD NAT questions on configuration and troubleshooting.

What is the key concept behind this question?

Static NAT maps one inside address to one outside address.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.