Exam H12-891 All QuestionsBrowse all questions from this exam
Question 28

gRPC is a language-neutral, platform-neutral, and open source remote RPC system and supports the service methods of unary RPCs and streaming RPCs. Which of the following service methods are not supported by gRPC? (Choose all that apply.)

    Correct Answer: C

    gRPC supports four types of service methods: unary RPCs, server-side streaming RPCs, client-side streaming RPCs, and bidirectional streaming RPCs. The correct syntax for defining a streaming RPC method in gRPC has 'stream' keyword indicating streaming either in the request or response, or both. The method 'rpc stream LotsOfGreetings(HelloRequest) returns (HelloResponse) {};' uses 'stream' incorrectly in the method name which is not supported by gRPC.

Discussion
7c3a129Option: D

AL are supported