Practice method: answer aloud for two minutes before reading each sample. Then change one constraint—higher risk, strict residency, lower latency, fewer operators—and explain which design decision changes and which invariant stays fixed.
Worked answer 01
Design a refund assistant with an approval boundary
A strong answer could sound like this
Start with the business invariant: the assistant may gather evidence and propose a refund, but only an authorized service can issue one. I would clarify policy source, refund limits, identity, volume, and whether approval is required for every case or only exceptions. The workflow would load the customer and order from authoritative systems, retrieve the applicable policy with tenant and access checks, and produce a typed recommendation with evidence. Deterministic policy code would validate eligibility and amount. A human approval would bind to the exact customer, amount, and reason, then expire if the record changes. The payment tool would use an idempotency key and return a transaction ID. After a timeout, the workflow would reconcile the payment system before retrying. I would evaluate eligibility, evidence support, unauthorized actions, duplicate effects, and safe abstention separately; launch to a small cohort with correction, escalation, latency, and cost signals.
Separates model judgment from authorization and writes; shows one safe path, recovery, evaluation, and release evidence.
Follow-up to rehearse
What specific workload evidence, failure trace, or user observation would make you change the design you just proposed?
Worked answer 02
Design RAG for changing enterprise policy
A strong answer could sound like this
I would first map document ownership, permissions, update frequency, and deletion obligations. Ingestion should preserve source ID, tenant, version, effective date, and access metadata. Chunking needs to respect headings, tables, and policy boundaries; I would compare candidate strategies on a labeled retrieval set rather than choose by habit. At query time, authorization must come from a trusted policy source, then retrieval can combine lexical matches for exact identifiers with semantic candidates and reranking if it improves measured relevance. The answer should cite the supporting passage and abstain or ask when evidence is missing or conflicting. I would measure recall at candidate retrieval, ranking quality, access correctness, citation support, answer quality, p95 latency, and cost. For a new embedding model, I would build a parallel versioned index, compare on a holdout set, and switch by a controlled alias or cohort so vectors from incompatible spaces are never mixed.
Treats RAG as ingestion, access, retrieval, grounding, evaluation, and migration rather than a vector database alone.
Follow-up to rehearse
What specific workload evidence, failure trace, or user observation would make you change the design you just proposed?
Worked answer 03
A model upgrade raises latency but lowers task success
A strong answer could sound like this
I would not attribute the regression to the model until I localize the first divergence. I would pin the old and new model, prompt, tool schema, retrieval snapshot, and workflow version, then replay a representative dataset and compare traces: input context, selected tool, arguments, retrieved evidence, state transition, and final outcome. I would slice by task type, language, tenant, context length, and high-risk action. If offline evidence isolates the model and a rollback is safe, I would return the affected cohort to the known version while preserving the traces as regression cases. If the change is mixed, I would test routing or context changes separately instead of stacking fixes. Before retrying rollout, I would set explicit quality and latency thresholds, shadow or canary without duplicated side effects, and identify an owner who can stop expansion.
Uses trace-based diagnosis, controlled comparison, slice analysis, reversible mitigation, and rollout gates.
Follow-up to rehearse
What specific workload evidence, failure trace, or user observation would make you change the design you just proposed?
Worked answer 04
A customer needs an on-premises workflow integrated with a legacy system
A strong answer could sound like this
I would start by observing one real workflow and asking which user outcome is costly, how often it occurs, what exceptions matter, and which record is authoritative. Before proposing an agent, I would map the legacy system's supported interface, identity model, data residency and network boundaries, deployment owner, and change window. I would choose a narrow read-only or recommendation pilot first if writes are hard to reverse. The pilot needs a baseline, a target such as reduced handling time without increased correction rate, a user cohort, fallback, and a named operator. I would test realistic permissions, malformed records, unavailable dependencies, and reconciliation with the system of record. After launch, I would review adoption and exceptions with operators and separate reusable product capability from customer-specific configuration. A successful integration is not enough if the workflow remains unused or the customer cannot operate it.
Combines discovery, integration constraints, scoped delivery, measurable adoption, and product learning.
Follow-up to rehearse
What specific workload evidence, failure trace, or user observation would make you change the design you just proposed?
Worked answer 05
Set direction for a shared agent platform across product teams
A strong answer could sound like this
I would standardize the boundaries where inconsistency creates portfolio risk: identity propagation, authorization contracts, tool schemas, trace correlation, evaluation records, and safe release mechanisms. I would leave domain workflows, product-specific success metrics, and appropriate model choices with product teams. The shared runtime should be a paved road with documented extension points, not a central team that must approve every change. I would start with a few representative products, define compatibility and migration policy, and assign operating owners for both shared components and local workflows. Investment decisions should use adoption, successful user outcomes, severe safety failures, reliability, support cost, and migration burden—not model call volume. If the platform adds friction without reducing risk or delivery cost, that is evidence to simplify or retire abstractions. Strategic customer exceptions need an owner, an expiry or review point, and a path to a reusable capability if evidence supports it.
Shows portfolio scope, explicit standards and local freedom, operating ownership, adoption, and a mechanism to reverse direction.
Follow-up to rehearse
What specific workload evidence, failure trace, or user observation would make you change the design you just proposed?
Self-review checklist
- Did I clarify the outcome and the highest-impact constraint?
- Did I separate model suggestions from trusted policy and side effects?
- Did I walk one failure through detection, mitigation, and recovery?
- Did I name an alternative and the evidence that favors my choice?
- Did I define how the system is evaluated and operated after launch?