300-435 exam dumps

300-435 practice question 200 of 322

Automating Cisco Enterprise Solutions. Professional level, Cisco. Free question with the correct answer and a full explanation.

300-435 Question 200

Single answer

A network administrator is tasked with automating the addition of a new branch office site to the Cisco DNA Center. The administrator plans to use the Site APIs to create a site hierarchy consisting of Global > Region > Branch. Which API sequence should the administrator use to achieve this hierarchy?

  1. A

    Use the 'Create Site' API three times: first for Global, then Region, and finally Branch.

  2. B

    Use the 'Get Site' API to fetch existing site details, then use the 'Update Site' API to add the new hierarchy.

  3. C

    Use the 'Delete Site' API to remove default sites, then use the 'Create Site' API to configure the new Global > Region > Branch hierarchy.

  4. D

    Use the 'Create Site' API once for the Branch level, as it automatically creates higher levels (Global and Region).

Show answer and explanation

Correct answer: A

Explanation

To create a site hierarchy in Cisco DNA Center using Site APIs, the 'Create Site' API must be used for each level of the hierarchy. The administrator must first create the Global level, then the Region level under Global, and finally the Branch level under the appropriate Region. This ensures a properly structured hierarchy.

  • A. Correct.

    This is the correct approach. The 'Create Site' API needs to be called three times to define each level of the hierarchy (Global, Region, and Branch) in the correct order.

  • B. Incorrect.

    This is incorrect because the 'Get Site' and 'Update Site' APIs are used for retrieving and modifying existing site details, not for creating new site hierarchies.

  • C. Incorrect.

    This is incorrect as the 'Delete Site' API is used to remove sites, not to create or restructure site hierarchies. There is no need to delete default sites before creating a new hierarchy.

  • D. Incorrect.

    This is incorrect because the 'Create Site' API does not automatically create higher levels in the hierarchy. Each level must be explicitly defined and created.

Timed practice exam

Take a 300-435 practice test under exam conditions

75 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam