Model-driven telemetry: push-based YANG streaming

300-435 By islever Editorial Last updated

Configure a subscription for model driven telemetry on a Cisco IOS XE device (CLI, NETCONF, and RESTCONF)

Short answer

A Model-driven telemetry pushes YANG-modeled data from devices to collectors over gRPC instead of being polled.

Question

What is model-driven telemetry?
  1. Push-based data streaming from devices to collectors using YANG Correct Answer
  2. Pull-based SNMP polling
  3. CLI-based
  4. Syslog

Key Takeaways

Model-driven telemetry is push-based streaming in which devices send YANG-modeled measurements to collectors over gRPC. Option A wins because it names both required properties — push transport and YANG schema — while SNMP polling is pull-based, CLI is unstructured text, and syslog is event-based free-form text.

Expert Analysis

Model-driven telemetry pushes data to collectors using YANG models and gRPC.

Model-driven telemetry is defined by its transport direction and its data schema, and option A captures both: devices push measurements to collectors, and the payload is structured by a YANG model rather than by a proprietary MIB. Under the scenario's constraints — a telemetry subscription configured on a Cisco IOS XE device as described in the operations objective — the device does not wait to be asked. It periodically streams values for the paths the subscriber selected, which is why "push-based" is the distinguishing word in option A. The YANG component matters just as much: because the schema is model-driven, a collector can decode the gRPC-encoded payload into typed, path-addressed data without parsing human-readable text.

Option B fails on both halves. SNMP polling is pull-based — a manager issues GET requests at its own cadence — which is precisely the mechanism telemetry replaces. SNMP also draws on MIB trees rather than YANG models, so "SNMP polling" contradicts the model-driven part of the term. Option C, "CLI-based," names no protocol at all; scraping CLI output is text parsing, not a YANG-defined structured stream, and CLI output carries no stable machine-readable contract between device and collector. Option D, "Syslog," is a push mechanism, so it shares telemetry's direction, but syslog messages are free-form severity-tagged text keyed by facility and mnemonic — there is no YANG model governing them, and they are emitted on events rather than streamed as subscribed, periodic measurement samples.

The mechanism this question relies on but does not spell out is the subscription handshake: a client opens a gRPC channel and sends a Subscribe RPC whose Request message carries an encoding (proto or JSON), a list of updates with sample intervals, and optional established/once modes; the device then replies with a stream of SubscribeResponse messages until the subscription expires or is cancelled. Worked against this question's entities, a collector would subscribe to, say, Cisco-IOS-XE-interfaces-oper interface counters at a 30-second sample interval, and IOS XE would push only those paths — a bounded, decimated stream rather than an unconditional full-table dump. Two traps follow from that detail: telemetry still requires explicit decimation because raw high-frequency sampling can overwhelm the collector, and because only subscribed paths are sent, telemetry is not a wholesale replacement for syslog (event/notification) or SNMP (poll-based inventory and threshold checks).

So option A is the only choice that states both required properties — push transport and YANG-defined schema — while B, C and D each drop one or both. Note that the reference material also names gRPC as the transport; gRPC is the carrier, not the definition, so an option mentioning only YANG-based push would still qualify, which is what option A does.

Exam Strategy

When a definition question contrasts push and pull, identify the transport direction first — telemetry pushes on a subscription, SNMP polls on demand — then check the data schema. Use the pairing rule: reject any option that names a push mechanism without a YANG model (syslog) or a model without push (SNMP). On 300-435, telemetry questions usually hinge on that two-part test rather than on protocol trivia.

Practice All 300-435 Questions

Access 150 questions with complete answers and detailed explanations.

View Full 300-435 Practice Test →

← Back to 300-435 Study Guide