300-420 exam dumps

300-420 practice question 298 of 323

Designing Cisco Enterprise Networks. Professional level, Cisco. Free question with the correct answer and a full explanation.

300-420 Question 298

Single answer

An enterprise network engineer is evaluating two protocols, NETCONF and RESTCONF, for managing configuration and operational data on their network devices. The engineer requires a solution that uses a RESTful interface and supports accessing data in JSON format for integration with modern web-based management tools. Which protocol best meets this requirement?

  1. A

    NETCONF

  2. B

    RESTCONF

  3. C

    Both NETCONF and RESTCONF

  4. D

    Neither NETCONF nor RESTCONF

Show answer and explanation

Correct answer: B

Explanation

RESTCONF is the correct protocol for the scenario because it uses a RESTful interface and supports JSON encoding, making it compatible with modern web-based management tools. NETCONF, while powerful, primarily utilizes XML and does not follow RESTful design principles, making it less suitable for the stated requirements.

  • A. Incorrect.

    NETCONF is a protocol designed for network configuration and operational data management, but it primarily uses XML for data encoding and does not use a RESTful interface.

  • B. Correct.

    RESTCONF is a protocol that builds on REST principles and supports data encoding in formats like JSON and XML. This makes it suitable for integration with modern web-based tools as required in the scenario.

  • C. Incorrect.

    While both NETCONF and RESTCONF can manage configuration and operational data, only RESTCONF provides a RESTful interface and native JSON support, which are explicitly required in the scenario.

  • D. Incorrect.

    Both NETCONF and RESTCONF are capable protocols, but saying 'neither' is incorrect since RESTCONF clearly meets the specified requirements.

Timed practice exam

Take a 300-420 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam