300-435 Question 115
Single answerA network engineer is automating a Cisco SD-WAN solution and needs to ensure that changes in the network configuration are immediately detected and processed by a custom Python script. Which mechanism best supports this 'on-change' behavior in a scalable and efficient manner?
- A
Polling the Cisco SD-WAN API at regular intervals to check for configuration changes
- B
Using a webhook to receive notifications from the Cisco SD-WAN controller when a configuration change occurs
- C
Using SNMP traps sent from network devices to track configuration changes
- D
Manually reviewing the configuration logs on the SD-WAN devices to identify changes
Show answer and explanation
Correct answer: B
Explanation
The 'on-change' concept focuses on reacting to changes in real-time without relying on inefficient polling mechanisms. In this scenario, using webhooks allows the SD-WAN controller to push notifications to the custom script whenever a configuration change occurs, achieving a scalable and efficient solution.
- A. Incorrect.
Polling the API at regular intervals can work, but it is not efficient or scalable for real-time 'on-change' detection as it introduces latency and unnecessary API calls.
- B. Correct.
Webhooks provide a mechanism for the SD-WAN controller to notify the script of changes in real-time, making it the most efficient and scalable approach for 'on-change' behavior.
- C. Incorrect.
SNMP traps are designed for monitoring and alerting but are not typically used for configuration change detection in modern SD-WAN solutions.
- D. Incorrect.
Manually reviewing logs is neither automated nor scalable, and does not satisfy the requirements for real-time detection.