← All topics
Quiz: Caching and CDNs: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. In cache-aside, what happens on a cache MISS?
- Q2. What does a TTL do?
- Q3. Which eviction policy removes the item that hasn't been used for the longest time?
- Q4. What is a CDN mainly used for?
- Q5. Which write strategy is fastest but risks losing data if the cache crashes?
- Q6. If 90% of reads hit the cache, how much read load reaches the database compared with no cache?
- Q7. What does this print? (code)
- Q8. A course title changes in the database. What is a simple way to stop users seeing the old title from the cache?
- Q9. What is a cache stampede?
- Q10. Which data should NOT be served from a cache that may be a few minutes stale?