nerdexam
Cisco

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…

Understanding and Using APIs

Question

Which two encoding formats do YANG interfaces support? (Choose two.)

Options

  • AJSON
  • BXML
  • CXHTML
  • DPlain text
  • EBER

How the community answered

(23 responses)
  • A
    87% (20)
  • C
    4% (1)
  • E
    9% (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

#YANG#Data Encoding#JSON#XML

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice