350-701 · Question #728
A network engineer must use the Cisco DNA Center API to create a configuration template to provision a device. Which two method and endpoint pairs must be used to create the template? (Choose two.)…
The correct answer is B. POST /dna/intent/api/v1/template-programmer/project/{project_id}/template D. POST /dna/intent/api/v1/template-programmer/template/version. Creating a configuration template in Cisco DNA Center requires two sequential steps: first, POST to /dna/intent/api/v1/template-programmer/project/{project_id}/template to create the template within an existing project, and second, POST to…
Question
A network engineer must use the Cisco DNA Center API to create a configuration template to provision a device. Which two method and endpoint pairs must be used to create the template? (Choose two.) A. B. C. D. E.
Options
- APOST /dna/intent/api/v1/discovery
- BPOST /dna/intent/api/v1/template-programmer/project/{project_id}/template
- CGET /dna/intent/api/v1/global-pool
- DPOST /dna/intent/api/v1/template-programmer/template/version
- EGET /dna/intent/api/v1/global-credential/{credential_id}
How the community answered
(29 responses)- A14% (4)
- B55% (16)
- C24% (7)
- E7% (2)
Explanation
Creating a configuration template in Cisco DNA Center requires two sequential steps: first, POST to /dna/intent/api/v1/template-programmer/project/{project_id}/template to create the template within an existing project, and second, POST to /dna/intent/api/v1/template-programmer/template/version to commit/version the template, making it available for deployment. Without versioning (option D), the template remains in draft state and cannot be used to provision devices.
Topics
Community Discussion
No community discussion yet for this question.