CS FundamentalsVery hardGATE CS · Product company CS fundamentals
Ignoring DNS and transmission time, how many RTTs pass from the start of the TCP handshake until the first byte of the HTTP response arrives over HTTPS with (i) a full TLS 1.2 handshake and (ii) a full TLS 1.3 handshake?
- A. (i) 3 RTTs, (ii) 2 RTTs
- B. (i) 4 RTTs, (ii) 4 RTTs
- C. (i) 4 RTTs, (ii) 3 RTTs
- D. (i) 5 RTTs, (ii) 3 RTTs
Correct answer: C. (i) 4 RTTs, (ii) 3 RTTs
TCP's handshake takes 1 RTT. TLS 1.2 needs 2 RTTs (ClientHello/ServerHello…, then key exchange/Finished), TLS 1.3 only 1, and the HTTP request/response adds 1: 1 + 2 + 1 = 4 versus 1 + 1 + 1 = 3. TLS 1.3 0-RTT resumption can cut it to 2.
More Computer Networks questions
- Which set contains ONLY idempotent HTTP methods (repeating the same request has the same effect on the server as sending it once)?
- A reverse proxy forwards a request to an application server. Which status does the proxy return to the client when the application server…
- The zone example.com is delegated to the name server ns1.example.com. Why must the .com servers also return an A record for…
- A DNS answer is too large for a 512-byte UDP response and EDNS(0) is not in use. What happens?
- A 1 Gb file must reach 100 peers. The server uploads at 50 Mbps; every peer downloads at 10 Mbps and uploads at 2 Mbps. What are the…
- A TDM system carries 30 voice channels, each sampled 8000 times per second with 8-bit samples, plus 2 overhead slots of 8 bits in every…