200-901 Infrastructure and Automation Practice Question
A network automation solution uses YANG data models to describe network configurations. Which THREE statements about YANG are true? (Select THREE)
⚠ Common exam trap
Cisco often tests the misconception that YANG is tied to a specific encoding (like XML) or that it replaces SNMP entirely, when in fact YANG is encoding-agnostic and complements SNMP by providing structured, transactional configuration management.
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
✓
YANG can be used in conjunction with NETCONF and RESTCONF.
YANG is a data modeling language that defines the structure and constraints of configuration and state data, and it is designed to be used with NETCONF (RFC 6241) and RESTCONF (RFC 8040) as the transport protocols. This makes option A correct because YANG models are encoded in XML or JSON and exchanged via these protocols.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
YANG can be used in conjunction with NETCONF and RESTCONF.
Why this is correct
Both protocols use YANG models.
- ✗
YANG models are always written in XML syntax.
Why it's wrong here
YANG has its own syntax, not XML; models can be translated to XML.
- ✓
YANG is used to define both configuration and state data.
Why this is correct
YANG models can represent both config and operational state.
- ✓
YANG is a data modeling language used to define the structure of data.
Why this is correct
YANG models define the schema for data.
- ✗
YANG is a replacement for SNMP.
Why it's wrong here
YANG complements but does not replace SNMP.
Go deeper
Related to this question
About these practice questions
One of 989 original 200-901 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 200-901 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 200-901 exam.