Tokenizer3 XP · 1-day streak
Topics / Evals & Observability

Evals & Observability

Nothing separates senior AI engineers from prompt hobbyists faster than this topic: anyone can demo an LLM feature, but only people who have shipped one can explain how they knew it worked, kept working, and got better. Expect eval questions in every serious loop - as conceptual probes ("how would you evaluate this?"), as the backbone of system-design rounds, and as debugging scenarios ("quality dropped after a model update, go").

0%mastery
0/83questions tried
0due today
0/18cards read

Card 1 of 18

Evals are the moat

Models are rented; your eval suite is the durable asset. It encodes what "good" means for your product, which no foundation model provider can ship you. Teams with strong evals can swap models in a day, tune prompts with confidence, and turn every production failure into a permanent regression test. Teams without them re-litigate quality by vibes on every change.

The eval-driven development loop:

flowchart LR
    A["Ship"] --> B["Observe production<br/>traces + feedback"]
    B --> C["Error analysis:<br/>read transcripts, cluster failures"]
    C --> D["Add failures<br/>to eval set"]
    D --> E["Change prompt /<br/>model / retrieval"]
    E --> F["Run evals<br/>in CI"]
    F -->|"pass"| A
    F -->|"regress"| E

Every arrow matters. The most common broken link in real teams: production failures never make it back into the eval set.

All 83 Evals & Observability questions

Basic

  1. Why do people say "evals are the moat" for AI products? What makes them the core engineering artifact?
  2. Walk me through the taxonomy of evaluation methods for LLM systems and when you'd use each.
  3. What kinds of code-graded assertions can you use on LLM outputs, and where do they break down?
  4. You're building evals for a new LLM feature from scratch. How many examples do you need, and where do they come from?
  5. What is LLM-as-judge, and when is it the right tool?
  6. Define pass@k. Why is the naive way of computing it problematic, and what's the fix?
  7. What's the difference between guardrail metrics and quality metrics? Give examples of each.
  8. What should you log for every LLM call in production, and what are the pitfalls?
  9. What is the difference between observability and evals? Vendors seem to sell one product for both.
  10. What is the difference between reference-based and reference-free evaluation, and why do BLEU, ROUGE and exact match fail on LLM output?
  11. Your eval reports 82% pass on 100 examples. What does that number not tell you?
  12. Why do you version an eval dataset, and what exactly belongs in the version?
  13. What are OpenTelemetry's GenAI semantic conventions, and why should you care?
  14. What makes a single eval case well specified, and what are the common ways individual cases go wrong?

Intermediate

  1. Pointwise scoring vs pairwise comparison for LLM judges - which is more reliable, and why?
  2. What are the known biases of LLM judges, and how do you mitigate each?
  3. How do you decide whether to trust your LLM judge? Walk me through calibration.
  4. How do you design a good rubric for model-graded evals, and where does chain-of-thought fit?
  5. What do MMLU, GSM8K, HumanEval, MT-Bench, and SWE-bench each measure - and why shouldn't you pick a model for your product based on them?
  6. What is benchmark contamination, and how would you detect or protect against it?
  7. How would you build an execution-based eval for a code-generation feature?
  8. How do you evaluate a RAG pipeline? Why evaluate components separately from the end-to-end system?
  9. Which retrieval metrics would you use - recall@k, MRR, nDCG - and when does each matter?
  10. How do you measure faithfulness - whether the model's answer is actually grounded in retrieved context?
  11. How do you wire evals into CI so that prompt or model changes can't silently regress quality?
  12. How do you evaluate an LLM feature online? Design the A/B test and name the implicit feedback signals you'd use.
  13. You have 500 production transcripts flagged as failures. Walk me through your error-analysis process.
  14. How do you keep an eval set fresh over time, and how do you avoid overfitting to it?
  15. How would you use synthetic data to build or extend an eval set, and what are the failure modes?
  16. How do you measure inter-annotator agreement on a human labelling effort, and what do you do when your annotators disagree a lot?
  17. You want to detect a 3-point improvement in pass rate. How many eval examples do you need, and how do you get that number down?
  18. You are swapping the model behind a live feature. Walk me through shadow, canary and A/B. When do you use each?
  19. How do you instrument cost and latency for an agentic feature, and what actually drives cost creep?
  20. Prompts and completions contain user data. How do you redact PII in traces without destroying your ability to debug?
  21. Design a human review queue for a production LLM feature. What gets reviewed, and how much?
  22. Your team ran a red-team exercise and found 30 ways to break the assistant. How do you turn that into something durable?
  23. Your judge model is being deprecated and you have to move to a new version. How do you keep your scores comparable?
  24. You add a router that sends easy queries to a cheap model and hard ones to a frontier model. How do you evaluate the router?
  25. Same model, same prompts, same agentic coding benchmark, and your two clusters disagree by six points. What is infrastructure noise, and how do you run and report agent evals so the number means something?
  26. A vendor reports 99.9% on a benchmark with its own harness and 62.7% with the standard one. Which number do you trust, and how do you compare models when the harness is part of the system?

