350-401 Question 228
Single answerYou are configuring a Cisco router to interact with a network management system (NMS) that uses RESTCONF to retrieve operational data. Before enabling RESTCONF on the router, which of the following steps is necessary to ensure RESTCONF functions correctly?
- A
Enable the HTTP and HTTPS servers on the router.
- B
Create access control lists (ACLs) to allow RESTCONF traffic.
- C
Manually enable NETCONF on the router to support RESTCONF.
- D
Install a third-party REST API plugin on the router.
Show answer and explanation
Correct answer: A
Explanation
RESTCONF operates using HTTP or HTTPS as its underlying transport protocol. To enable RESTCONF, the HTTP and HTTPS servers must be activated on the Cisco device. While additional configurations, such as ACLs for security, are recommended, they are not required to enable RESTCONF functionality. NETCONF is a separate protocol and does not need to be enabled for RESTCONF to work, nor is any third-party plugin necessary.
- A. Correct.
Correct. RESTCONF uses HTTP or HTTPS as its transport protocol, so enabling the HTTP and HTTPS servers is a required step for RESTCONF to function.
- B. Incorrect.
Incorrect. While ACLs may be used to secure RESTCONF traffic, they are not mandatory to enable RESTCONF itself.
- C. Incorrect.
Incorrect. NETCONF and RESTCONF are separate protocols; enabling NETCONF is not a prerequisite for using RESTCONF.
- D. Incorrect.
Incorrect. Cisco devices natively support RESTCONF, and no third-party plugins are required.