300-420 Question 313
Single answerA network engineer is designing a telemetry solution for a large enterprise network. The goal is to enable efficient streaming of telemetry data from network devices to a centralized collector, using a protocol that supports a subscription-based model and leverages a lightweight encoding format. Which protocol and model should the engineer choose?
- A
SNMP and XML
- B
gRPC and JSON
- C
gRPC and gNMI
- D
NETCONF and YANG
Show answer and explanation
Correct answer: C
Explanation
gRPC and gNMI are ideal for modern network telemetry use cases. gRPC provides a lightweight, efficient communication framework, while gNMI offers a subscription-based model for network management and telemetry. Together, they meet the requirements of streaming data efficiently using Protocol Buffers as the encoding mechanism.
- A. Incorrect.
SNMP and XML are not designed for telemetry streaming. SNMP is primarily used for polling and traps, and XML is not lightweight compared to other encoding formats like Protocol Buffers.
- B. Incorrect.
gRPC supports efficient communication, but JSON is not the recommended lightweight encoding format for gRPC-based telemetry. Protocol Buffers are generally used instead.
- C. Correct.
gRPC and gNMI are the correct choice as gRPC is a high-performance, open-source RPC framework, and gNMI (gRPC Network Management Interface) is specifically designed for network telemetry using a subscription-based model with efficient encoding (Protocol Buffers).
- D. Incorrect.
NETCONF and YANG are used for configuration management and modeling, not specifically for high-performance telemetry streaming with subscriptions.