RFC 8441 Quiz

Bootstrapping WebSockets with HTTP/2

0 / 0

References (URLs)

Goal: reason about WebSocket over HTTP/2 without the HTTP/1.1 Upgrade mechanism.

Q1: In HTTP/2, WebSockets are bootstrapped primarily using

Multiple Choice
**Explanation:** **Correct (B):** HTTP/2 does not use the same connection upgrade model as HTTP/1.1, so extended CONNECT is used

Q2: What does using WebSockets over HTTP/2 avoid compared to the HTTP/1.1 upgrade approach

Multiple Choice
**Explanation:** **Correct (C):** HTTP/2 multiplexes streams over one connection, so a WebSocket can live in a stream

Q3: A client uses an HTTP/2 CONNECT for a WebSocket. What should it signal as the target protocol

Multiple Choice
**Explanation:** **Correct (A):** The target protocol is indicated as websocket in the extended CONNECT mechanism

Q4: Which are still relevant for WebSocket semantics when using HTTP/2 bootstrapping (select all)

Multi-Select
**Explanation:** **Correct (A,B,C):** The bootstrapping changes, but the security and application concerns remain **Options:** - D (incorrect): HTTP/2 does not use the same Connection header model

Q5: A proxy only supports HTTP/2 and blocks Upgrade. What is a practical consequence for WebSockets

Multiple Choice
**Explanation:** **Correct (B):** HTTP/2 environments can use extended CONNECT to establish the WebSocket semantics

Q6: Which HTTP method is central to the HTTP/2 WebSocket bootstrapping approach (one word)

Short Text
**Explanation:** **Correct:** CONNECT