200-901 exam dumps

200-901 practice question 82 of 204

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

200-901 Question 82

Select 3

You are tasked with configuring a network device using model-driven programmability. The device supports YANG models and provides both NETCONF and RESTCONF interfaces. Which of the following statements correctly describe how you can interact with the device using these protocols?

  1. A

    NETCONF uses XML as its primary data encoding format for configuration and operational data.

  2. B

    RESTCONF can use both JSON and XML as data encoding formats for interacting with the device.

  3. C

    YANG is a protocol used to directly configure the device via CLI commands.

  4. D

    RESTCONF operations are built on top of HTTP methods such as GET, POST, PUT, and DELETE.

  5. E

    NETCONF operations are executed using HTTP methods like GET and POST.

Show answer and explanation

Correct answers: A, B, D

Explanation

NETCONF and RESTCONF are two protocols that leverage YANG data models for device interaction. NETCONF uses XML exclusively for data encoding and operates over SSH with its own set of operations. RESTCONF, on the other hand, is built on HTTP and supports both JSON and XML for data encoding, making it more accessible for RESTful API interactions. YANG is the underlying modeling language, not a protocol, and does not directly configure devices.

  • A. Correct.

    Correct: NETCONF uses XML as its primary data encoding format. It is designed for robust network configuration and operational data exchange.

  • B. Correct.

    Correct: RESTCONF supports both JSON and XML as data encoding formats, allowing for flexibility in how data is transmitted.

  • C. Incorrect.

    Incorrect: YANG is not a protocol but a data modeling language used to define the structure and content of configuration and operational data.

  • D. Correct.

    Correct: RESTCONF relies on standard HTTP methods such as GET, POST, PUT, and DELETE for interacting with network devices.

  • E. Incorrect.

    Incorrect: NETCONF does not use HTTP methods. It operates over a secure transport (like SSH) and defines its own set of operations such as , , and .

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