SAUTO Network Programmability Foundation Practice Question
Which TWO of the following are valid components of a YANG model definition?
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
✓
leaf
'container' and 'leaf' are fundamental building blocks of YANG hierarchical structures.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
leaf
Why this is correct
A node that contains a single data value.
- ✓
container
Why this is correct
A structural node that holds other nodes.
- ✗
socket
Why it's wrong here
Not a YANG statement.
- ✗
interface
Why it's wrong here
This is a data object, not a model keyword.
- ✗
packet
Why it's wrong here
Not a YANG statement.
About these practice questions
Courseiva writes every SAUTO question from scratch — 281 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.