300-435 Question 62
Single answerYou are tasked with automating the configuration of a network device. The device supports both NETCONF and RESTCONF. Your requirement is to use a protocol that provides standardized XML-encoded responses and supports operations such as transaction-based configuration management. Which protocol should you choose?
- A
NETCONF
- B
RESTCONF
- C
SNMP
- D
gRPC
Show answer and explanation
Correct answer: A
Explanation
NETCONF is the best-suited protocol in this scenario because it is designed for configuration management and supports advanced features like transactions. While RESTCONF is also used for network automation, it is better suited for simpler use cases and lacks the transaction management features provided by NETCONF.
- A. Correct.
NETCONF is the correct choice because it provides XML-encoded responses, transaction-based configuration management, and supports advanced features like candidate and confirmed commit operations.
- B. Incorrect.
While RESTCONF is a valid protocol for network automation, it is more lightweight and uses JSON or XML encoding, but it lacks transaction-based configuration management.
- C. Incorrect.
SNMP is primarily used for network monitoring and does not provide the capabilities required for configuration management as per the scenario.
- D. Incorrect.
gRPC is a high-performance RPC framework that is not specifically designed for network configuration tasks like NETCONF or RESTCONF.