300-435 · Question #27
Which two encoding formats do YANG interfaces support? (Choose two.)
The correct answer is A. JSON B. XML. YANG interfaces support JSON and XML as primary encoding formats for data representation and exchange.
Question
Options
- AJSON
- BXML
- CXHTML
- DPlain text
- EBER
How the community answered
(33 responses)- A94% (31)
- C3% (1)
- E3% (1)
Why each option
YANG interfaces support JSON and XML as primary encoding formats for data representation and exchange.
JSON is a widely supported encoding format for data structured by YANG models, commonly used with RESTCONF for data exchange.
XML is the traditional and primary encoding format used by NETCONF and is also supported by RESTCONF for data defined by YANG models.
XHTML is a markup language for web pages, not a data encoding format used by YANG interfaces.
Plain text lacks the structured representation and machine-readability required for programmatic interaction with YANG data.
BER (Basic Encoding Rules) is a binary encoding used in protocols like SNMP and ASN.1, but not directly supported by standard YANG interfaces for data encoding.
Concept tested: YANG data encoding formats
Source: https://datatracker.ietf.org/doc/html/rfc7951
Topics
Community Discussion
No community discussion yet for this question.