Lesson 12 of 15
4. DNS

Interview questions

7 min read+10 XP

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

Q1. Walk me through a DNS lookup.

They're testing: the full chain, in order, including caching.

Think about your answer first, then open it.

reveal

Q2. Recursive vs iterative resolution?

They're testing: precise vocabulary.

Think about your answer first, then open it.

reveal

Q3. A record vs CNAME? Why can't the bare domain be a CNAME?

They're testing: record semantics and a classic gotcha.

Think about your answer first, then open it.

reveal

Q4. What is a TTL, and how would you choose one?

They're testing: the freshness vs load trade-off.

Think about your answer first, then open it.

reveal

Q5. We're moving to new servers next week. How do you change DNS without downtime?

They're testing: practical operations.

Think about your answer first, then open it.

reveal

Q6. Can DNS be used for load balancing? What are the limits?

They're testing: knowing what DNS can and can't do.

Think about your answer first, then open it.

reveal

Q7. How does GeoDNS know where a user is?

They're testing: a subtle but real limitation.

Think about your answer first, then open it.

reveal

Q8. What happens to your site if your DNS provider goes down? How do you protect against it?

They're testing: awareness of DNS as a single point of failure.

Think about your answer first, then open it.

reveal

Q9. Why does DNS mostly use UDP?

They're testing: connecting transport choices to the workload.

Think about your answer first, then open it.

reveal

Q10. A user says your site doesn't load for them, but it works for everyone else. How could DNS be involved?

They're testing: debugging instinct.

Think about your answer first, then open it.

reveal