nerdexam
Cisco

350-501 · Question #167

Refer to the exhibit. 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?

The correct answer is A. It is the encoding requested by the gRPC server. When a customer's router has a gRPC dial-in configuration, it typically acts as a gRPC server, and the encoding setting determines the message format (e.g., Protocol Buffers) that the server (router) requests or expects from the connecting gRPC client.

Automation and Assurance

Question

Refer to the exhibit. 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?

Options

  • AIt is the encoding requested by the gRPC server.
  • BIT is the encoding that is used for dial-in and dial-out.
  • CIt is used for encoding with the default protocol buffers
  • DIt is the encoding requested by the gRPC client.

How the community answered

(43 responses)
  • A
    93% (40)
  • B
    5% (2)
  • C
    2% (1)

Why each option

When a customer's router has a gRPC dial-in configuration, it typically acts as a gRPC server, and the encoding setting determines the message format (e.g., Protocol Buffers) that the server (router) requests or expects from the connecting gRPC client.

AIt is the encoding requested by the gRPC server.Correct

In a gRPC 'dial-in' scenario where the configuration is on the customer's router, the router typically functions as the gRPC server, allowing a remote client (e.g., a network management system) to establish a connection. Therefore, the encoding specified in the router's configuration dictates the preferred or expected message format that the gRPC server requests from or uses with the connecting gRPC client.

BIT is the encoding that is used for dial-in and dial-out.

The encoding setting usually pertains to the message format within the gRPC session, not a general statement about all dial-in and dial-out, as the client/server roles and their preferred encodings might differ.

CIt is used for encoding with the default protocol buffers

While Protocol Buffers are the default for gRPC, the 'encoding requested by the gRPC server' specifies *which* encoding is used, rather than just stating it's for 'default protocol buffers,' especially if other encodings like JSON are also supported.

DIt is the encoding requested by the gRPC client.

If the router has a 'dial-in' configuration, it implies it is acting as a server, waiting for clients to connect. Therefore, it is not the gRPC client requesting the encoding; rather, it's the server specifying what it requests or supports.

Concept tested: gRPC server encoding in dial-in telemetry

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/xe-16/b_xe-16-prog_config_guide/gRPC_based_model_driven_telemetry.html

Topics

#gRPC#Network Automation#Streaming Telemetry#Data Encoding

Community Discussion

No community discussion yet for this question.

Full 350-501 Practice