300-435 Question 191
Single answerYour organization has implemented Cisco DNA Center and is looking to automate network configurations using Intent APIs. The team wants to ensure that all newly deployed switches in the network automatically receive a predefined configuration consistent with the organization's standards. Which Intent API would you use to achieve this goal?
- A
GET /network-device
- B
POST /intent/api/v1/network-device/config
- C
POST /dna/intent/api/v1/template-programmer/template/deploy
- D
GET /dna/intent/api/v1/network-health
Show answer and explanation
Correct answer: C
Explanation
The correct API endpoint for automating the deployment of predefined configurations to network devices via Cisco DNA Center is POST /dna/intent/api/v1/template-programmer/template/deploy. This endpoint allows you to programmatically apply network templates to devices, ensuring consistency and reducing manual effort in managing configurations.
- A. Incorrect.
GET /network-device is used to retrieve information about network devices but does not configure them.
- B. Incorrect.
POST /intent/api/v1/network-device/config is not a valid endpoint for configuring devices via Intent APIs.
- C. Correct.
POST /dna/intent/api/v1/template-programmer/template/deploy is used to deploy configurations to devices based on predefined templates, which aligns with the requirement of automatically applying consistent configurations.
- D. Incorrect.
GET /dna/intent/api/v1/network-health is used for monitoring the health of the network and is not related to device configuration.