300-435 Question 101
Select 3You are tasked with automating the configuration of network devices in your organization's infrastructure. You decide to use RESTCONF to interact with the devices. Which of the following statements are true about using RESTCONF for this purpose?
- A
RESTCONF uses HTTP methods such as GET, POST, PUT, and DELETE to interact with network devices.
- B
RESTCONF relies on YAML as its primary data encoding format for network communication.
- C
RESTCONF is built on top of NETCONF and uses YANG models to structure the configuration data.
- D
RESTCONF requires enabling an HTTPS server on the network device to ensure secure communication.
- E
RESTCONF is primarily used for streaming telemetry data from network devices.
Show answer and explanation
Correct answers: A, C, D
Explanation
RESTCONF is a protocol designed for managing network configurations and operational data using HTTP methods. It relies on YANG models for data structuring and ensures secure communication through HTTPS. While RESTCONF is not used for telemetry streaming, it is an efficient tool for automating network device interactions using JSON or XML data encoding.
- A. Correct.
Correct. RESTCONF leverages HTTP methods (GET, POST, PUT, DELETE) to retrieve, modify, and delete data on network devices.
- B. Incorrect.
Incorrect. RESTCONF primarily uses JSON or XML as its data encoding format, not YAML.
- C. Correct.
Correct. RESTCONF builds upon NETCONF and uses YANG models to define the structure and semantics of the configuration and operational data.
- D. Correct.
Correct. To enable secure communication, RESTCONF requires HTTPS to be configured on the network device.
- E. Incorrect.
Incorrect. RESTCONF is typically used for configuration management and operational data retrieval, not for streaming telemetry. For telemetry, gNMI or NETCONF is commonly used.