All jobs / AI engineer / AI Evals
AI engineer interview question · 0–1 years
What is a golden dataset for an LLM feature, and where do its cases come from?
The strongest answer
A curated, versioned set of inputs with reviewed expected outcomes, drawn mostly from real user traffic and past failures, with edge cases included — not just happy-path examples I made up
Why it works
Exactly — it has to look like production and remember every failure you have fixed, or a good score tells you nothing.
What a good answer covers
- Production-like cases with reviewed answers.
- Sample real traffic.
- Add every failure you fix.
- Version it; review the labels.
Answers that fall short
- Close, but not the strongest: A list of example questions with ideal answers that the team writes when the feature is first built
A fair start, but a set invented on day one reflects what the team imagined. Real traffic and real failures are what keep it honest. - Weak: The data the model was trained on, which we keep so that we can compare outputs against it
That is training data. A golden set is held-out test cases with known good outcomes, used to judge the system. - Red flag: A handful of prompts I know the model gets right, so that the score in the demo stays high
A set chosen because it passes measures nothing. An interviewer hears someone who will report a score they engineered.
Who gets asked this
More AI Evals questions
- Your feature extracts supplier, date and total from invoices into JSON. A teammate proposes grading every…
- You compare an old and a new prompt with a pairwise LLM judge. The new prompt wins almost every pair. Its…
- How do you make evals part of CI, so a prompt or retrieval change cannot quietly make things worse?
- Your assistant can call six tools. How do you evaluate whether it uses them correctly?
- Answers got worse after you changed the chunking in a RAG assistant. How do you evaluate the retriever on its…
- What is wrong with how you are measuring, and what do you change?
- Your offline eval score rose for three releases in a row. Over the same period, escalations from the…
- How do you evaluate a multi-step agent, where two correct runs can take completely different paths?