SAUTO Network Programmability Foundation Practice Question
You are designing a YANG model for a custom security policy. Which statement accurately describes the function of a 'leaf' node in YANG?
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
✓
It contains a single value and no child nodes.
A leaf node contains a single value and has no child nodes.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
It defines a list of instances.
Why it's wrong here
That is the function of a 'list' node.
- ✗
It acts as a container for other nodes.
Why it's wrong here
That is the function of a 'container' node.
- ✓
It contains a single value and no child nodes.
Why this is correct
A leaf defines a specific piece of data.
- ✗
It defines a choice between multiple alternatives.
Why it's wrong here
That is the function of a 'choice' node.
About these practice questions
This SAUTO question is part of Courseiva's 281-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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Cisco exam blueprint
This SAUTO practice question is part of Courseiva's free Cisco 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 SAUTO exam.