300-435 Question 168
Single answerYou are tasked with automating a network configuration change across your Cisco DNA Center-managed network. Using the Intent APIs, you want to update the VLAN configuration on a set of switches. Which step must you complete before making the API call to ensure the changes are applied successfully?
- A
Ensure that the devices are marked as reachable in Cisco DNA Center.
- B
Manually create VLAN configurations on all target switches before calling the API.
- C
Obtain the VLAN ID and description from the Cisco DNA Center inventory API.
- D
Restart the Cisco DNA Center services to refresh the API cache.
Show answer and explanation
Correct answer: A
Explanation
Before using Cisco DNA Center Intent APIs to make configuration changes, it is crucial to ensure that the devices you are targeting are reachable. This ensures the API commands can be executed successfully and the configuration changes can be applied to the intended devices.
- A. Correct.
Ensuring that the devices are reachable in Cisco DNA Center is a prerequisite for making any changes via Intent APIs. If the devices are unreachable, the API calls will fail.
- B. Incorrect.
Manually creating VLAN configurations is unnecessary when using Intent APIs, as the APIs are designed to automate this process.
- C. Incorrect.
While obtaining VLAN information is useful, it is not a required step for applying configuration changes using Intent APIs.
- D. Incorrect.
Restarting Cisco DNA Center services is not related to making API calls or ensuring the success of configuration changes.