A breaking story pushes an alert to every subscriber and readers flood back within seconds, writing receipts and reactions as they go. Keep the app fast, keep corrected headlines visible within minutes and ride out a database failover inside the budget.
This is the practice version. Assessments always use a variant you have never seen.
At 18:00 the newsroom posts an election result. Pulse News sends a push alert to 4 million people. Within seconds, readers open the app:
The story changes as it develops. Readers must see fixes to a headline within a few minutes.
| Metric | Target |
|---|---|
| p95 latency | under 150 ms |
| Error rate | under 1 % |
| Estimated infra cost | under $1,500 per month |
Readers reach a load balancer, then the Feed API: 2 vCPU, from 4 to 24 instances. The API reads articles through a Redis cache with a 60-second TTL. Two small read replicas sit behind the cache. Every write goes straight to one medium Postgres primary.
Add parts from the palette, connect them and set them up. Run the load test as often as you like. In the Viva you will explain where the writes go during the spike.
| Design a Lossless Audit-Log Store for an AI Agent PlatformSystem designTiers: Mid-levelEditorial | Hard | System simulation | 45 min | Calibrating |
| Design a RAG Ingestion Pipeline That Survives a Re-Index StormSystem designTiers: JuniorEditorial | Medium | System simulation | 40 min | Calibrating |
| Put a Rate-Limited Gateway in Front of a Shared LLM PoolSystem designTiers: FresherEditorial | Easy | System simulation | 30 min | Calibrating |