nerdexam
CiscoCisco

200-901 · Question #67

200-901 Question #67: Real Exam Question with Answer & Explanation

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

Explanation

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

Common mistakes.

  • A. '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.
  • B. 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.
  • C. 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.

Concept tested. NETCONF encoding format on Cisco IOS XE

Reference. 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 PracticeBrowse All 200-901 Questions