CCNA 200-301 · Automation and Programmability · hard
When automating Cisco IOS XE devices using model-driven programmability, an engineer must choose between NETCONF and RESTCONF, both of which use YANG (Yet Another Next Generation) data models. Which two statements accurately compare the transport protocols and data encodings of NETCONF and RESTCONF? (Select two.)
Published · Last updated · checked before publication — how we verify questions
Options
Answers: A. NETCONF operates over SSH (TCP 830) using XML-encoded RPC messages; D. RESTCONF operates over HTTPS (TCP 443) using JSON or XML payloads
NETCONF (RFC 6241) runs over SSH (TCP port 830) and encodes configuration RPCs exclusively in XML (A). RESTCONF (RFC 8040) is a stateless HTTP-based protocol that runs over HTTPS (TCP port 443) and supports both JSON (application/yang-data+json) and XML (application/yang-data+xml) payloads mapped to standard HTTP verbs (GET, POST, PUT, PATCH, DELETE) (D).
Why the other options are wrong
- B. NETCONF operates over unencrypted UDP port 69 using CSV text files — UDP 69 is TFTP; NETCONF requires encrypted SSH (TCP 830) and structured XML.
- C. RESTCONF requires a proprietary Cisco serial console cable for every query — RESTCONF runs over standard IP networks via HTTPS (TCP 443).
More Automation and Programmability questions
- A network automation engineer is comparing Ansible and Puppet/Chef for automating VLAN and OSPF configurations across…
- A Python script calls the Cisco Catalyst Center (DNA Center) REST API over HTTPS to retrieve the current inventory…
- On a Cisco Catalyst switch, a legacy router calculates every route locally using distributed OSPF hellos and builds…
- Examine the following JSON payload returned by a Cisco IOS XE RESTCONF query: json { "ietf-interfaces:interface": {…
- In a software-defined network (SDN) managed by Cisco Catalyst Center (formerly Cisco DNA Center), an external IT…
All Automation and Programmability questions and the topic overview →
Cisco and CCNA are trademarks of Cisco Systems, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Cisco Systems, Inc.