Design AI Answering For Security Questionnaires With Citations
Last updated: November 29, 2026
Quick Overview
Design an ML system that drafts answers to incoming security questionnaires (spreadsheets of hundreds of questions) using a customer's policies, past approved answers, Trust Center content and live control data, with citations and confidence so reviewers can approve quickly.
Vanta
November 29, 20260
0
0 solved
Design an ML system that drafts answers to incoming security questionnaires (spreadsheets of hundreds of questions) using a customer's policies, past approved answers, Trust Center content and live control data, with citations and confidence so reviewers can approve quickly.
Questionnaire automation is one of Vanta's flagship AI features, and a wrong answer can create contractual exposure for the customer. The interviewer probes retrieval quality, grounding with citations, calibrated abstention, tenant isolation of data, and an evaluation loop driven by reviewer edits.
What the Interviewer Expects
- Parses messy questionnaires into normalized questions and answer formats (yes/no, free text)
- Hybrid retrieval over past answers, policies and control evidence, scoped per tenant
- Grounded generation that cites sources and abstains when evidence is missing
- Confidence scoring and routing to reviewers
- Offline eval set plus online metrics from accept and edit rates
- No cross-tenant leakage in retrieval, prompts or fine-tuning
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 handle a question whose correct answer depends on a control that is currently failing?
- How would you detect that a past approved answer is now outdated?
- Would you fine-tune per customer, globally, or not at all? Why?
- How do you measure hallucination rate at scale?
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
Input: an uploaded XLSX or a portal questionnaire with 100 to 800 questions. Output: a draft answer per question with type (Yes/No/N/A plus explanation), citations to specific sources, and a confidenc...
High-Level Design
- Ingestion: detect header rows and question columns, split compound questions, classify answer type. 2) Retrieval: per-tenant index over approved Q&A library (highest weight), policies chunked by se...