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

  • ANETCONF operates over SSH (TCP 830) using XML-encoded RPC messagesCorrect answer
  • BNETCONF operates over unencrypted UDP port 69 using CSV text files
  • CRESTCONF requires a proprietary Cisco serial console cable for every query
  • DRESTCONF operates over HTTPS (TCP 443) using JSON or XML payloadsCorrect answer

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).

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.