🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: How HTTPS Works: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. Why does TLS use symmetric encryption for the actual data?
  2. Q2. What is the main job of the server's certificate in TLS?
  3. Q3. In a Diffie-Hellman exchange, p = 23, g = 5 and the browser's secret is a = 6. What value does the browser send?
  4. Q4. How many round trips does a full TLS 1.3 handshake take?
  5. Q5. What does forward secrecy mean?
  6. Q6. Which of these is still visible to your Wi-Fi provider when you visit an HTTPS site?
  7. Q7. RTT = 40 ms. With TLS 1.3, how long until the first byte of the HTTP response arrives on a new connection (ignore DNS)?
  8. Q8. What does this print? (code)
  9. Q9. What does this print? (code)
  10. Q10. What does the HSTS header tell the browser?