300-435 exam dumps

300-435 practice question 186 of 322

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

300-435 Question 186

Single answer

You are automating network management tasks using the Cisco DNA Center API. Your task is to retrieve a list of all network devices managed by Cisco DNA Center. Which API endpoint and HTTP method combination would you use to accomplish this?

  1. A

    GET /dna/intent/api/v1/network-device

  2. B

    POST /dna/intent/api/v1/network-device

  3. C

    GET /dna/intent/api/v1/topology

  4. D

    PUT /dna/intent/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 correct combination of HTTP method and API endpoint is 'GET /dna/intent/api/v1/network-device'. This endpoint specifically provides device-related data, and the 'GET' method ensures that data is fetched rather than created or modified.

  • A. Correct.

    This is the correct endpoint and HTTP method to retrieve a list of all network devices managed by Cisco DNA Center. The 'GET' method is used to fetch data, and '/dna/intent/api/v1/network-device' is the appropriate endpoint.

  • B. Incorrect.

    The 'POST' method is used to create or update resources, not retrieve them. Therefore, this is incorrect for fetching a list of network devices.

  • C. Incorrect.

    The '/dna/intent/api/v1/topology' endpoint is used for retrieving network topology information, not a list of network devices. This is not the correct choice.

  • D. Incorrect.

    The 'PUT' method is used to update existing resources, not retrieve information. Additionally, the specified endpoint is not intended for updates in this context.

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