300-435 Question 206
Single answerYou are automating the deployment of a Cisco Software-Defined Access (SDA) fabric using Cisco DNA Center APIs. Your goal is to retrieve information about device roles within the fabric, such as Edge Nodes, Control Plane Nodes, and Border Nodes. Which API endpoint should you use to achieve this?
- A
/dna/intent/api/v1/network-device
- B
/dna/intent/api/v1/sda/device-role
- C
/dna/intent/api/v1/site
- D
/dna/intent/api/v1/sda/fabric-site
Show answer and explanation
Correct answer: B
Explanation
To retrieve information about device roles in an SDA fabric, such as Edge Nodes, Control Plane Nodes, or Border Nodes, the correct API endpoint is '/dna/intent/api/v1/sda/device-role'. This endpoint is specifically designed for querying device roles in a Software-Defined Access environment. Other endpoints either focus on general network device information, site-based data, or fabric site details, which are not role-specific.
- A. Incorrect.
This endpoint retrieves details about network devices but does not provide specific information about SDA roles like Edge Nodes, Control Plane Nodes, and Border Nodes.
- B. Correct.
This endpoint is specifically designed to retrieve the roles of devices in the SDA fabric, such as Edge Nodes, Control Plane Nodes, and Border Nodes.
- C. Incorrect.
This endpoint retrieves information about sites in Cisco DNA Center but is unrelated to the roles of devices in the SDA fabric.
- D. Incorrect.
This endpoint retrieves details about SDA fabric sites but does not provide device role information.