300-420 Question 309
Single answerAn enterprise network is implementing a new automation system to manage device configurations using YANG data models. The team is debating whether to use on-change publication for telemetry data. In which scenario would on-change publication be the most appropriate choice?
- A
Monitoring network interfaces for bandwidth usage trends over a 24-hour period
- B
Detecting and reporting link failures immediately as they occur
- C
Collecting periodic CPU utilization metrics from all devices for capacity planning
- D
Gathering daily device inventory information from network devices
Show answer and explanation
Correct answer: B
Explanation
On-change publication is a method of telemetry that ensures data is sent only when a specified change occurs in the network state. This makes it highly efficient and effective for scenarios where immediate notification of changes is critical, such as detecting link failures or other network events that require real-time response.
- A. Incorrect.
Monitoring bandwidth usage trends is better suited to periodic data collection because the data changes gradually over time and does not require immediate notification.
- B. Correct.
On-change publication is ideal for scenarios like detecting link failures since it ensures the network reports changes in state immediately, reducing response time to critical events.
- C. Incorrect.
Periodic CPU utilization metrics are better handled using periodic data collection methods, as they are not event-driven and do not change instantaneously.
- D. Incorrect.
Device inventory information typically changes infrequently and is better suited for scheduled or on-demand collection rather than on-change publication.