Interview Prep
Home
System Design
Coding
Topics
Quizzes
Guide
All quizzes
Caching & Content Delivery Trade-offs
System Design Trade-offs Analysis
1 / 10
1-4 to answer · Arrow keys to navigate
Cache-Aside (Lazy Loading) is the most flexible caching strategy. What is its core trade-off?
A
The cache is pre-warmed with the full dataset on startup, ensuring low latency on all reads, but requiring significant upfront memory allocation and periodic full-refresh cycles to maintain consistency
B
Data is written to both cache and database simultaneously during every read miss, which guarantees consistency but doubles the write amplification and increases tail latency on the read path
C
The cache layer intercepts all database queries transparently, reducing read latency to near-zero, but introducing a single point of failure if the cache node becomes unavailable or partitions
D
Only requested data is cached (preventing memory bloat), but it is prone to data staleness and requires the application to manage complex orchestration and invalidation logic
0 / 0 correct