300-435 Question 161
Single answerYou are automating network assurance for a large-scale enterprise network using Cisco DNA Center APIs. Your goal is to retrieve health information for all devices in the network to identify potential issues. Which API endpoint would you use to accomplish this task?
- A
/dna/intent/api/v1/network-health
- B
/dna/intent/api/v1/device-health
- C
/dna/intent/api/v1/topology
- D
/dna/intent/api/v1/issues
Show answer and explanation
Correct answer: B
Explanation
The /dna/intent/api/v1/device-health endpoint is specifically designed to retrieve health information for all devices in the network. This information is critical for automating network assurance tasks, as it allows you to monitor the status and identify potential issues with individual devices. While other endpoints may provide related data, such as network-wide health or topology, they do not directly address the need for device-specific health metrics.
- A. Incorrect.
This endpoint retrieves the overall health of the network, but it does not provide device-specific health information. It is used for a broader network view.
- B. Correct.
This endpoint is specifically used to retrieve health information for all devices in the network, making it the correct choice for identifying device-specific issues.
- C. Incorrect.
This endpoint is used to retrieve network topology information, such as links and connections, but it does not provide health data for devices.
- D. Incorrect.
This endpoint retrieves a list of network issues and their details but does not provide comprehensive health information for devices.