Hallucination & Evaluation Questions with Answers

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

Sample questions

Question 1Easy

Which technique typically reduces hallucinations in factual question answering?

  1. Raising the temperature
  2. Removing the system prompt
  3. Asking for longer, more detailed answers
  4. Grounding answers in retrieved sources with citations

Answer: D. Grounding answers in retrieved sources with citations

Explanation

Grounding gives the model the facts; citations make claims checkable.

Step-by-step solution

  1. Retrieve trusted documents related to the question.
  2. Instruct the model to answer only from them.
  3. Ask for citations so each claim can be checked.

Why the other options are wrong

  • A. Higher temperature increases randomness and errors.
  • B. The system prompt is where grounding rules go; removing it does not help.
  • C. Longer answers have more room for unsupported claims.

Tip: Ground plus cite = fewer hallucinations.

Question 2Easy

What is "LLM-as-a-judge" evaluation?

  1. Asking users to vote on which model name they like best
  2. Training the model on its own outputs
  3. Using a language model with a rubric to grade outputs
  4. Measuring how many tokens the model outputs

Answer: C. Using a language model with a rubric to grade outputs

Explanation

It scales evaluation, but judges can be biased (e.g. towards longer answers or their own style), so they should be checked against human ratings.

Step-by-step solution

  1. Write a rubric describing what a good answer looks like.
  2. Give a strong LLM the question, the answer and the rubric.
  3. It returns a score or verdict, which scales evaluation cheaply.

Why the other options are wrong

  • A. Voting on names is not evaluating outputs.
  • B. Training on own outputs is self-training, not evaluation.
  • D. Token count is a cost metric, not quality.

Tip: LLM judge + clear rubric + human spot checks.

Question 3Easy

In LLMs, what is a "hallucination"?

  1. Any response that is longer than the prompt
  2. Fluent, confident output that is false or unsupported by the source
  3. Output in a different language from the one used in the input
  4. A response refused for safety reasons even though the request was actually harmless

Answer: B. Fluent, confident output that is false or unsupported by the source

Explanation

Models generate plausible text, not verified facts, so they can invent citations, numbers or events.

Step-by-step solution

  1. LLMs generate text that is likely, not text that is verified.
  2. So they can produce fluent, confident statements that are false.
  3. That is a hallucination, e.g. a made-up citation.

Why the other options are wrong

  • A. Length has nothing to do with truth.
  • C. Replying in another language is a language mismatch, not invented facts.
  • D. That is over-refusal.

Tip: Confident is not the same as correct: verify facts from LLMs.

Question 4Medium

Why maintain a fixed evaluation set (golden set) when changing prompts or models?

  1. Because models cannot be evaluated in any other way at all
  2. To train the model on the test answers
  3. To make prompts shorter
  4. To compare versions consistently and catch regressions

Answer: D. To compare versions consistently and catch regressions

Explanation

Running the same cases on each change shows whether a tweak helps overall or breaks previously working behaviour.

Step-by-step solution

  1. Keep the same test questions and expected answers.
  2. Run every new prompt or model version on them.
  3. Compare scores to see improvements and catch anything that broke.

Why the other options are wrong

  • A. There are other evaluation methods; a fixed set is about consistency.
  • B. Training on the test set would make scores meaningless.
  • C. A golden set does not shorten prompts.

Tip: Same test set every time, or comparisons mean nothing.

Question 5Medium

Why are exact-match metrics often inadequate for evaluating open-ended LLM answers?

  1. Many different wordings can be equally correct
  2. Exact match is too slow to compute on long outputs
  3. Exact match always gives a score of 1
  4. LLM outputs cannot be stored as text

Answer: A. Many different wordings can be equally correct

Explanation

Open-ended tasks need semantic judgement: rubrics, human review, or LLM-as-a-judge validated against human labels.

Step-by-step solution

  1. Exact match checks whether the output equals the reference string.
  2. Open-ended answers can be correct in many different wordings.
  3. So correct answers get marked wrong.

Why the other options are wrong

  • B. Exact match is very cheap to compute.
  • C. Exact match usually gives 0 for paraphrases, not always 1.
  • D. LLM outputs are text and can be stored easily.

Tip: One right wording: exact match. Many right wordings: rubric.

Question 6Hard

In evaluating a RAG system, what does "faithfulness" (groundedness) measure?

  1. Whether the retrieval step returned its documents quickly enough
  2. How many documents are in the index
  3. Whether the answer's claims are supported by the retrieved context
  4. Whether the answer is shorter than the context

Answer: C. Whether the answer's claims are supported by the retrieved context

Explanation

A correct-sounding claim not found in the context is unfaithful even if true. Retrieval quality (e.g. recall of relevant chunks) is evaluated separately.

Step-by-step solution

  1. Take each claim in the answer.
  2. Check whether the retrieved context supports it.
  3. Faithfulness is high when all claims are backed by the context.

Why the other options are wrong

  • A. Speed is a latency metric.
  • B. Index size is not a quality metric.
  • D. Length does not show whether claims are supported.

Tip: Faithfulness = no claims beyond the sources.

Practise all 6 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