300-435 exam dumps

300-435 practice question 244 of 322

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

300-435 Question 244

Single answer

You are tasked with writing a Python script to retrieve the list of devices managed by a Cisco SD-WAN vManage instance. After obtaining an access token, which API request should you use to fetch the device information?

  1. A

    Perform a GET request to the endpoint '/dataservice/device'.

  2. B

    Perform a POST request to the endpoint '/dataservice/device'.

  3. C

    Perform a GET request to the endpoint '/dataservice/template/device/config'.

  4. D

    Perform a GET request to the endpoint '/dataservice/device/control'.

Show answer and explanation

Correct answer: A

Explanation

To retrieve a list of devices from vManage, you need to use the API endpoint '/dataservice/device' with a GET request. This endpoint provides device information such as hostname, IP address, and status. Other endpoints either serve different purposes or require different HTTP methods.

  • A. Correct.

    This is the correct endpoint and method for retrieving device information from Cisco SD-WAN vManage.

  • B. Incorrect.

    POST requests are used to create or modify resources, not to retrieve information. This is incorrect.

  • C. Incorrect.

    This endpoint is used to retrieve device configuration templates, not the list of devices. Hence, it is incorrect.

  • D. Incorrect.

    This endpoint retrieves control connection information, not the list of devices. This is incorrect.

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