nerdexam
Cisco

200-901 · Question #67

Which encoding does NETCONF is Cisco IOS XE Software support?

The correct answer is D. XML. NETCONF on Cisco IOS XE uses only XML encoding for all RPC messages and data, as mandated by RFC 6241.

Understanding and Using APIs

Question

Which encoding does NETCONF is Cisco IOS XE Software support?

Options

  • AJASON AND XML
  • BYAML
  • CJSON
  • DXML

How the community answered

(43 responses)
  • A
    9% (4)
  • B
    2% (1)
  • C
    2% (1)
  • D
    86% (37)

Why each option

NETCONF on Cisco IOS XE uses only XML encoding for all RPC messages and data, as mandated by RFC 6241.

AJASON AND XML

'JASON' is a misspelling of JSON; regardless, NETCONF does not support JSON encoding - its specification mandates XML, and IOS XE NETCONF does not process JSON payloads.

BYAML

YAML is a human-readable serialization format used by tools such as Ansible for playbooks, but it is not a supported encoding format within the NETCONF protocol.

CJSON

JSON encoding is a feature of RESTCONF (RFC 8040) via YANG-JSON, not NETCONF; the two protocols use different encodings even though both work with YANG models.

DXMLCorrect

NETCONF is defined by RFC 6241 and exclusively uses XML to encode RPCs, configuration data, and responses. On Cisco IOS XE, all NETCONF sessions encode messages in XML using YANG data models. JSON encoding belongs to RESTCONF (RFC 8040), not NETCONF.

Concept tested: NETCONF encoding format on Cisco IOS XE

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/1612/b_1612_programmability_cg/configuring_yang_datamodel.html

Topics

#NETCONF#Cisco IOS XE#XML#Data Encoding

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice