nerdexam
Cisco

352-001 · Question #791

Which encoding format does cisco ios XE software support for NETCONF?

The correct answer is C. It supports XML encoding for NETCONF. NETCONF on Cisco IOS XE uses XML as its mandatory data encoding format, as defined in RFC 6241.

Designing Management and Operations

Question

Which encoding format does cisco ios XE software support for NETCONF?

Options

  • AIt supports HTML encoding for NETCONF
  • BIt supports YAML encoding for NETCONF
  • CIt supports XML encoding for NETCONF
  • DIt supports JSON encoding for NETCONF

How the community answered

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

Why each option

NETCONF on Cisco IOS XE uses XML as its mandatory data encoding format, as defined in RFC 6241.

AIt supports HTML encoding for NETCONF

HTML is a markup language for web pages and has no role in NETCONF data encoding.

BIt supports YAML encoding for NETCONF

YAML is used by automation tools such as Ansible playbooks but is not a supported encoding format for the NETCONF protocol.

CIt supports XML encoding for NETCONFCorrect

XML is the only encoding format specified by NETCONF (RFC 6241), and Cisco IOS XE implements NETCONF over SSH using XML-encoded RPCs and YANG data models. All NETCONF operations such as get-config, edit-config, and notifications are carried in XML. No other encoding is natively supported by the NETCONF protocol itself on IOS XE.

DIt supports JSON encoding for NETCONF

JSON is the encoding format used by RESTCONF (RFC 8040), not NETCONF; the two are distinct programmatic interfaces.

Concept tested: NETCONF encoding format on Cisco IOS XE

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/xe/programmability-xe.html

Topics

#NETCONF#XML encoding#IOS XE#network automation

Community Discussion

No community discussion yet for this question.

Full 352-001 Practice