300-435 exam dumps

300-435 practice question 187 of 322

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

300-435 Question 187

Single answer

You are tasked with automating the retrieval of all network devices connected to Cisco DNA Center and displaying their management IP addresses. Which Cisco DNA Center API endpoint should you use, and what is the correct HTTP method to accomplish this task?

  1. A

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

  2. B

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

  3. C

    /dna/intent/api/v1/device-health with HTTP GET

  4. D

    /dna/intent/api/v1/device-health with HTTP POST

Show answer and explanation

Correct answer: A

Explanation

The '/dna/intent/api/v1/network-device' endpoint with the HTTP GET method is specifically designed to retrieve information about all network devices managed by Cisco DNA Center. This data includes device details such as their management IP addresses, which fulfills the requirements of the task. Other endpoints and HTTP methods, such as POST or '/device-health', are not relevant for this use case.

  • A. Correct.

    This is the correct endpoint and HTTP method to retrieve details about all network devices managed by Cisco DNA Center, including their management IP addresses.

  • B. Incorrect.

    HTTP POST is incorrect for this task because retrieving data requires HTTP GET, not POST, which is used for creating or modifying resources.

  • C. Incorrect.

    This endpoint is used for retrieving device health metrics, not for retrieving network device details and their management IPs.

  • D. Incorrect.

    HTTP POST is not the correct method for this endpoint, and the endpoint itself is not relevant for retrieving network devices.

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