Quiz
2667 questions of the kind that actually get asked — in interviews, in architecture review boards, and by the person who has to run the thing at 3 AM. Every answer states the trade-off rather than the slogan, and says when the obvious choice is the wrong one.
All areas2667
Architecture Fundamentals81
Distributed Systems101
Data Architecture90
Cloud Architecture87
Networking86
API & Integration Architecture78
Reliability & Resilience88
Observability81
Performance & Capacity Engineering90
Security Architecture95
Cost Architecture & FinOps92
Business Architecture93
Architecture Communication91
Enterprise Architecture91
Legacy Modernization92
AI-Era Architecture86
Software Architecture & Engineering84
Architecture Patterns84
Architecture Decision-Making91
The Architect's Meta-Skills92
Delivery & Release Engineering93
Platform Engineering & Developer Experience92
Testing & Quality Architecture90
Data Platform Architecture88
Streaming & Real-Time Data93
Data Governance & Semantics81
Frontend & Experience Architecture91
Edge, Mobile & IoT88
Regulatory & Data Protection Architecture90
Assurance, Audit & Model Risk88
80 questions in Distributed Systems.
-
Consistency Models advanced
A food-delivery platform must match orders to nearby couriers while supply and demand change every few seconds. Which information needs strong consistency, which can be stale, and how should dispatch handle a courier who accepted a job while their availability record was out of date?
2 min answer swiggydispatchgeospatialstaleness -
Consistency Models advanced Multiple choice
For a shopping cart at very large scale, would you choose a strongly consistent store or an always-writeable one with conflict resolution?
2 min answer amazondynamoavailabilitytradeoffs -
Consistency Models advanced
Two people are editing the same page in a collaborative workspace. One loses connectivity for several minutes while continuing to type, then reconnects. What should happen, and what consistency guarantee is actually required?
2 min answer consistencycollaborationofflinenotion -
Distributed Locking advanced
A media platform uses a distributed lock to stop two workers rendering the same expensive export. Workers sometimes crash while holding the lock, and occasionally two workers process the same job anyway. Diagnose both problems and redesign.
2 min answer distributed-lockingleasesfencingidempotency -
Distributed Locking advanced
A team proposes a distributed lock to stop two workers processing the same transaction. Workers sometimes crash or pause while holding the lock. What is the safer design, and when is a lock genuinely necessary?
2 min answer jupiterdistributed-lockfencingidempotency -
Distributed Locking advanced Multiple choice
A team uses a distributed lock in a key-value store to ensure only one worker processes a job. Occasionally two workers process the same job. Explain.
2 min answer lockingcorrectnessfencing -
Distributed Locking advanced
Three designs need distributed locks: a nightly report, a per-customer state machine, and a global config reload. For each, is a lock the right answer?
2 min answer lockingpartitioningidempotencydesign -
Distributed Systems advanced
A 43-second network partition caused GitHub over 24 hours of degraded service in 2018. How does a 43-second event become a day-long incident?
2 min answer failoversplit-brainconsistencycase-study -
Distributed Systems advanced Multiple choice
A card payment authorisation service runs active-active across two regions. A network partition splits them. Do you keep accepting authorisations, and what breaks either way?
2 min answer capconsistencypaymentsavailability -
Distributed Systems advanced
A downstream service slows from 50 ms to 3 s. Within two minutes every service in the request path is down, including ones that do not call it. Explain the mechanism and how you would have prevented it.
2 min answer cascading-failureretriestimeoutsresilience -
Distributed Systems advanced
A payments platform sees a 20x increase in transaction attempts during a major commerce event. Idempotency, rate limiting, queueing, fraud checks, database contention and a downstream provider all interact. What is the correct ordering of these controls on the request path, and why does ordering matter more than any single control?
2 min answer razorpaypaymentssurgeidempotency -
Distributed Systems advanced
Design the connection layer for a chat platform holding tens of millions of concurrent WebSocket connections, where users belong to communities ranging from three people to a million. What are the main architectural decisions, and which one causes the most incidents?
2 min answer websocketsgatewayshardingpresence