350-401 · Question #1326
Which language can be used to model configuration and state data?
The correct answer is B. YANG. YANG (Yet Another Next Generation) is specifically designed as a data modeling language for network configuration and state data, most commonly used with the NETCONF and RESTCONF protocols. It defines the structure, syntax, and semantics of network data in a hierarchical format,
Question
Which language can be used to model configuration and state data?
Options
- AJSON
- BYANG
- CXML
- DXDR
How the community answered
(25 responses)- B88% (22)
- C8% (2)
- D4% (1)
Explanation
YANG (Yet Another Next Generation) is specifically designed as a data modeling language for network configuration and state data, most commonly used with the NETCONF and RESTCONF protocols. It defines the structure, syntax, and semantics of network data in a hierarchical format, making it the purpose-built solution for modeling both configuration and operational state data in network management.
Why the distractors are wrong:
- JSON (A) is a data serialization/encoding format used to transmit data, not a modeling language - it can carry YANG-modeled data but cannot define the model itself.
- XML (C) is also a data representation format, not a modeling language; like JSON, it can be used to encode YANG-defined data (especially in NETCONF).
- XDR (D) (External Data Representation) is a standard for describing and encoding data used in remote procedure calls (RPC), with no specific role in network configuration modeling.
Memory Tip: Think of YANG as the blueprint (model), while JSON and XML are the building materials (encoding formats) - you need a blueprint before you can build. If a question asks about modeling network data, YANG is always your answer.
Topics
Community Discussion
No community discussion yet for this question.