- A
Pass a role check from the server script to the client controller via widget options.
Why wrong: Widget options do not enforce security.
- B
Write an Access Control Rule (ACL) on the widget's table to restrict access.
Why wrong: ACLs control data access, not UI widget visibility.
- C
Set the 'Roles' property on the widget instance within the page designer.
The Roles property restricts widget visibility to specified roles.
- D
Create a UI Policy on the portal table that hides the widget based on user roles.
Why wrong: UI Policies do not apply to Service Portal.
Quick Answer
The answer is to set the 'Roles' property on the widget instance within the page designer. This is correct because the widget instance's Roles property provides a declarative, no-code mechanism for Service Portal widget role-based visibility, directly controlling which user roles can see that specific widget on a given page without needing custom ACLs or client-side scripting. On the ServiceNow Certified Application Developer CAD exam, this concept tests your understanding of portal-level security versus record-level security, often appearing as a distractor where developers mistakenly try to apply ACLs to a widget or use a user condition script. A common trap is thinking you need to modify the widget's definition itself, but the instance-level Roles property is the intended approach for per-page visibility. Memory tip: Think of it as a "bouncer at the door" for each widget instance—set the role list on the instance, not the widget template.
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.
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?
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
Set the 'Roles' property on the widget instance within the page designer.
Option C is correct because the 'Roles' property on a widget instance within the Service Portal page designer directly controls which roles can view that specific widget. This is the intended declarative approach for role-based visibility at the widget instance level, without requiring custom scripting or ACLs.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Pass a role check from the server script to the client controller via widget options.
Why it's wrong here
Widget options do not enforce security.
- ✗
Write an Access Control Rule (ACL) on the widget's table to restrict access.
Why it's wrong here
ACLs control data access, not UI widget visibility.
- ✓
Set the 'Roles' property on the widget instance within the page designer.
Why this is correct
The Roles property restricts widget visibility to specified roles.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Create a UI Policy on the portal table that hides the widget based on user roles.
Why it's wrong here
UI Policies do not apply to Service Portal.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse ACLs (which control data access) with widget instance visibility, or incorrectly think UI Policies can be applied to portal widgets, when in fact the 'Roles' property is the dedicated mechanism for this exact use case.
Detailed technical explanation
How to think about this question
The 'Roles' property on a widget instance is evaluated server-side during page rendering; if the current user lacks the specified role, the widget is not included in the HTML sent to the browser, providing both security and performance benefits. This is distinct from client-side hiding, which could be bypassed. In real-world scenarios, this approach is used to show admin-only dashboards or ITIL-specific metrics without exposing them to end users.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A security administrator must allow nursing staff to reach a patient records server while blocking access from the guest Wi-Fi VLAN. After applying an extended ACL, traffic is still blocked from nursing workstations. The ACL was applied outbound instead of inbound on the wrong interface. Questions like this test ACL direction and placement rules.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
User Interface Development — study guide chapter
Learn the concepts, then practise the questions
- →
User Interface Development practice questions
Targeted practice on this topic area only
- →
All SNOW-CAD questions
500 questions across all exam domains
- →
ServiceNow Certified Application Developer CAD study guide
Full concept coverage aligned to exam objectives
- →
SNOW-CAD practice test guide
How to use practice tests most effectively before exam day
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.
Working with Data practice questions
Practise SNOW-CAD questions linked to Working with Data.
Platform Features and Integration practice questions
Practise SNOW-CAD questions linked to Platform Features and Integration.
Integrating and managing application data practice questions
Practise SNOW-CAD questions linked to Integrating and managing application data.
Automating application logic with business rules and scripts practice questions
Practise SNOW-CAD questions linked to Automating application logic with business rules and scripts.
Application development using ServiceNow Studio practice questions
Practise SNOW-CAD questions linked to Application development using ServiceNow Studio.
Creating and customizing tables and data practice questions
Practise SNOW-CAD questions linked to Creating and customizing tables and data.
Designing interfaces and user experiences practice questions
Practise SNOW-CAD questions linked to Designing interfaces and user experiences.
Core Application Development practice questions
Practise SNOW-CAD questions linked to Core Application Development.
User Interface Development practice questions
Practise SNOW-CAD questions linked to User Interface Development.
SNOW-CAD fundamentals practice questions
Practise SNOW-CAD questions linked to SNOW-CAD fundamentals.
SNOW-CAD scenario practice questions
Practise SNOW-CAD questions linked to SNOW-CAD scenario.
SNOW-CAD troubleshooting practice questions
Practise SNOW-CAD questions linked to SNOW-CAD troubleshooting.
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 — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Set the 'Roles' property on the widget instance within the page designer. — Option C is correct because the 'Roles' property on a widget instance within the Service Portal page designer directly controls which roles can view that specific widget. This is the intended declarative approach for role-based visibility at the widget instance level, without requiring custom scripting or ACLs.
What should I do if I get this SNOW-CAD question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
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 →
Last reviewed: Jun 11, 2026
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.
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.
Sign in to join the discussion.