300-435 exam dumps

300-435 practice question 39 of 322

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

300-435 Question 39

Single answer

You are automating a network provisioning workflow using Cisco DNA Center APIs. The workflow requires you to retrieve a list of all network devices managed by Cisco DNA Center. Which API method should you use to accomplish this task?

  1. A

    GET /api/v1/network-device

  2. B

    POST /api/v1/device-health

  3. C

    GET /api/v1/site

  4. D

    PUT /api/v1/network-device

Show answer and explanation

Correct answer: A

Explanation

To retrieve a list of all network devices managed by Cisco DNA Center, the GET /api/v1/network-device API method is used. This endpoint fetches detailed information about network devices, which is necessary for network provisioning workflows. The other options either use incorrect HTTP methods or access endpoints that serve different purposes.

  • A. Correct.

    This is the correct API method to retrieve a list of all network devices managed by Cisco DNA Center. The GET HTTP method is used to query and fetch information.

  • B. Incorrect.

    This API method is used to retrieve device health information, but it does not provide a list of all network devices. Additionally, POST is typically used for creating resources, not retrieving them.

  • C. Incorrect.

    This API method is used to retrieve site-related information, such as site hierarchy, but it does not provide details about network devices.

  • D. Incorrect.

    The PUT HTTP method is used to update existing resources, and this specific API endpoint does not exist in Cisco DNA Center for this use case.

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