SNOW-CAD Designing interfaces and user experiences Practice Question
A developer writes a widget client controller that uses spUtil.get to fetch data from the server. The data is correctly returned, but the widget does not update the UI. What is the most likely cause?
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
✓
The callback does not assign the result to a $scope variable
spUtil.get returns a promise, and the success callback should assign to $scope to trigger digest cycle. If the callback does not update a $scope property, the view will not update.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The widget's HTML template does not reference the correct variable name
Why it's wrong here
Incorrect: The data is there but not bound to $scope.
- ✓
The callback does not assign the result to a $scope variable
Why this is correct
Correct: Without updating $scope, AngularJS does not know to re-render.
- ✗
The server script did not set data correctly
Why it's wrong here
Incorrect: The data is correctly returned, so server script is fine.
- ✗
The spUtil.get method is deprecated
Why it's wrong here
Incorrect: spUtil.get is still valid.
Go deeper
Related to this question
About these practice questions
This SNOW-CAD question is part of Courseiva's 481-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
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.