Interview Q&A / System Design
System Design interview questions
Caching, scaling, databases and classic design problems for beginners.
Prefer rapid revision? Practise System Design short interview answers →
- Can you give a simple example of when Layer 7 load balancing is necessary?
Layer 7 is needed when routing depends on request content, such as the URL path, headers or cookies. For example, sending /api traffic to API servers and /images traffic to a media cluster.
IntermediateQuick answer1 min read - How does DNS-based global load balancing route users to the nearest data centre?
The DNS service answers with a different IP depending on where the user is, which server is healthy, or latency measurements. Users in Mumbai get the Mumbai address, users in London get London's.
IntermediateQuick answer1 min read