Tech SkillsValidation and Learning

RAG Assistant Repeats Same Question Explained

This worked AI Engineer Interview practice question tests Validation and Learning. Try the answer first, then review why D is the best choice.

Short answer

The correct answer is D. Nothing was fixed: repeatability and correctness are different properties; the model now fails identically every time..

The answer was already consistently wrong with the evidence present, which points at grounding, context position, or extraction — determinism just froze the failure. The key is to match the exact action in the prompt to the tool, command, or concept that performs that action directly. Here, D. Nothing was fixed: repeatability and correctness are different properties; the model now fails identically every time. is the only option that satisfies the scenario without adding unrelated behavior.

The Question

A RAG assistant repeats the same wrong answer even though the correct paragraph is in context. A teammate sets temperature to zero and declares it fixed because output is now deterministic. What actually happened?

AThe fix is valid — nondeterminism was the source of the wrong answers.
BThe fix made things worse — some sampling is needed to escape wrong answers.
CThe fix is partial — zero temperature improves faithfulness to context.
DNothing was fixed: repeatability and correctness are different properties; the model now fails identically every time.Correct

Why D is correct

The answer was already consistently wrong with the evidence present, which points at grounding, context position, or extraction — determinism just froze the failure. The key is to match the exact action in the prompt to the tool, command, or concept that performs that action directly. Here, D. Nothing was fixed: repeatability and correctness are different properties; the model now fails identically every time. is the only option that satisfies the scenario without adding unrelated behavior.

Why the other options are wrong

Option A: The fix is valid — nondeterminism was the source of the wrong answers.

Option A does not match the requirement in the prompt. The correct answer is D because The answer was already consistently wrong with the evidence present, which points at grounding, context position, or extraction — determinism just froze the failure.

Option B: The fix made things worse — some sampling is needed to escape wrong answers.

Option B does not match the requirement in the prompt. The correct answer is D because The answer was already consistently wrong with the evidence present, which points at grounding, context position, or extraction — determinism just froze the failure.

Option C: The fix is partial — zero temperature improves faithfulness to context.

Option C does not match the requirement in the prompt. The correct answer is D because The answer was already consistently wrong with the evidence present, which points at grounding, context position, or extraction — determinism just froze the failure.

Key idea: Validation and Learning

Every question is a production situation an AI engineer interviewer can put to you: a failing endpoint, a cost spike, an agent that loops, an eval that disagrees with users. The best answer is almost always the one that measures or contains the problem before it changes the model or the prompt. If you miss a question, note which habit it tests: decompose before you fix, put the security boundary where the side effect happens, and trust an eval only after you check what it covers. The 12 open-ended questions with answer guides are at aijobprep.app/questions/ai-engineer.html.

Ready to test the full skill?

Take the free AI Engineer Interview quiz and find the exact basics to review next. No signup required.

Practice related questions

Same skill area or adjacent concept. Use these after reviewing the explanation.

Related AI Engineer Interview Practice Questions