Courseiva
User Interface DevelopmenthardMultiple ChoiceObjective-mapped

SNOW-CAD User Interface Development Practice Question

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>```

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?

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 <g:ui_element> containing 'cmdb_ci' is improperly nested inside another <g:ui_element>

When a <g:ui_element> is nested inside another <g:ui_element>, the inner element is ignored by the Jelly UI framework. The proper structure requires that <g:ui_element> be placed directly within a <g:ui_section> or <g:ui_form> , not inside another <g:ui_element>. This nesting issue causes the 'cmdb_ci' field not to render. Option A is incorrect because the namespace is correctly declared if other fields render. Option B is incorrect because a <g:ui_element> does not need to be inside a <g:ui_section> ; it can be directly in a <g:ui_form> . Option D is incorrect because a mandatory attribute does not prevent a field from appearing; it only affects submission behavior.

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 Jelly namespace declaration for 'g2' is missing, causing the field to be ignored

    Why it's wrong here

    The g2 namespace is unused; the rendering uses 'g:' prefix already declared.

  • The <g:ui_field> element must be inside a <g:ui_section> rather than <g:ui_element>

    Why it's wrong here

    <g:ui_field> can be inside <g:ui_element> directly; the issue is the nested <g:ui_element>.

  • The <g:ui_element> containing 'cmdb_ci' is improperly nested inside another <g:ui_element>

    Why this is correct

    Invalid nesting causes the parser to drop the inner element.

  • The 'cmdb_ci' field has a mandatory attribute that conflicts with the UI policy

    Why it's wrong here

    The exhibit does not show a mandatory attribute on cmdb_ci.

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 →

How Courseiva writes practice questions · Editorial policy

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.