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?

  1. A. (i) 3 RTTs, (ii) 2 RTTs
  2. B. (i) 4 RTTs, (ii) 4 RTTs
  3. C. (i) 4 RTTs, (ii) 3 RTTs
  4. 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

Exams that ask this topic