HTTP/HTTPS & TLS interview questions

66 HTTP/HTTPS & TLS questions from the Networking bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is HTTP?

Junior
  1. A.the response code indicating a successful request
  2. B.the stateless application protocol used to request and serve web resources
  3. C.the response code indicating a permanent redirect to a new URL
  4. D.a digital document binding a public key to an identity, validated by a CA

Answer + AI explanation with Pro

2. Which term means: "the stateless application protocol used to request and serve web resources"?

Junior
  1. A.HTTP
  2. B.HTTP cookie
  3. C.TLS cipher suite
  4. D.HTTP/2 multiplexing

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.HTTP — mutual TLS where both client and server present certificates to authenticate
  2. B.HTTP — a small token a server sets so clients maintain state across requests
  3. C.HTTP — the response code indicating an internal server error
  4. D.HTTP — the stateless application protocol used to request and serve web resources

Answer + AI explanation with Pro

4. What is port 80 → HTTP?

Junior
  1. A.key exchange that prevents past sessions from being decrypted if a key is later compromised
  2. B.the response code indicating the requested resource was not found
  3. C.the default well-known port for unencrypted web traffic
  4. D.the response code indicating a bad gateway from an upstream server

Answer + AI explanation with Pro

5. Which term means: "the default well-known port for unencrypted web traffic"?

Junior
  1. A.HTTP/2 multiplexing
  2. B.HTTP cookie
  3. C.TLS Server Name Indication (SNI)
  4. D.port 80 → HTTP

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.port 80 → HTTP — the default well-known port for unencrypted web traffic
  2. B.port 80 → HTTP — the request method used to submit data that may change server state
  3. C.port 80 → HTTP — attaching a cached certificate revocation status to the TLS handshake
  4. D.port 80 → HTTP — the default well-known port for TLS-encrypted web traffic

Answer + AI explanation with Pro

7. What is port 443 → HTTPS?

Junior
  1. A.the default well-known port for TLS-encrypted web traffic
  2. B.a key-value metadata field sent with requests and responses
  3. C.the request method used to submit data that may change server state
  4. D.the response code indicating a bad gateway from an upstream server

Answer + AI explanation with Pro

8. Which term means: "the default well-known port for TLS-encrypted web traffic"?

Junior
  1. A.HTTP status 301
  2. B.HSTS
  3. C.OCSP stapling
  4. D.port 443 → HTTPS

Answer + AI explanation with Pro

9. Which statement is correct?

Junior
  1. A.port 443 → HTTPS — the response code indicating a permanent redirect to a new URL
  2. B.port 443 → HTTPS — the negotiation of cipher suite and keys that secures an HTTPS session
  3. C.port 443 → HTTPS — the default well-known port for unencrypted web traffic
  4. D.port 443 → HTTPS — the default well-known port for TLS-encrypted web traffic

Answer + AI explanation with Pro

10. What is HTTP status 404?

Junior
  1. A.an extension letting a client specify the hostname during the TLS handshake
  2. B.the default well-known port for TLS-encrypted web traffic
  3. C.attaching a cached certificate revocation status to the TLS handshake
  4. D.the response code indicating the requested resource was not found

Answer + AI explanation with Pro

11. Which term means: "the response code indicating the requested resource was not found"?

Junior
  1. A.port 443 → HTTPS
  2. B.mTLS
  3. C.port 80 → HTTP
  4. D.HTTP status 404

Answer + AI explanation with Pro

12. Which statement is correct?

Junior
  1. A.HTTP status 404 — the default well-known port for unencrypted web traffic
  2. B.HTTP status 404 — the response code indicating the server refuses to authorize the request
  3. C.HTTP status 404 — the response code indicating the requested resource was not found
  4. D.HTTP status 404 — the agreed set of key exchange, encryption, and MAC algorithms for a session

Answer + AI explanation with Pro

13. What is HTTP status 200?

Junior
  1. A.the response code indicating a successful request
  2. B.the stateless application protocol used to request and serve web resources
  3. C.the agreed set of key exchange, encryption, and MAC algorithms for a session
  4. D.the response code indicating a bad gateway from an upstream server

Answer + AI explanation with Pro

14. Which term means: "the response code indicating a successful request"?

Junior
  1. A.HTTP header
  2. B.HTTP status 200
  3. C.HTTP status 502
  4. D.TLS handshake

Answer + AI explanation with Pro

15. Which statement is correct?

Junior
  1. A.HTTP status 200 — the response code indicating a permanent redirect to a new URL
  2. B.HTTP status 200 — mutual TLS where both client and server present certificates to authenticate
  3. C.HTTP status 200 — the response code indicating a successful request
  4. D.HTTP status 200 — a small token a server sets so clients maintain state across requests

Answer + AI explanation with Pro

16. What is HTTP GET method?

