300-435 Question 63
Single answerYou are tasked with automating a Cisco Enterprise network and need to choose between NETCONF and RESTCONF to manage your network devices. The network requires a protocol that can efficiently support configuration changes with transaction capabilities and can work natively with XML for data encoding. Which protocol should you choose?
- A
NETCONF
- B
RESTCONF
- C
SNMP
- D
gRPC
Show answer and explanation
Correct answer: A
Explanation
NETCONF is the preferred protocol when configuration management requires transaction capabilities (e.g., commit and rollback) and native support for XML data encoding. While RESTCONF is useful for RESTful API implementations, it does not provide the robust transactional features that NETCONF offers, making NETCONF the better choice in this scenario.
- A. Correct.
NETCONF is the correct choice as it supports transaction capabilities (e.g., commit, rollback) and uses XML natively for data encoding, making it ideal for configuration management.
- B. Incorrect.
RESTCONF is designed for RESTful APIs and works well with JSON and XML, but it does not support transaction capabilities as NETCONF does.
- C. Incorrect.
SNMP is primarily used for monitoring and not for configuration changes. It also lacks transaction capabilities.
- D. Incorrect.
gRPC is a modern communication protocol but is not directly aligned with the requirements for configuration management with transaction support and XML encoding.