Lesson 15 of 18
3. Client and Server

Interview questions

8 min read+10 XP

Interview questions (with the counter-questions you'll get)

Q1. What happens when you type a URL into the browser and press Enter?

They're testing: whether you can describe the whole path in order, then go deep anywhere.

Think about your answer first, then open it.

reveal

Q2. GET vs POST?

They're testing: semantics, not just "POST has a body".

Think about your answer first, then open it.

reveal

Q3. PUT vs PATCH vs POST?

They're testing: idempotency and resource thinking.

Think about your answer first, then open it.

reveal

Q4. Which HTTP methods are idempotent, and why does it matter?

They're testing: reliability thinking.

Think about your answer first, then open it.

reveal

Q5. 401 vs 403? 502 vs 503 vs 504?

They're testing: precise codes, which shows real debugging experience.

Think about your answer first, then open it.

reveal

Q6. TCP vs UDP: when would you use each?

They're testing: trade-offs, not definitions.

Think about your answer first, then open it.

reveal

Q7. How does HTTPS work?

They're testing: a correct, simple mental model.

Think about your answer first, then open it.

reveal

Q8. HTTP/1.1 vs HTTP/2 vs HTTP/3?

They're testing: why each version exists.

Think about your answer first, then open it.

reveal

Q9. What does stateless mean, and why do we want stateless servers?

They're testing: the link between statelessness and scaling.

Think about your answer first, then open it.

reveal

Q10. Sessions or JWTs?

They're testing: trade-offs, especially revocation.

Think about your answer first, then open it.

reveal

Q11. What are cookies, and how do you keep them safe?

They're testing: basic web security awareness.

Think about your answer first, then open it.

reveal