
An engineer applied a gRPC dial-in configuration on customer's router to provide
connection multiplexing and two-way streaming. What does this configuration accomplish
in a gRPC?
Show answerHide answer
Correct answer: D It is the encoding requested by the gRPC client
Explanation
ExplanationThe exhibit shows `encoding = gpbkv`, which is the gRPC encoding format used in Cisco IOS XR telemetry. GPBKV stands for Google Protocol Buffers Key-Value, a self-describing encoding format that carries both the key (the telemetry path) and the value (the data) within the message itself. In the context of a gRPC dial-in configuration, the client initiates the connection to the router (the gRPC server) and requests telemetry data using a specific encoding. The `encoding = gpbkv` parameter is specified by the gRPC client in its subscription request to tell the server which encoding format it wants for the streamed telemetry data. This makes option D the correct answer.
Why the other options are incorrect:
A. It is the encoding requested by the gRPC server – In gRPC dial-in mode, the client is the one that initiates the connection and specifies the encoding in the subscription request. The server does not request an encoding from the client; it responds using the encoding the client asked for.
B. IT is the encoding that is used for dial-in and dial-out – While gpbkv can be used in both dial-in and dial-out telemetry, this statement is too vague and does not accurately describe the specific role of the `encoding = gpbkv` parameter in a dial-in configuration. The parameter itself is a client-side request, not a generic statement about both modes.
C. It is used for encoding with the default protocol buffers – GPBKV is not the default Protocol Buffers encoding. The default Protocol Buffers (GPB) encoding is a compact, schema-based format that does not embed keys in the message. GPBKV is a separate, key-value variant that is self-describing and is selected explicitly by the client.
Reference:
Cisco IOS XR Telemetry Configuration Guide – gRPC Dial-In and Dial-Out Telemetry, Encoding Formats (GPB, GPBKV, JSON); Cisco 350-501 SPCOR Official Cert Guide, Automation and Assurance section; Cisco gRPC Telemetry documentation – Protocol Buffers Key-Value (GPBKV) encoding.





