LLM Evaluation and Observability Questions

Measuring, monitoring and releasing generative and LLM-powered systems. Covers evaluation of open-ended outputs (human review, calibrated model-graded judges, reference-based and embedding scores, perplexity), hallucination, toxicity, privacy-leak and red-team checks, offline benchmarks versus online monitoring, and production observability (logs, traces, metrics, cost and token attribution, privacy-safe telemetry, drift and quality alerts). Also release decisions: A/B tests, canary rollouts, SLOs and go or no-go gates. Building the grounding architecture itself, calibration of predictive models and general software testing are covered elsewhere.

HardTechnical
76 practiced

How would you automatically detect hallucinations in long-form LLM answers when there are no gold labels for each response? Describe the checks, how you would combine them into one score, and where the approach breaks down.

MediumTechnical
78 practiced

How would you surface and quantify hallucinations in a code-generation model, such as calls to APIs that do not exist? What would you verify against, and how do you turn that into a per-response factuality score?

MediumTechnical
91 practiced

Why are n-gram overlap scores a weak measure of quality for generated text such as translations and summaries, and when do embedding-based similarity scores track human judgment better? How would you combine automatic scores with human evaluation?

HardTechnical
99 practiced

Large generative models can memorize training examples and leak sensitive data. How would you measure memorization and leakage in production, using runtime checks, periodic audits and red-team tests?

MediumTechnical
74 practiced

How would you detect and reduce overconfident wrong answers in a consumer-facing assistant? Cover detection signals, what the user sees, and what the backend does.

Unlock Full Question Bank

Get access to all 21 LLM Evaluation and Observability interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.