Design a RAG Assistant That Drafts Answers for Azure Support Engineers

Last updated: November 29, 2026

Quick Overview

Design a retrieval-augmented generation system that drafts replies to Azure support tickets, grounded in Azure documentation, known issues and resolved past cases, with citations a support engineer can verify.

Microsoft
ML System Design
Machine Learning Engineer
Microsoft
November 29, 2026
Machine Learning Engineer
System Design Round
ML System Design
Hard

0

0

0 solved


Design a retrieval-augmented generation system that drafts replies to Azure support tickets, grounded in Azure documentation, known issues and resolved past cases, with citations a support engineer can verify.

Azure support handles a huge volume of technical tickets, and an assistant that drafts grounded answers saves engineer time only if it is accurate and cites sources. A senior interviewer looks for retrieval design over heterogeneous sources, grounding and citation, freshness of known issues, evaluation, and data handling for customer tickets.

What the Interviewer Expects
  • Define the human-in-the-loop workflow and success metric
  • Ingest and chunk docs, known issues and past tickets with metadata
  • Use hybrid retrieval plus reranking and query rewriting from the ticket
  • Generate with citations and abstain when evidence is weak
  • Evaluate retrieval and answer faithfulness offline, adoption online
  • Handle PII in tickets, freshness and outages
Key Topics to Cover
RAG
hybrid retrieval
reranking
grounding and citations
LLM evaluation
PII handling
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How do you stop the model from repeating a fix from a past ticket that no longer applies?
  • How would you surface an active platform incident that explains the ticket?
  • How do you decide whether to fine-tune the generator?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements
  • A support engineer opens a ticket; within seconds a draft reply with cited sources appears. The engineer edits and sends; nothing goes to customers automatically.
  • Success: share of drafts sent wit...
High-Level Design
  1. Ingestion: connectors per source; chunk by section (docs) or by problem-resolution pairs (tickets); attach metadata: service, version, region, date, source type. Embed chunks and index in a hyb...

Submit Your Answer
Markdown supported