350-401 · Question #587
350-401 Question #587: Real Exam Question with Answer & Explanation
The correct answer is C: to model data for NETCONF. YANG and NETCONF Explained YANG (Yet Another Next Generation) is a data modeling language specifically designed to define the structure, syntax, and semantics of data used by NETCONF (Network Configuration Protocol), making option C correct. YANG models tell NETCONF exactly what
Question
Why would an engineer use YANG?
Options
- Ato transport data between a controller and a network device
- Bto access data using SNMP
- Cto model data for NETCONF
- Dto translate JSON into an equivalent XML syntax
Explanation
YANG and NETCONF Explained
YANG (Yet Another Next Generation) is a data modeling language specifically designed to define the structure, syntax, and semantics of data used by NETCONF (Network Configuration Protocol), making option C correct. YANG models tell NETCONF exactly what data a network device can expose or accept, essentially serving as the "blueprint" for configuration and operational data.
- Option A is wrong because data transport between a controller and network device is the job of protocols like NETCONF or RESTCONF, not YANG itself.
- Option B is wrong because SNMP (Simple Network Management Protocol) is an older, separate management framework that does not use YANG; YANG is associated with NETCONF/RESTCONF.
- Option D is wrong because YANG is not a translation tool between JSON and XML; it's a modeling language, though YANG-defined data can be encoded in either format.
🧠 Memory Tip: Think of YANG as the architect's blueprint and NETCONF as the construction crew - the crew (NETCONF) needs the blueprint (YANG) to know what to build. "YANG Models, NETCONF Moves."
Topics
Community Discussion
No community discussion yet for this question.