mediumMultiple Choice
CCNP Practice Question: A network operations center (NOC) is deploying…
A network operations center (NOC) is deploying streaming telemetry from Cisco IOS-XE devices to a Kafka-based analytics platform. The engineer needs to ensure that the telemetry data is encoded in a compact, efficient format for high-volume streaming. Which encoding format should the engineer configure?
⚠ Common exam trap
Cisco often tests the misconception that JSON is the default or most efficient encoding for telemetry, but the trap here is that GPB is specifically designed for compact, high-volume streaming and is the recommended format for production-scale deployments.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Google Protocol Buffers (GPB) encoding.
Google Protocol Buffers (GPB) is the correct encoding because it provides a compact, binary serialization format that minimizes bandwidth and CPU overhead, making it ideal for high-volume streaming telemetry. Cisco IOS-XE devices support GPB encoding natively for model-driven telemetry, allowing efficient data transmission to analytics platforms like Kafka.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Google Protocol Buffers (GPB) encoding.
Why this is correct
GPB (Google Protocol Buffers) is a binary, schema-based serialization format that produces compact payloads, drastically reducing bandwidth and CPU overhead compared to text encodings. Its generated codecs and native support in gRPC make it the standard choice for high-volume, model-driven streaming telemetry on Cisco platforms. Because the schema is defined in .proto files and tied to YANG models, decoding is fast and unambiguous, even under sustained telemetry rates.
- ✗
JSON encoding.
Why it's wrong here
JSON is a text-based, human-readable format that is far more verbose than GPB, leading to larger payloads and increased bandwidth consumption. Parsing JSON requires CPU-intensitive string handling, which becomes a bottleneck when thousands of telemetry updates arrive per second. While JSON is usable with YANG data models, its lack of a schema for binary efficiency and its per-message overhead make it suboptimal for real-time streaming telemetry, where minimal latency and resource usage are critical.
- ✗
XML encoding.
Why it's wrong here
XML is an overly verbose, text-based markup language that wraps every data element in opening and closing tags, often including namespaces, making its payloads significantly larger than even JSON. Parsing XML is CPU-heavy and memory-intensive because the parser must construct a full document tree, which is impractical for high-frequency streaming telemetry. Although XML is used in NETCONF for configuration management, its bulky nature and slow processing eliminate it as a viable encoding for real-time network telemetry streaming over gRPC or gNMI.
- ✗
CSV encoding.
Why it's wrong here
CSV is a simple flat-file format that can represent only tabular data, not the nested, hierarchical structures typically found in YANG-based telemetry models. It lacks a formal schema, data typing, and standardized mapping to telemetry concepts, so a collector would be unable to interpret fields reliably without external context. Worse, commas, quotes, and newlines within data values can break the semantics, and the absence of compression or binary optimization makes CSV unsuitable for high-volume streaming telemetry on network devices.
About these practice questions
One of 1,923 original 350-401 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 350-401 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-401 exam.