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
Topics
#NETCONF#Cisco IOS XE#XML#Data Encoding
Community Discussion
No community discussion yet for this question.