300-435 Question 83
Select 3A network engineer is tasked with automating the configuration of multiple Cisco IOS XE devices. The engineer wants to use RESTCONF to retrieve operational data and configure the devices. Which of the following steps must the engineer perform to enable RESTCONF on an IOS XE device?
- A
Enable the HTTP and HTTPS server on the IOS XE device
- B
Generate a self-signed certificate or install a trusted certificate on the device
- C
Enable NETCONF-YANG on the device
- D
Define RESTCONF-specific user credentials with read/write permissions
- E
Enable the RESTCONF API using the 'restconf enable' command
Show answer and explanation
Correct answers: A, B, E
Explanation
To enable RESTCONF on an IOS XE device, the HTTP and HTTPS servers must be activated as RESTCONF operates over HTTPS. A secure connection requires a certificate (self-signed or trusted). Finally, the 'restconf enable' command explicitly enables the RESTCONF API. NETCONF-YANG is unrelated to RESTCONF activation and separate user credentials are not required since RESTCONF utilizes the device's existing AAA configuration.
- A. Correct.
Enabling the HTTP and HTTPS server is a prerequisite for RESTCONF to function, as it relies on HTTPS for communication.
- B. Correct.
RESTCONF requires a secure HTTPS connection, which necessitates a self-signed or trusted certificate to establish secure communication.
- C. Incorrect.
NETCONF-YANG is not required to enable RESTCONF. Although both use YANG data models, they are independent protocols.
- D. Incorrect.
RESTCONF does not require defining RESTCONF-specific credentials. Instead, it uses the same AAA credentials configured on the device.
- E. Correct.
The 'restconf enable' command is necessary to activate the RESTCONF API on the device.