300-435 Question 202
Select 2You are automating the deployment of a new branch site using Cisco DNA Center's Site APIs. The new site requires specific attributes, including a hierarchy of 'Global > Region > Branch', and must have time zone and address details configured. Which steps should you include in your automation workflow to successfully create the site?
- A
Use the 'Create Site' API to define the site hierarchy and include time zone and address details in the payload.
- B
Use the 'Site Health' API to validate the status of the newly created site.
- C
First, use the 'Create Site' API to define the site hierarchy, then use the 'Update Site' API to add time zone and address details.
- D
Use the 'Get Site' API to retrieve and verify existing site details before creating a new one.
- E
Use the 'Delete Site' API to remove any conflicting site configurations before creating the new site.
Show answer and explanation
Correct answers: A, C
Explanation
To automate the creation of a new branch site using Cisco DNA Center's Site APIs, you can either include all required details (hierarchy, time zone, and address) in the initial 'Create Site' API payload or use a two-step process where the site hierarchy is created first using 'Create Site', followed by adding additional details like time zone and address using the 'Update Site' API. Both approaches are valid, depending on the API payload and workflow design.
- A. Correct.
Correct. The 'Create Site' API can be used to define the site hierarchy and include necessary details like time zone and address in a single step if the payload is properly structured.
- B. Incorrect.
Incorrect. The 'Site Health' API is used to check the operational status of a site, not for creating or configuring it.
- C. Correct.
Correct. A two-step process using 'Create Site' followed by 'Update Site' ensures the site is created with the hierarchy first, and then additional details like time zone and address can be added.
- D. Incorrect.
Incorrect. The 'Get Site' API retrieves information about existing sites but is not used in the creation process.
- E. Incorrect.
Incorrect. The 'Delete Site' API is not required unless there is a specific conflict with an existing site, which is not indicated in this scenario.