350-401 · Question #973
Which language defines the structure or modeling of data for NETCONF and RESTCONF?
The correct answer is D. YANG. YANG (Yet Another Next Generation) is the data modeling language that defines the structure of configuration and state data for network devices, utilized by both NETCONF and RESTCONF protocols.
Question
Which language defines the structure or modeling of data for NETCONF and RESTCONF?
Options
- AYAML
- BXML
- CJSON
- DYANG
How the community answered
(17 responses)- A6% (1)
- B6% (1)
- D88% (15)
Why each option
YANG (Yet Another Next Generation) is the data modeling language that defines the structure of configuration and state data for network devices, utilized by both NETCONF and RESTCONF protocols.
YAML is a human-friendly data serialization standard, but it is not the data modeling language for NETCONF and RESTCONF.
XML is a data encoding format often used with NETCONF, but it is not the language that defines the structure of the data itself.
JSON is a lightweight data-interchange format often used with RESTCONF, but it is not the language that defines the structure of the data itself.
YANG (Yet Another Next Generation) is a data modeling language used to define the structure of configuration data, state data, notifications, and RPCs for network devices. Both NETCONF and RESTCONF utilize YANG modules to specify the data that can be manipulated and retrieved, providing a standardized and human-readable way to describe network device capabilities.
Concept tested: YANG as data modeling for NETCONF/RESTCONF
Source: https://www.cisco.com/c/en/us/td/docs/iosxr/cisco_iosxr_yang_configuration_guide_60/b-yang_cg_60_chapter_01.html
Topics
Community Discussion
No community discussion yet for this question.