DevNet Associate (DEVASC) v1.0Infrastructure and AutomationHard
A network engineer is troubleshooting a flapping interface on a router. To understand the sequence of events leading to the issue, the engineer needs to collect historical syslog messages from the device and correlate them with interface status changes. Which type of data model is primarily concerned with defining the format and content of network device events and logs?
- ANotification data model
- BConfiguration data model
- COperational state data model
- DRPC data model
Show answer & explanationAnswer & explanation
Correct answer: A. Notification data model
Notification data models (often defined in YANG) are specifically designed to describe the format and content of event notifications and logs (like syslog messages) that a device can generate. While operational state models describe current device status, notification models describe event occurrences.
Why the other options are wrong
- B. Configuration data models define how to configure a device, not its event logs.
- C. Operational state data models describe the current operational status of a device, but not necessarily historical event logs or notifications.
- D. RPC data models define remote procedure calls, which are actions the device can perform, not event logs.
YANG Notification Data Model
A YANG notification data model defines the structure and content of asynchronous event notifications and logs that a network device can generate. These models allow for structured, programmatic processing of device events.
- Defines event structure.
- Used for logs and notifications.
- Asynchronous, push-based.
- Enables event-driven automation.
Memory trick: YANG models: 'C'onfig, 'S'tate, 'N'otify, 'R'PC.