4. DNS
Interview questions
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.
Q2. Recursive vs iterative resolution?
They're testing: precise vocabulary.
Think about your answer first, then open it.
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.
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.
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.
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.
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.
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.
Q9. Why does DNS mostly use UDP?
They're testing: connecting transport choices to the workload.
Think about your answer first, then open it.
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.