nerdexam
Cisco

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.

Network Automation Foundation

Question

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

Options

  • AJSON
  • BXML
  • CXHTML
  • DPlain text
  • EBER

How the community answered

(33 responses)
  • A
    94% (31)
  • C
    3% (1)
  • E
    3% (1)

Why each option

YANG interfaces support JSON and XML as primary encoding formats for data representation and exchange.

AJSONCorrect

JSON is a widely supported encoding format for data structured by YANG models, commonly used with RESTCONF for data exchange.

BXMLCorrect

XML is the traditional and primary encoding format used by NETCONF and is also supported by RESTCONF for data defined by YANG models.

CXHTML

XHTML is a markup language for web pages, not a data encoding format used by YANG interfaces.

DPlain text

Plain text lacks the structured representation and machine-readability required for programmatic interaction with YANG data.

EBER

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

#YANG#Encoding Formats#JSON#XML

Community Discussion

No community discussion yet for this question.

Full 300-435 Practice