200-901 exam dumps

200-901 practice question 81 of 204

Cisco DevNet Associate. Associate level, Cisco. Free question with the correct answer and a full explanation.

200-901 Question 81

Select 3

A network engineer wants to retrieve the configuration of an interface on a network device using model-driven programmability. They decide to use NETCONF for this purpose. Which of the following steps are necessary to achieve this goal?

  1. A

    Establish a secure connection to the device using SSH.

  2. B

    Use YANG models to structure the data being requested or configured.

  3. C

    Send an HTTP GET request to the device to retrieve the interface configuration.

  4. D

    Send an XML-encoded RPC message to the device over the established connection.

  5. E

    Install a RESTCONF service on the network device to enable communication.

Show answer and explanation

Correct answers: A, B, D

Explanation

NETCONF is a protocol used for model-driven programmability and operates over a secure SSH connection. It uses YANG models to define the structure of data and communicates using XML-encoded RPC messages. This makes options 1, 2, and 4 correct. HTTP GET requests and RESTCONF services are specific to RESTCONF and not relevant to NETCONF.

  • A. Correct.

    NETCONF relies on SSH as its transport protocol to establish a secure connection with the device. This is a required first step.

  • B. Correct.

    YANG is the language used to define the structure of the data model for NETCONF operations. It is essential for defining the data being retrieved or configured.

  • C. Incorrect.

    HTTP GET requests are used in RESTCONF, not NETCONF. NETCONF uses XML-based RPC messages for communication.

  • D. Correct.

    NETCONF uses XML-encoded RPC messages to retrieve or modify configurations. This is a necessary step for using NETCONF.

  • E. Incorrect.

    Installing a RESTCONF service is not relevant to NETCONF. RESTCONF is a separate protocol that also uses YANG models but operates over HTTP.

Timed practice exam

Take a 200-901 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