300-435 Question 60
Single answerA network engineer is tasked with automating the configuration of Cisco devices in a data center. The engineer must choose between using NETCONF or RESTCONF for this task. The devices require model-driven programmability and the ability to perform operations such as 'edit-config' and 'get-config' with transaction support. Which protocol is better suited for these requirements?
- A
NETCONF, because it supports model-driven programmability and transactional operations.
- B
NETCONF, because it uses HTTP-based methods for simplicity.
- C
RESTCONF, because it is designed for real-time telemetry and streaming data.
- D
RESTCONF, because it provides advanced transaction capabilities not available in NETCONF.
Show answer and explanation
Correct answer: A
Explanation
NETCONF is specifically designed for network configuration and management, offering features such as model-driven programmability, robust transaction management, and operations like 'edit-config' and 'get-config.' RESTCONF, although simpler and HTTP-based, is more suitable for CRUD operations and lacks the transactional capabilities necessary for the described requirements.
- A. Correct.
NETCONF is the correct choice as it supports model-driven programmability, operations like 'edit-config' and 'get-config,' and transactional capabilities to ensure consistency.
- B. Incorrect.
NETCONF does not use HTTP-based methods; it uses a session-based protocol over SSH, making this statement incorrect.
- C. Incorrect.
While RESTCONF is designed to work with model-driven data (like YANG models), it is better suited for simpler CRUD operations and lacks advanced transaction support.
- D. Incorrect.
RESTCONF does not provide advanced transaction capabilities. NETCONF is better suited for tasks requiring transactions and configuration consistency.