Bird
0
0

Spotify wants to improve its architecture to handle sudden spikes in user traffic during new album releases. Which design change best supports this?

hard📝 Trade-off Q8 of 15
Microservices - Real-World Architecture Case Studies
Spotify wants to improve its architecture to handle sudden spikes in user traffic during new album releases. Which design change best supports this?
AMerge all microservices into a single monolithic app
BImplement auto-scaling groups for streaming and playlist microservices
CDisable caching to always fetch fresh data
DUse a single database for all microservices
Step-by-Step Solution
Solution:
  1. Step 1: Identify scaling solution for traffic spikes

    Auto-scaling allows services to add resources automatically during high load.
  2. Step 2: Reject poor design choices

    Merging services reduces flexibility; disabling cache hurts performance; single DB creates bottleneck.
  3. Final Answer:

    Implement auto-scaling groups for streaming and playlist microservices -> Option B
  4. Quick Check:

    Traffic spikes = Auto-scaling [OK]
Quick Trick: Auto-scale services to handle traffic spikes smoothly [OK]
Common Mistakes:
  • Thinking monolith improves scalability
  • Disabling cache reduces performance
  • Using one database causes bottlenecks

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes