The prompt
Design a customer-support agent that can inspect account records, propose refunds, request approval, and verify the outcome. Run a 50-minute system-design interview, including scale, authorization, failure recovery, evaluations, and rollout.
How to run the round
Set a timer and answer aloud before reading the guidance. Ask a partner to reveal one follow-up at a time, or record yourself and review the answer against the rubric. Leave a few minutes at the end to state what evidence would change your design.
- 0–5 min · Clarify
Ask about the user, refund authority, currencies, volume, latency, current workflow, policy source, and what counts as completion.
- 5–12 min · Define boundaries
Separate read-only recommendation from money movement. Identify identity, tenant, policy, source-of-truth records, and who can approve.
- 12–25 min · Draw the request path
Show ingress, workflow state, retrieval, model, typed tools, policy enforcement, approval, payment service, verification, and audit trace.
- 25–35 min · Stress failures
Cover timeouts with unknown write outcomes, duplicate delivery, stale policy, provider outage, prompt injection, partial completion, and cancellation.
- 35–43 min · Evaluate and operate
Define task dataset, deterministic safety checks, human review, trace fields, quality slices, SLOs, cost per successful refund, and rollback signals.
- 43–50 min · Trade-offs
Compare fixed workflow to agent planning, synchronous to queued work, and provider-hosted to self-hosted inference. State what evidence changes your choice.
Answer structure to keep visible
For a 50-minute round, do not spend the first 20 minutes naming every component. Establish the business invariant first: the model may recommend, but trusted services decide authorization and execute a bounded, approved action. Draw one ordinary path and one failure path. State assumptions explicitly and revise the design when a constraint changes.
Common misses to watch for
The candidate proposes a refund without checking current policy; approval is not bound to the exact amount and account; retrying after a timeout can issue a duplicate; a successful tool response is treated as proof the account changed; evaluation checks only answer text; no one owns rollback.
Score the answer
| Dimension | 1 · Missing | 2 · Partial | 3 · Strong | 4 · Exceptional |
|---|---|---|---|---|
| Problem framing | Assumes the task. | Asks generic questions. | Clarifies success, constraints, and risk. | Prioritizes unknowns and adapts scope as evidence changes. |
| Technical reasoning | Lists tools without a coherent flow. | Happy path only. | Explains state, boundaries, and trade-offs. | Compares viable alternatives with workload evidence. |
| Reliability and safety | Trusts model output. | Names generic guardrails. | Places enforcement, recovery, and verification at boundaries. | Connects threat model, failure containment, and operational ownership. |
| Evidence and communication | Claims success without proof. | Names measures without decisions. | Defines tests, success signals, and stop conditions. | Uses evidence to make a clear, reversible decision and explains uncertainty. |
Self-score: Rate each dimension 1–4, cite a specific moment in your answer, then choose the lowest-scoring dimension for the next practice session. A total score is a coaching aid, not a hiring prediction.
Interviewer follow-ups
- Which assumption is most fragile, and how would you test it?
- What changes if the cost of a wrong action is ten times higher?
- What would you deliberately leave out of the first release?
- Who owns this system the day after launch, and what would trigger a rollback?