300-435 exam dumps

300-435 practice question 36 of 322

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

300-435 Question 36

Single answer

You are tasked with automating a Cisco SD-WAN deployment by integrating APIs into your workflow. To retrieve data about all devices in the SD-WAN fabric, you plan to use the Cisco vManage REST API. Which HTTP method and endpoint should you use to achieve this?

  1. A

    GET /dataservice/device

  2. B

    POST /dataservice/device

  3. C

    GET /dataservice/device/state

  4. D

    PUT /dataservice/device/configuration

Show answer and explanation

Correct answer: A

Explanation

To retrieve information about all devices in a Cisco SD-WAN fabric using the vManage REST API, you must use the GET HTTP method with the '/dataservice/device' endpoint. The GET method is specifically designed for retrieving data, and this endpoint provides details about every device in the fabric. Other methods like POST or PUT are not suitable for data retrieval, and the other endpoints listed are specific to different use cases.

  • A. Correct.

    This is the correct option because the GET method retrieves data and the endpoint '/dataservice/device' is used to fetch information about all devices in the SD-WAN fabric.

  • B. Incorrect.

    This is incorrect because the POST method is used to create or update resources, not to retrieve data.

  • C. Incorrect.

    This is incorrect because the '/dataservice/device/state' endpoint is used for retrieving state-specific information of devices, not general device details.

  • D. Incorrect.

    This is incorrect because the PUT method is used to update existing resources, and the endpoint '/dataservice/device/configuration' relates to configuration changes, not general device information.

Timed practice exam

Take a 300-435 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