nerdexam
Cisco

300-435 · Question #102

Which two encodings are supported with RESTCONF rather than with NETCONF when using YANG? (Choose two.)

The correct answer is A. HTML D. JSON. RESTCONF supports HTML and JSON encodings when using YANG, distinguishing it from NETCONF which primarily uses XML.

Network Automation Foundation

Question

Which two encodings are supported with RESTCONF rather than with NETCONF when using YANG? (Choose two.)

Exhibit

300-435 question #102 exhibit

Options

  • AHTML
  • BXML
  • CCCS
  • DJSON
  • ECES

How the community answered

(25 responses)
  • A
    92% (23)
  • B
    4% (1)
  • C
    4% (1)

Why each option

RESTCONF supports HTML and JSON encodings when using YANG, distinguishing it from NETCONF which primarily uses XML.

AHTMLCorrect

RESTCONF leverages HTTP, making it compatible with various web-centric data formats, including HTML. While less common for data exchange in automated systems, HTML can be used to represent information.

BXML

XML (Extensible Markup Language) is the primary encoding used by NETCONF for data exchange and is also supported by RESTCONF, but the question asks for encodings supported with RESTCONF "rather than with NETCONF", implying unique or preferred RESTCONF formats over NETCONF's primary XML.

CCCS

CCS is not a standard data encoding format used with RESTCONF or NETCONF.

DJSONCorrect

JSON (JavaScript Object Notation) is a lightweight data-interchange format that is widely used in web services and is a primary encoding supported by RESTCONF for representing YANG-modeled data.

ECES

CES is not a standard data encoding format used with RESTCONF or NETCONF.

Concept tested: RESTCONF data encodings with YANG

Source: https://datatracker.ietf.org/doc/html/rfc8040

Topics

#RESTCONF#NETCONF#YANG#Data Encodings

Community Discussion

No community discussion yet for this question.

Full 300-435 Practice