Challenge - 5 Problems
CDN Cache Purging Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
What happens when you purge a CDN cache?
When you purge a CDN cache, what is the immediate effect on the content delivery?
Attempts:
2 left
💡 Hint
Think about what 'purging' means in terms of cached data.
✗ Incorrect
Purging removes cached copies from CDN edge servers so that the next request fetches fresh content from the origin server.
❓ Architecture
intermediate2:00remaining
Designing a system to purge CDN cache efficiently
You need to design a system that triggers CDN cache purges automatically when content updates occur. Which architecture best supports this?
Attempts:
2 left
💡 Hint
Consider automation and minimizing unnecessary purges.
✗ Incorrect
Using webhooks and serverless functions allows immediate, targeted purges only for updated content, improving efficiency.
❓ scaling
advanced2:00remaining
Handling large-scale CDN cache purges
Your application serves millions of users globally and updates content frequently. What is the best approach to scale CDN cache purging without causing performance issues?
Attempts:
2 left
💡 Hint
Think about balancing freshness and system load.
✗ Incorrect
Batching and rate-limiting purge requests prevents overwhelming the CDN and origin servers while keeping content fresh.
❓ tradeoff
advanced2:00remaining
Tradeoffs in purging CDN cache aggressively vs. lazily
What is a key tradeoff when choosing to purge CDN cache aggressively (immediately after every update) versus lazily (periodically)?
Attempts:
2 left
💡 Hint
Consider freshness versus system resource usage.
✗ Incorrect
Purging immediately keeps content fresh but causes more origin requests; delaying purges reduces load but may serve outdated content.
❓ estimation
expert2:00remaining
Estimating purge request volume for a global CDN
Your website updates 10,000 unique content items daily. Each update requires purging the CDN cache for that item. If your CDN provider limits purge API calls to 1,000 per minute, what is the minimum time in minutes to complete all purges?
Attempts:
2 left
💡 Hint
Divide total purge requests by the rate limit per minute.
✗ Incorrect
10,000 items / 1,000 calls per minute = 10 minutes minimum to complete all purges.