200-901 exam dumps

200-901 practice question 76 of 204

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

200-901 Question 76

Select 3

A network engineer is tasked with automating a Cisco IOS XE router configuration. The engineer decides to use RESTCONF to interact with the router. Which of the following actions are valid use cases for RESTCONF in this scenario?

  1. A

    Retrieve the current interface configuration in JSON or XML format

  2. B

    Push a new configuration to enable a specific interface

  3. C

    Execute a CLI command to reboot the device

  4. D

    Subscribe to notifications about interface state changes

  5. E

    Modify the NX-OS feature set of the router

Show answer and explanation

Correct answers: A, B, D

Explanation

RESTCONF is a device-level API used for interacting with Cisco IOS XE devices. It enables operations like retrieving configuration data, pushing new configurations, and subscribing to notifications. However, it is not meant for executing arbitrary CLI commands or interacting with NX-OS-specific features, as NX-OS and IOS XE are distinct platforms with different capabilities.

  • A. Correct.

    Correct: RESTCONF supports retrieving operational data or configuration data in JSON or XML format through HTTP GET requests.

  • B. Correct.

    Correct: RESTCONF allows pushing new configurations to the device using HTTP POST or PUT requests.

  • C. Incorrect.

    Incorrect: RESTCONF is not designed to execute arbitrary CLI commands; it is used for configuration and operational data management.

  • D. Correct.

    Correct: RESTCONF supports subscribing to notifications (using the ietf-restconf module) for monitoring events like interface state changes.

  • E. Incorrect.

    Incorrect: NX-OS is a different Cisco operating system and RESTCONF in this context is specific to IOS XE. Modifying the NX-OS feature set would not apply here.

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