350-401 · Question #712
How does NETCONF YANG represent data structures?
The correct answer is B. in an XML tree format. NETCONF (Network Configuration Protocol) uses XML to encode and represent data structures, while YANG defines the structure of this data.
Question
Options
- Aas strict data structures denned by RFC 6020
- Bin an XML tree format
- Cin an HTML format
- Das modules within a tree
How the community answered
(30 responses)- A7% (2)
- B90% (27)
- D3% (1)
Why each option
NETCONF (Network Configuration Protocol) uses XML to encode and represent data structures, while YANG defines the structure of this data.
While RFC 6020 defines YANG, the actual data structures exchanged via NETCONF are represented in XML, not strictly defined as RFC 6020 itself being the representation format.
NETCONF, leveraging YANG models, represents configuration and state data in an XML tree format, providing a hierarchical and structured way to exchange information between network devices and management systems.
HTML is a web content markup language and is not used by NETCONF or YANG for network device configuration data representation.
YANG organizes data models into modules, which are part of a tree, but the fundamental runtime representation of the data itself via NETCONF is specifically in an XML tree format.
Concept tested: NETCONF and YANG data representation
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/1612/b_1612_programmability_cg/netconf_yang.html
Topics
Community Discussion
No community discussion yet for this question.