26. CDNs
Interview questions
Interview questions (with the counter-questions you'll get)
Q1. What is a CDN, and why use one?
They're testing: fundamentals.
Think about your answer first, then open it.
Q2. How do you decide what the CDN caches and for how long?
They're testing: HTTP caching knowledge.
Think about your answer first, then open it.
Q3. What's a cache key, and how can it go wrong?
They're testing: practical hit-ratio thinking.
Think about your answer first, then open it.
Q4. How do you update content that's cached on a CDN?
They're testing: invalidation strategies.
Think about your answer first, then open it.
Q5. What is an origin shield?
They're testing: CDN architecture depth.
Think about your answer first, then open it.
Q6. How do you serve personalised pages with a CDN?
They're testing: nuance.
Think about your answer first, then open it.
Q7. How does video streaming use CDNs?
They're testing: segmenting and ABR.
Think about your answer first, then open it.
Q8. Your CDN goes down. What happens, and how do you prepare?
They're testing: resilience.
Think about your answer first, then open it.
Q9. Pull or push CDN?
They're testing: trade-offs.
Think about your answer first, then open it.
Q10. How would you measure whether your CDN is working well?
They're testing: operational metrics.
Think about your answer first, then open it.