300-435 exam dumps

300-435 practice question 116 of 322

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

300-435 Question 116

Single answer

You are automating a Cisco SD-WAN environment and need to monitor changes in the device configuration. You want to trigger a Python script every time the configuration of a specific device changes. Which method would be the most appropriate to use in this scenario?

  1. A

    Use a periodic polling mechanism with REST API to check for configuration changes.

  2. B

    Utilize an on-change subscription with NETCONF to receive notifications when the configuration changes.

  3. C

    Implement a webhook to periodically query the device for configuration updates.

  4. D

    Use SNMP traps to monitor and trigger the necessary script.

Show answer and explanation

Correct answer: B

Explanation

The on-change subscription with NETCONF is the most appropriate method because it is event-driven and allows you to receive configuration change notifications in real time without the need for resource-intensive polling. This approach is highly relevant in automation workflows where timely responses to changes are critical.

  • A. Incorrect.

    Using a periodic polling mechanism with REST API is not efficient as it consumes more resources and increases latency compared to event-driven methods.

  • B. Correct.

    An on-change subscription with NETCONF is an event-driven approach that allows you to receive notifications as soon as there are configuration changes, making it the most efficient method in this scenario.

  • C. Incorrect.

    Webhooks are typically used to receive notifications about external system events, but periodically querying with webhooks is not the same as an event-driven subscription like on-change.

  • D. Incorrect.

    SNMP traps can be used to monitor certain events, but they are not ideal for configuration change notifications in a Cisco SD-WAN environment.

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