Design a Retrieval Assistant Over Client Runbooks for Managed Support
Last updated: November 29, 2026
Quick Overview
Design a GenAI assistant for support engineers who serve many enterprise clients. It answers incident questions using each client's runbooks, past tickets and architecture docs, cites sources, and must never leak one client's content to another.
Cognizant
November 29, 20260
0
0 solved
Design a GenAI assistant for support engineers who serve many enterprise clients. It answers incident questions using each client's runbooks, past tickets and architecture docs, cites sources, and must never leak one client's content to another.
Cognizant builds GenAI solutions for its own managed services and for clients, through offerings like Neuro AI, where tenant isolation and responsible AI controls are contract requirements. The interviewer checks retrieval design, isolation enforced outside the model, evaluation, and how you keep answers grounded.
What the Interviewer Expects
- Enforces tenant isolation in retrieval, not in the prompt
- Designs ingestion with chunking, metadata and freshness
- Uses hybrid retrieval and reranking
- Grounds answers with citations and refuses when evidence is weak
- Defines offline and online evaluation
- Covers PII redaction and audit logging
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
- A client terminates its contract. How do you guarantee its data is gone from every index and cache?
- How would you evaluate whether answers actually shortened incident resolution time?
- Runbooks contain shell commands. How do you stop the assistant from suggesting a dangerous one with false confidence?
- When would you fine-tune a model instead of improving retrieval?
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
Requirements
Users: about 5,000 support engineers across 300 client tenants, each engineer entitled to a subset. Sources: runbooks in Confluence and SharePoint, ServiceNow tickets, architecture docs. Functional: n...
High-Level Design
- Connectors pull documents with source ACLs, redact secrets and PII, chunk by headings (about 500 tokens with overlap) and attach metadata: tenant ID, doc type, last updated, ACL groups.
- Index: o...
Submit Your Answer
Cognizant Machine Learning Engineer Interview Guide
Interview process, tips, and preparation timeline