Explain a System You Built and the Toughest Call You Made
BehavioralModel answerLast updated
Describe a production system you helped build, then dissect the hardest technical decision you personally owned: the options, trade-offs, rollout, results, and remaining debt.
Question
Pick a production system you designed or contributed to heavily. First give a high-level tour of it. Then narrow in on one technical decision that was the hardest and that you personally drove.
Your answer should cover:
- Context: the business problem, the users, the scale, and the constraints that shaped the design.
- Architecture: how a request or piece of data travels through the system end to end, and how the system behaves when parts of it fail.
- The decision: the realistic alternatives you weighed, the criteria you used, and why you picked the option you did, including the downside you knowingly accepted.
- Proof and aftermath: how you tested the decision and rolled it out, what the measurable results were, and which limitations or technical debt you still carry.
What is expected
Aim for roughly 12 to 15 minutes spoken. Make clear which parts were your own work and which were the team's. Back your claims with concrete numbers, and be candid about what you would do differently.
Hints
Hint 1
Describe the system by following one request or event from entry to exit, and mention what happens when each hop fails, instead of listing technologies.
Hint 2
Choose a decision where at least two options were truly viable. If one alternative was clearly bad, the story will not show real judgment. State your decision criteria (for example latency, cost, blast radius, operational complexity) before revealing the choice.
Hint 3
Use numbers that are internally consistent and that you can derive on the spot, such as devices times polling rate giving requests per second. Volunteer the debt and regrets without being asked.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
What the interviewer is scoring
- Clear architectural communication. Can you explain the system in about three minutes, anchored on how work flows and how it fails?
- Ownership. Can you separate what the team did from what you proposed, defended, and shipped? Constant "we" is the most common reason for a weak score.
- Trade-off reasoning. Did you compare real alternatives and accept a cost on purpose?
- Maturity. Do you cite measured results, name the debt you created, and say what you would change?
Suggested time budget
| Segment | Time | Content |
|---|---|---|
| Context | 1-2 min | Problem, users, scale, hard constraints |
| Architecture | 3-4 min | Request lifecycle, data flows, failure modes, your role |
| Decision | 4-5 min | Problem, 2-3 options, criteria, choice |
| Validation and rollout | 2 min | De-risking and staged release |
| Results and debt | 1-2 min | Before/after metrics, what remains |
Keep any diagram to five to seven boxes.
Worked example (illustrative)
Context. Tech lead for a service that delivers compliance policies to managed devices in a multi-tenant platform. About 4M devices, 2,000 tenants. Requirement: 95% of online devices receive a change within 5 minutes. Devices are on unreliable networks and behind proxies. The legacy design polled every 15 minutes.
Architecture, as a lifecycle.
- Admin edits a policy. The API writes to the relational source of truth and publishes a change event through a transactional outbox.
- A compiler service consumes the event, resolves group membership, and stores per-device desired-state versions in a sharded store.
- A notification tier holds device connections and sends a tiny "new version N" signal.
- The device agent downloads the payload over HTTPS from a cacheable stateless endpoint, applies it, and reports back.
Failure modes to name.
- Lost connection: the agent falls back to a slow poll.
- Consumer lag: alarm at about 2 minutes.
- One tenant's compile fails: it goes to a dead-letter queue and other tenants are unaffected.
- Regional outage: reconnect storms are absorbed with jittered backoff.
Ownership statement. "The team owned the compiler. I owned the device-sync protocol decision."
The decision
How should devices find out that something changed?
- A. Poll every minute. Simple, stateless, proxy-friendly. But 4M devices / 60 s is roughly 67K requests per second, mostly empty, about 4x the infrastructure cost, and the SLA is still not guaranteed under backoff.
- B. Push full payloads over persistent sockets. Lowest latency, but millions of stateful connections, delivery tied to connection health, proxies dropping idle sockets, and painful deploys that need draining.
- C. Push a small signal, pull the payload (chosen). The persistent channel carries only a version number. Payloads come from a stateless, cacheable endpoint. Polling remains as a safety net.
Criteria, stated up front: latency SLA, cost, blast radius, operational complexity.
Why C. It met the SLA, kept the heavy path stateless and cacheable, and degrades to the old polling behavior rather than to an outage. The accepted cost: two paths to test and a connection tier the team had not operated before.
Validation and rollout
- Load-tested with a custom harness at 1M simulated connections. It exposed a per-node ceiling of about 60K connections, which drove shard sizing.
- Shadow mode first: send signals, measure would-be latency, take no action.
- Then 1%, 10%, 100% of tenants over six weeks, behind per-tenant flags with automatic fallback to polling.
- Chaos test: killed an availability zone of the notification tier at the 10% stage. Devices fell back as designed.
Results
- p95 propagation time fell from about 9 minutes to 40 seconds.
- Agent request volume fell about 70% after relaxing polling to every 30 minutes. Net cost dropped around 25% even with the new tier.
Debt to volunteer
- Two code paths mean some bugs appear only in fallback mode. Contract tests help but do not catch everything.
- Reconnect storms after regional failover still cause roughly a 3-minute CPU spike.
- Connection-tier deploys need slow draining, so releases there are slower.
Likely follow-ups
What breaks at 10x scale? The connection tier first: 40M sockets means hundreds of nodes and bigger reconnect storms. Mitigations: higher per-node density through runtime and kernel tuning, coalescing notifications per tenant, and admission control with jittered reconnect windows.
What would you do differently? Build the fallback-path test harness before launch rather than after, and invest earlier in connection-tier observability.
Common mistakes
- Technology lists instead of flows and failure handling.
- Hidden ownership, or claiming a decision that was really your manager's.
- Straw-man alternatives. A decision with an obvious answer is not a hard decision.
- Numbers that do not add up. Be ready to derive any figure you quote.
- Claiming no regrets or no debt, which signals inexperience.
- Spending ten minutes on architecture and rushing the decision, which is the part that is scored.
- Revealing confidential details from a past employer. Generalize names and round figures.