300-435 Question 99
Select 2You are tasked with automating the configuration of network devices in a Cisco enterprise environment using RESTCONF. Which two steps must you take to ensure the RESTCONF API is operational and accessible on the devices?
- A
Enable the HTTP or HTTPS server on the device
- B
Install the RESTCONF feature license on the device
- C
Configure the RESTCONF service using the 'restconf' command in global configuration mode
- D
Ensure NETCONF is enabled as RESTCONF relies on it for transport
- E
Verify that the device's management interface has an IP address and is reachable
Show answer and explanation
Correct answers: A, E
Explanation
To enable and use the RESTCONF API on Cisco devices, the HTTP or HTTPS server must be enabled because RESTCONF uses these protocols for communication. Additionally, the device's management interface must be configured with a reachable IP address to allow API requests to connect to the device. No special license or separate commands are needed to enable RESTCONF, and it operates independently of NETCONF.
- A. Correct.
Correct: The HTTP or HTTPS server must be enabled as RESTCONF operates over these protocols for communication.
- B. Incorrect.
Incorrect: RESTCONF does not require a separate license; it is a feature included with the device’s software capabilities.
- C. Incorrect.
Incorrect: There is no separate 'restconf' command required to enable RESTCONF; enabling the HTTP/HTTPS server automatically enables RESTCONF.
- D. Incorrect.
Incorrect: RESTCONF does not rely on NETCONF for transport. RESTCONF uses HTTP/HTTPS, while NETCONF uses SSH.
- E. Correct.
Correct: The management interface must have an IP address and be reachable to ensure RESTCONF API communication.