300-435 Question 201
Single answerYou are automating the deployment of a new branch office using Cisco DNAC Site APIs. The branch office requires a hierarchical site structure to be created with the following levels: 'Global > Region1 > Branch1'. After creating the branch structure, you need to retrieve the Site ID for 'Branch1' to assign it to network devices. Which API endpoint should you use to retrieve the Site ID for 'Branch1'?
- A
/dna/intent/api/v1/site
- B
/dna/intent/api/v1/site-health
- C
/dna/intent/api/v1/topology/site-topology
- D
/dna/intent/api/v1/network-device
Show answer and explanation
Correct answer: A
Explanation
To retrieve the Site ID for 'Branch1', the correct API endpoint is '/dna/intent/api/v1/site'. This endpoint provides detailed site information, including the hierarchical structure and Site IDs, which are necessary for assigning devices to specific sites. Other endpoints mentioned are used for different purposes, such as monitoring site health, retrieving topology information, or managing network devices.
- A. Correct.
This is the correct endpoint to retrieve information about sites, including their Site IDs. It provides the necessary hierarchical site details.
- B. Incorrect.
This endpoint is used for monitoring site health and performance metrics, not for retrieving site details or Site IDs.
- C. Incorrect.
This endpoint is used for retrieving site topology information but does not provide detailed site-level information or Site IDs.
- D. Incorrect.
This endpoint is used for retrieving information about network devices, not for retrieving site details or Site IDs.