Design a RAG Assistant Over AWS Documentation for Support Engineers
Last updated: November 29, 2026
Quick Overview
AWS Support engineers answer customer cases that require digging through service documentation, internal runbooks and past resolved cases. Design a retrieval-augmented generation assistant that drafts grounded answers with citations.
Amazon
November 29, 20260
0
0 solved
AWS Support engineers answer customer cases that require digging through service documentation, internal runbooks and past resolved cases. Design a retrieval-augmented generation assistant that drafts grounded answers with citations.
An LLM system design question in the style of AWS ML and AI services interviews. The interviewer checks ingestion and chunking choices, hybrid retrieval with permission filtering, grounding with citations, and an evaluation plan that does not rely on vibes.
What the Interviewer Expects
- Designs ingestion with chunking that respects document structure
- Uses hybrid retrieval with metadata such as service and version
- Enforces access control on internal content
- Constrains generation to cite retrieved passages
- Builds an evaluation set and online feedback loop
- Handles stale docs and conflicting sources
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How do you keep answers correct when documentation changes weekly?
- How do you prevent leaking one customer's case details into another's answer?
- When should the assistant refuse or escalate?
- How would you measure whether it saves engineer time?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
M
- Users: internal support engineers, not end customers.
- Sources: public AWS docs, internal runbooks, past resolved cases (contain customer data).
- Output: draft answer with inline citations; the en...
L
- Ingestion: crawlers for docs and runbooks; case pipeline that redacts account IDs, names, ARNs and IPs.
- Chunking: split by headings into 300 to 800 token sections, keeping the heading pa...