Advanced

  1. How do you evaluate agents? Compare trajectory-based and outcome-based approaches.
  2. How does Chatbot Arena - style evaluation work, and what are its strengths and limits?
  3. Your new prompt scores 78% vs the old prompt's 74% on a 100-example eval. Do you ship it?
  4. Design the observability stack for a production LLM application. What does a good trace look like?
  5. How do you monitor a deployed LLM system for drift? What kinds of drift matter?
  6. Where does Goodhart's law bite in LLM evaluation? Give concrete examples and defences.
  7. Evals are nondeterministic - temperature, sampling, flaky agents. How do you get trustworthy numbers?
  8. A team ships prompt changes on vibes - the founder tries five favourite prompts and merges. How do you move them to eval maturity without halting shipping?
  9. Your new prompt improves aggregate pass rate by 3 points, but one customer segment drops 8. How do you catch this before shipping, and what do you do about it?
  10. Design the evaluation for a document understanding feature: users upload invoices and scanned forms and ask questions about them.
  11. How does evaluating and observing a reasoning model differ from a standard one?
  12. How would you build a deterministic replay harness for agent evals, and what does it genuinely buy you?
  13. Your eval suite is green, ship velocity is good, and users are complaining that quality got worse. Debug it.
  14. How do you evaluate your eval suite itself? What makes one good or bad?
  15. Running your LLM judge on every production trace would cost more than the feature itself. How do you monitor quality online at scale?
  16. Your team wants to reuse the eval suite's graders as the reward signal for reinforcement fine-tuning. What changes?
  17. Your agent now runs tasks that take hours and hundreds of steps. How do you evaluate and observe it?
  18. Your agent calls a tool over MCP and a vendor's agent over A2A. How do you get one end-to-end trace across your agent, the MCP server and the vendor's agent, and what do the OpenTelemetry GenAI conventions give you there?
  19. Your coding agent passes the hidden tests, but maintainers say they would reject many of its pull requests. Design an evaluation that scores mergeability. How do you validate the graders, and why might scores fall as you raise reasoning effort?
  20. Your browsing-agent benchmark runs on the live internet. Mid-run the agent exploited an injection flaw in a third-party site to get an answer and submitted a real government form. Nobody attacked it. How do you scope, contain and audit agent evals?
  21. A plain LLM judge can't tell whether an enterprise answer is right without looking things up. Design an agentic verifier that can search, open sources and run checks. How do you calibrate it against human labels, keep its cost bounded, and stop it sharing blind spots with the agent it grades?

Quick-fire

  1. How do you evaluate an LLM feature that has no single correct answer (for example a summary or a draft reply)?
  2. What is LLM-as-judge, and what are its failure modes?
  3. What is reward hacking or eval gaming, and how do you guard against it?
  4. What is the difference between offline and online evaluation, and why do you need both?
  5. Why measure reliability such as pass^k for agents rather than just accuracy?
  6. How do you build an eval set from scratch for a new feature?
  7. What benchmarks or metrics would you actually cite, and how much do you trust them?
  8. What is error analysis, and why do practitioners call it the highest-leverage eval activity?
  9. What is eval-driven development, and how do you wire evals into CI?
  10. How do you calibrate an LLM judge, and what agreement level should you target?
  11. Pointwise vs pairwise judging: when do you use each?
  12. How do you evaluate a multi-turn conversational agent, not just single responses?
  13. What is drift, and how does online evaluation catch it that latency monitoring cannot?
  14. How do you run an A/B test for an LLM feature, and what do you measure?
  15. Why do public benchmarks saturate or mislead, and what is contamination?
  16. Discuss challenges related to overfitting in LLMs during training. What strategies and regularization techniques are effective in preventing overfitting, especially when dealing with massive language corpora?
  17. Large Language Models often require careful tuning of learning rates. How do you adapt learning rates during training to ensure stable convergence and efficient learning for LLMs?
  18. When generating sequences with LLMs, how can you handle long context lengths efficiently? Discuss techniques for managing long inputs during real-time inference.
  19. What evaluation metrics can be used to judge LLM generation quality
  20. Hallucination in LLMs a known issue, how can you evaluate and mitigate it?
  21. What are mixture of experts models?
  22. Why might over-reliance on perplexity as a metric be problematic in evaluating LLMs? What aspects of language understanding might it overlook?
+3 XP · card read