nerdexam
Cisco

300-435 · Question #45

Which statement is true for Cisco IOS XE Software?

The correct answer is A. RESTCONF supports JSON and XML and NETCONF supports XML. On Cisco IOS XE Software, RESTCONF supports both JSON and XML for data encoding, while NETCONF primarily relies on XML as its encoding format.

Network Automation Foundation

Question

Which statement is true for Cisco IOS XE Software?

Options

  • ARESTCONF supports JSON and XML and NETCONF supports XML.
  • BRESTCONF supports XML and NETCONF supports JSON and XML.
  • CRESTCONF and NETCONF supports JSON and XML.
  • DRESTCONF supports XML and NETCONF supports JSON.

How the community answered

(28 responses)
  • A
    93% (26)
  • B
    4% (1)
  • C
    4% (1)

Why each option

On Cisco IOS XE Software, RESTCONF supports both JSON and XML for data encoding, while NETCONF primarily relies on XML as its encoding format.

ARESTCONF supports JSON and XML and NETCONF supports XML.Correct

Cisco IOS XE Software implements NETCONF, which exclusively uses XML for its data encoding, while RESTCONF, a more modern protocol, provides flexibility by supporting both XML and JSON data encodings for northbound interfaces.

BRESTCONF supports XML and NETCONF supports JSON and XML.

This statement is incorrect because NETCONF on Cisco IOS XE does not natively support JSON as an encoding format; it is fundamentally XML-based.

CRESTCONF and NETCONF supports JSON and XML.

While RESTCONF supports both JSON and XML, NETCONF on IOS XE does not support JSON, rendering this statement inaccurate.

DRESTCONF supports XML and NETCONF supports JSON.

This statement is incorrect because RESTCONF supports JSON in addition to XML, and NETCONF does not support JSON.

Concept tested: IOS XE NETCONF and RESTCONF encoding support

Source: https://www.cisco.com/c/en/us/td/docs/iosxe/learn/prog/guide/b_programmability_iosxe.html

Topics

#NETCONF#RESTCONF#Data Formats#IOS XE

Community Discussion

No community discussion yet for this question.

Full 300-435 Practice