Sample questions
Question 1Easy
Which technique typically reduces hallucinations in factual question answering?
- Raising the temperature
- Removing the system prompt
- Asking for longer, more detailed answers
- 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
- Retrieve trusted documents related to the question.
- Instruct the model to answer only from them.
- 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?
- Asking users to vote on which model name they like best
- Training the model on its own outputs
- Using a language model with a rubric to grade outputs
- 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
- Write a rubric describing what a good answer looks like.
- Give a strong LLM the question, the answer and the rubric.
- 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"?
- Any response that is longer than the prompt
- Fluent, confident output that is false or unsupported by the source
- Output in a different language from the one used in the input
- 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
- LLMs generate text that is likely, not text that is verified.
- So they can produce fluent, confident statements that are false.
- 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?
- Because models cannot be evaluated in any other way at all
- To train the model on the test answers
- To make prompts shorter
- 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
- Keep the same test questions and expected answers.
- Run every new prompt or model version on them.
- 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?
- Many different wordings can be equally correct
- Exact match is too slow to compute on long outputs
- Exact match always gives a score of 1
- 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
- Exact match checks whether the output equals the reference string.
- Open-ended answers can be correct in many different wordings.
- 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?
- Whether the retrieval step returned its documents quickly enough
- How many documents are in the index
- Whether the answer's claims are supported by the retrieved context
- 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
- Take each claim in the answer.
- Check whether the retrieved context supports it.
- 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 →