300-435 Question 226
Select 3You are tasked with applying a configuration template to multiple devices in your Cisco SD-WAN environment using the vManage Template API. Which steps should you perform to successfully apply the template to the devices?
- A
Send a GET request to retrieve the list of available templates from vManage.
- B
Send a POST request to the /template/device/config/input endpoint with the list of devices and template ID to generate input variables.
- C
Send a PUT request to the /template/device/config/attach endpoint with the device IDs and template ID to apply the template.
- D
Send a DELETE request to remove previously applied templates before applying the new one.
- E
Send a POST request to the /template/device/config/validate endpoint to validate the template configuration before applying it.
Show answer and explanation
Correct answers: B, C, E
Explanation
To apply a template using the vManage Template API, you need to first generate input variables by sending a POST request to the /template/device/config/input endpoint. Then, you should validate the configuration using the /template/device/config/validate endpoint. Finally, the template is applied to the devices using a PUT request to the /template/device/config/attach endpoint. While retrieving templates (GET) might be helpful, it is not a part of the process to apply a template, and deletion (DELETE) is unnecessary in this workflow.
- A. Incorrect.
A GET request can be used to retrieve the available templates, but it is not a required step to apply the template.
- B. Correct.
This step is necessary to generate input variables for the devices, as templates often require device-specific parameters.
- C. Correct.
The PUT request to the /template/device/config/attach endpoint is a critical step for applying the template to the specified devices.
- D. Incorrect.
A DELETE request is not required to apply a new template, as the vManage system handles template attachment without manual deletion.
- E. Correct.
Validation is an important step to ensure the template is correctly configured and can be applied without errors.