The context doesn't have the answer. How do you stop hallucination?
Understand the idea, explain it in your own words and use the rubric to find your next learning gap.
The idea behind the question
Grounding needs retrieval checks, response constraints and evaluation. No prompt alone guarantees that unsupported claims will disappear.
A user asks about a refund exception that is not in any authorized policy.
A practical way to learn it
Write one answerable question and one unanswerable question for the same document. Draft the expected responses.
Open RAG playgroundThe related tool opens separately; your interview answer stays here. Written practice is self-guided, without automatic code grading.
Build an explanation you understand
- State what the concept does in plain language.
- Apply it to the example and make your assumptions explicit.
- Explain a trade-off, failure case and how you would test it.
- Distinguish your actual experience from a proposed approach.
How would you explain it?
Single-question timers reset on refresh. Full mock sessions can resume from this browser.
Strengthen your explanation
Compare reasoning, not identical wording. Reference answers describe a possible approach; replace hypothetical statements with truthful details from your own work.
One way to answer
I would first distinguish retrieval failure from a genuinely absent answer. I would use calibrated evidence checks, possibly one bounded reformulation or alternate retrieval path, then ask for clarification or abstain when support is still missing. The generation instruction would require evidence-backed answers and make refusal acceptable. I would verify citations against the actual passages and evaluate unsupported-answer and false-refusal rates on separate cases. I would also design a useful escalation path rather than returning a confident guess or an endless retrieval loop.
What a strong explanation should cover
Tick only the points your own answer addresses. This is self-assessment, not AI scoring.
0 / 3 points self-reportedWatch out for
- Saying temperature zero eliminates hallucination.
Now go one level deeper
- How would you check whether a citation supports a claim?
- What if the document itself is wrong?
Further reading
Further-reading links support learning; the reference is Sukoaa-authored, not an official employer answer key.