350-401 Question 323
Single answerA network engineer wants to automate the provisioning of devices and monitor network health using Cisco DNA Center. Which REST API endpoint would be suitable for retrieving a list of all network devices managed by Cisco DNA Center?
- A
/dna/intent/api/v1/network-health
- B
/dna/intent/api/v1/network-device
- C
/v1/device/operational-summary
- D
/dna/intent/api/v1/topology
Show answer and explanation
Correct answer: B
Explanation
The /dna/intent/api/v1/network-device endpoint in Cisco DNA Center's REST API is specifically designed to fetch details about network devices being managed by the platform. This is useful for automation tasks such as device inventory management or monitoring. Other endpoints, such as those for network health or topology, serve different purposes and do not provide a list of managed devices.
- A. Incorrect.
This API endpoint is used to retrieve the overall health status of the network but does not provide specific device information.
- B. Correct.
This is the correct endpoint for retrieving a list of all network devices managed by Cisco DNA Center.
- C. Incorrect.
This is not a valid Cisco DNA Center API endpoint and does not relate to retrieving device information.
- D. Incorrect.
This endpoint is used for retrieving network topology details, not a list of devices.