200-901 Question 56
Single answerA network engineer is tasked with automating the deployment of virtual networks using Cisco DNA Center's APIs. The engineer wants to retrieve a list of existing network devices in the infrastructure to ensure proper configuration. Which Cisco DNA Center API endpoint should the engineer use to achieve this?
- A
/dna/intent/api/v1/network-device
- B
/dna/intent/api/v1/topology
- C
/dna/intent/api/v1/site
- D
/dna/intent/api/v1/configuration-template
Show answer and explanation
Correct answer: A
Explanation
The /dna/intent/api/v1/network-device endpoint is specifically designed to fetch information about all network devices managed by Cisco DNA Center. It is the correct choice for retrieving device data to ensure proper automation and configuration. Other endpoints, such as those for topology or sites, serve different purposes and do not provide a list of network devices.
- A. Correct.
This is the correct endpoint for retrieving the list of network devices using Cisco DNA Center APIs. It provides details about all devices in the network.
- B. Incorrect.
This endpoint retrieves topology information such as links and connectivity between devices but does not specifically list devices.
- C. Incorrect.
This endpoint is used to manage site information such as buildings or floor plans but not network devices.
- D. Incorrect.
This endpoint is related to managing configuration templates and does not provide network device details.