gRPC interview questions — Hard

98 hard-level gRPC questions from our API Testing bank, each with the correct answer and an explanation of why it is correct.

This topic slice is available to practise but is not yet part of our indexed set.

What this covers

gRPC appears throughout API Testing interviews. At hard level, interviewers are typically checking depth under pressure — edge cases, failure modes, performance characteristics, and the trade-offs you accepted. Work through these, then explain your answer out loud; the second part is what interviews actually test.

4 example questions

  1. 1. Regarding gRPC, which of the following is a false statement?

    • A. GRPC supports unary, server-streaming, client-streaming, and bidirectional-streaming calls.
    • B. Grpcurl is a command-line tool for invoking gRPC services, similar to curl for REST.
    • C. GRPC runs exclusively over HTTP/1.0.correct
    • D. GRPC runs over HTTP/2, enabling multiplexed streams on one connection.

    Why: The selected statement is false. The other options are accurate statements about gRPC.

  2. 2. Identify the INCORRECT statement about gRPC:

    • A. GRPC status codes (like UNAVAILABLE, DEADLINE_EXCEEDED) differ from HTTP status codes.
    • B. GRPC uses Protocol Buffers as its default interface definition and serialization format.
    • C. GRPC uses XML as its default serialization format.correct
    • D. Binary Protobuf payloads are smaller and faster to parse than equivalent JSON.

    Why: The selected statement is false. The other options are accurate statements about gRPC.

  3. 3. Which statement about gRPC is NOT correct?

    • A. Binary Protobuf payloads are smaller and faster to parse than equivalent JSON.
    • B. GRPC reuses the standard HTTP status codes like 404 and 500 as its own.correct
    • C. Deadlines/timeouts are first-class in gRPC and should be tested for correct handling.
    • D. GRPC status codes (like UNAVAILABLE, DEADLINE_EXCEEDED) differ from HTTP status codes.

    Why: The selected statement is false. The other options are accurate statements about gRPC.

  4. 4. Which of the following statements about gRPC is FALSE?

    • A. Protobuf messages are larger and slower to parse than JSON.correct
    • B. GRPC supports unary, server-streaming, client-streaming, and bidirectional-streaming calls.
    • C. Grpcurl is a command-line tool for invoking gRPC services, similar to curl for REST.
    • D. Deadlines/timeouts are first-class in gRPC and should be tested for correct handling.

    Why: The selected statement is false. The other options are accurate statements about gRPC.

Related API Testing topics