Junior
  1. A.the request method used to retrieve a resource without side effects
  2. B.the default well-known port for TLS-encrypted web traffic
  3. C.a header that forces browsers to use HTTPS for a domain
  4. D.the response code indicating the server refuses to authorize the request

Answer + AI explanation with Pro

17. Which term means: "the request method used to retrieve a resource without side effects"?

Junior
  1. A.TLS handshake
  2. B.HTTP GET method
  3. C.X.509 certificate
  4. D.TLS Server Name Indication (SNI)

Answer + AI explanation with Pro

18. Which statement is correct?

Junior
  1. A.HTTP GET method — the request method used to retrieve a resource without side effects
  2. B.HTTP GET method — a header that forces browsers to use HTTPS for a domain
  3. C.HTTP GET method — an extension letting a client specify the hostname during the TLS handshake
  4. D.HTTP GET method — the default well-known port for TLS-encrypted web traffic

Answer + AI explanation with Pro

19. What is TLS handshake?

Mid
  1. A.the response code indicating a permanent redirect to a new URL
  2. B.the negotiation of cipher suite and keys that secures an HTTPS session
  3. C.the stateless application protocol used to request and serve web resources
  4. D.the default well-known port for unencrypted web traffic

Answer + AI explanation with Pro

20. Which term means: "the negotiation of cipher suite and keys that secures an HTTPS session"?

Mid
  1. A.HTTP GET method
  2. B.HTTP status 403
  3. C.HTTP POST method
  4. D.TLS handshake

Answer + AI explanation with Pro

21. Which statement is correct?

Mid
  1. A.TLS handshake — the negotiation of cipher suite and keys that secures an HTTPS session
  2. B.TLS handshake — the request method used to retrieve a resource without side effects
  3. C.TLS handshake — the response code indicating a permanent redirect to a new URL
  4. D.TLS handshake — the response code indicating the server refuses to authorize the request

Answer + AI explanation with Pro

22. What is HTTP status 301?

Mid
  1. A.the response code indicating a successful request
  2. B.a small token a server sets so clients maintain state across requests
  3. C.the default well-known port for TLS-encrypted web traffic
  4. D.the response code indicating a permanent redirect to a new URL

Answer + AI explanation with Pro

23. Which term means: "the response code indicating a permanent redirect to a new URL"?

Mid
  1. A.mTLS
  2. B.HTTP status 403
  3. C.HSTS
  4. D.HTTP status 301

Answer + AI explanation with Pro

24. Which statement is correct?

Mid
  1. A.HTTP status 301 — an extension letting a client specify the hostname during the TLS handshake
  2. B.HTTP status 301 — the negotiation of cipher suite and keys that secures an HTTPS session
  3. C.HTTP status 301 — key exchange that prevents past sessions from being decrypted if a key is later compromised
  4. D.HTTP status 301 — the response code indicating a permanent redirect to a new URL

Answer + AI explanation with Pro

25. What is HTTP status 502?

Mid
  1. A.the response code indicating an internal server error
  2. B.the response code indicating the requested resource was not found
  3. C.the response code indicating the server refuses to authorize the request
  4. D.the response code indicating a bad gateway from an upstream server

Answer + AI explanation with Pro

26. Which term means: "the response code indicating a bad gateway from an upstream server"?

Mid
  1. A.HTTP status 502
  2. B.TLS cipher suite
  3. C.mTLS
  4. D.Perfect forward secrecy

Answer + AI explanation with Pro

27. Which statement is correct?

Mid
  1. A.HTTP status 502 — the response code indicating a bad gateway from an upstream server
  2. B.HTTP status 502 — a small token a server sets so clients maintain state across requests
  3. C.HTTP status 502 — the negotiation of cipher suite and keys that secures an HTTPS session
  4. D.HTTP status 502 — the response code indicating an internal server error

Answer + AI explanation with Pro

28. What is X.509 certificate?

Mid
  1. A.the negotiation of cipher suite and keys that secures an HTTPS session
  2. B.a digital document binding a public key to an identity, validated by a CA
  3. C.a header that forces browsers to use HTTPS for a domain
  4. D.a small token a server sets so clients maintain state across requests

Answer + AI explanation with Pro

29. Which term means: "a digital document binding a public key to an identity, validated by a CA"?

Mid
  1. A.Perfect forward secrecy
  2. B.HTTP status 500
  3. C.HTTP status 404
  4. D.X.509 certificate

Answer + AI explanation with Pro

30. Which statement is correct?

Mid
  1. A.X.509 certificate — a digital document binding a public key to an identity, validated by a CA
  2. B.X.509 certificate — the response code indicating the requested resource was not found
  3. C.X.509 certificate — the response code indicating an internal server error
  4. D.X.509 certificate — mutual TLS where both client and server present certificates to authenticate

Answer + AI explanation with Pro

Showing 30 of 66 HTTP/HTTPS & TLS questions — the full set, with answers, explanations and an AI tutor on every question, is inside.

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every HTTP/HTTPS & TLS question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers