LLM Evaluation Questions with Answers

24 practice questions on LLM Evaluation (Generative AI & LLMs) with answers and step-by-step solutions. Try 10 samples below, then practise all 24 free in the AptiNest app.

Sample questions

Question 1Easy

Why evaluate an LLM system on a fixed set after every prompt change?

  1. To reduce token prices
  2. To retrain the model
  3. To delete old prompts
  4. To catch regressions

Answer: D. To catch regressions

Explanation

A prompt tweak that fixes one case can silently break others.

Step-by-step solution

  1. A prompt change aimed at one case may affect others.
  2. Re-running a fixed set shows whether old passing cases now fail.
  3. This catches regressions before users see them.

Why the other options are wrong

  • A. Evaluation does not change pricing.
  • B. Evaluation does not retrain the model.
  • C. Old prompts are kept for comparison, not deleted.

Tip: Change a prompt, rerun the evals.

Question 2Easy

A regression test for an LLM app ensures that:

  1. The model is retrained daily
  2. Users cannot log in
  3. Costs never change
  4. Previously working cases still work

Answer: D. Previously working cases still work

Explanation

Re-running a fixed suite after changes catches breakage.

Step-by-step solution

  1. Keep a suite of cases that worked before.
  2. Re-run it after each change.
  3. Any newly failing case is a regression.

Why the other options are wrong

  • A. Regression tests do not retrain models.
  • B. Unrelated to login.
  • C. Testing does not freeze costs.

Tip: Regression test = did anything that worked break?

Question 3Easy

A "golden" evaluation set is:

  1. The model's training data
  2. A fixed, labelled test set
  3. A list of prices
  4. A set of random prompts each day

Answer: B. A fixed, labelled test set

Explanation

A stable set allows fair comparison between prompt or model versions.

Step-by-step solution

  1. Collect representative questions.
  2. Label the correct answers or relevant documents.
  3. Keep the set fixed and reuse it for every version.

Why the other options are wrong

  • A. Training data must be kept separate from the test set.
  • C. Unrelated to prices.
  • D. Changing prompts daily makes comparison impossible.

Tip: Golden set = fixed, labelled, reused.

Question 4Easy

Exact-match scoring is most appropriate for:

  1. Open-ended essays
  2. Summaries
  3. Creative stories
  4. Short factual answers

Answer: D. Short factual answers

Explanation

Free-form text needs semantic or rubric-based scoring.

Step-by-step solution

  1. Exact match checks whether the output equals the expected text.
  2. That only works when there is one short correct form, like a number, date or name.
  3. So it suits short factual answers.

Why the other options are wrong

  • A. Essays have endless valid wordings.
  • B. Summaries vary in wording even when correct.
  • C. Creative stories have no single right text.

Tip: Short fact: exact match. Free text: rubric.

Question 5Medium

Latency and cost per query are important evaluation dimensions because:

  1. They are the same for every model
  2. Users never notice latency
  3. They decide practicality
  4. They affect model accuracy directly

Answer: C. They decide practicality

Explanation

Production readiness depends on quality, speed and cost together.

Step-by-step solution

  1. An accurate system may still be too slow or expensive.
  2. Users abandon slow answers; high cost limits scale.
  3. So latency and cost decide whether it is practical.

Why the other options are wrong

  • A. Latency and cost vary widely across models.
  • B. Users notice delays quickly.
  • D. They affect usability and budget, not accuracy directly.

Tip: Evaluate quality, latency and cost together.

Question 6Medium

Which is a reasonable way to evaluate retrieval separately from generation?

  1. Measure GPU temperature
  2. Measure recall@k on labels
  3. Count words in answers
  4. Ask the model to grade itself without references

Answer: B. Measure recall@k on labels

Explanation

Ground-truth relevance labels let you score the retriever on its own.

Step-by-step solution

  1. Label which chunks are relevant for each test query.
  2. Run only the retriever.
  3. Measure recall@k: how many relevant chunks appear in the top k.

Why the other options are wrong

  • A. GPU temperature is a hardware metric.
  • C. Word count measures the answer, not retrieval.
  • D. Self-grading without references is unreliable and tests generation.

Tip: Test the retriever with labels, separately from the generator.

Question 7Medium

For 4 queries, retrieval found a relevant chunk in the top 5 for 3 of them. What is recall@5 (hit rate)?

  1. 0.6
  2. 0.75
  3. 3
  4. 0.25

Answer: B. 0.75

Explanation

3 / 4 = 0.75.

Step-by-step solution

  1. Hit rate = queries with a relevant result in the top 5 / total queries.
  2. 3 / 4 = 0.75.

Why the other options are wrong

  • A. 0.6 would be 3/5, the wrong denominator.
  • C. 3 is a count, not a rate.
  • D. 0.25 is the share of misses.

Tip: Hit rate = hits / queries.

Question 8Medium

In RAG evaluation, "answer relevance" measures:

  1. Whether chunks are short
  2. How many tokens were used
  3. How fast the answer arrived
  4. Whether it answers the question

Answer: D. Whether it answers the question

Explanation

It differs from faithfulness, which checks support by the retrieved context.

Step-by-step solution

  1. Answer relevance looks at the question and the answer.
  2. It asks: does this answer address what was asked?
  3. It is separate from faithfulness, which checks support by the context.

Why the other options are wrong

  • A. Chunk length is not an answer-quality measure.
  • B. Token count is a cost measure.
  • C. Speed is latency.

Tip: Relevance: on topic? Faithfulness: backed by sources?

Question 9Hard

An eval set was built from questions the team wrote while designing the prompt. What risk does this create?

  1. Tokens become more expensive
  2. The model will refuse all questions
  3. Embeddings change
  4. Overfitting to known cases

Answer: D. Overfitting to known cases

Explanation

Include real user queries and held-out cases to measure generalisation.

Step-by-step solution

  1. The team tuned the prompt while looking at these same questions.
  2. The prompt may work well on them but not on new questions.
  3. Scores overestimate real performance: overfitting.

Why the other options are wrong

  • A. Token prices are unrelated to how the set was built.
  • B. There is no reason it would refuse all questions.
  • C. Embeddings do not change because of the eval set.

Tip: Keep some test questions hidden from prompt tuning.

Question 10Hard

First relevant results for three queries appear at ranks 2, 1 and 3. What is the MRR, to three decimals?

  1. 0.611
  2. 0.500
  3. 0.667
  4. 2.000

Answer: A. 0.611

Explanation

(1/2 + 1 + 1/3) / 3 = 1.833 / 3 = 0.611.

Step-by-step solution

  1. Reciprocal ranks: 1/2 = 0.5, 1/1 = 1, 1/3 = 0.333.
  2. Sum = 1.833.
  3. Mean = 1.833 / 3 = 0.611.

Why the other options are wrong

  • B. 0.500 is just the first query's reciprocal rank.
  • C. 0.667 is 2/3, not the mean of reciprocals.
  • D. 2.000 is the mean rank, not the mean reciprocal rank.

Tip: MRR = average of 1/rank of the first hit.

Practise all 24 questions free

The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.

Open this topic in the app →

Related topics

See all Generative AI & LLMs topics · All topics