200-901 · Question #4
Which two encoding formats do YANG interfaces support? (Choose two.)
The correct answer is A. JSON B. XML. YANG is a data modeling language used to define the structure of network device configuration and state data. It is transported over NETCONF (which uses XML) and RESTCONF (which supports both XML and JSON). Both formats are therefore natively supported by YANG-based interfaces…
Question
Which two encoding formats do YANG interfaces support? (Choose two.)
Options
- AJSON
- BXML
- CXHTML
- DPlain text
- EBER
How the community answered
(23 responses)- A87% (20)
- C4% (1)
- E9% (2)
Explanation
YANG is a data modeling language used to define the structure of network device configuration and state data. It is transported over NETCONF (which uses XML) and RESTCONF (which supports both XML and JSON). Both formats are therefore natively supported by YANG-based interfaces. XHTML is a web markup language not used in network management protocols. Plain text has no structured schema support. BER (Basic Encoding Rules) is an ASN.1 binary encoding format used in SNMP, not YANG/NETCONF/RESTCONF.
Topics
Community Discussion
No community discussion yet for this question.