Tech SkillsReliability and Safety

Enterprise Search Assistant Cites Question Explained

This worked AI Engineer Interview practice question tests Reliability and Safety. Try the answer first, then review why C is the best choice.

Short answer

The correct answer is C. The document's content already entered the model's context and can leak through the answer; authorization must filter candidates before retrieval hands them to the model..

Once unauthorized content is in context, the generation can paraphrase it — hiding the citation hides the evidence of the leak, not the leak. ACL filtering has to happen at candidate selection with request-time identity. The key is to match the exact action in the prompt to the tool, command, or concept that performs that action directly. Here, C. The document's content already entered the model's context and can leak through the answer; authorization must filter candidates before retrieval hands them to the model. is the only option that satisfies the scenario without adding unrelated behavior.

The Question

An enterprise search assistant cites a document the requesting employee cannot open. Relevance improved recently, and the team proposes filtering the citations in the UI. What is wrong with that fix?

ANothing — citations are the only place the user sees the document.
BUI filtering is too slow to run on every response.
CThe document's content already entered the model's context and can leak through the answer; authorization must filter candidates before retrieval hands them to the model.Correct
DUsers will notice missing citations and lose trust in the product.

Why C is correct

Once unauthorized content is in context, the generation can paraphrase it — hiding the citation hides the evidence of the leak, not the leak. ACL filtering has to happen at candidate selection with request-time identity. The key is to match the exact action in the prompt to the tool, command, or concept that performs that action directly. Here, C. The document's content already entered the model's context and can leak through the answer; authorization must filter candidates before retrieval hands them to the model. is the only option that satisfies the scenario without adding unrelated behavior.

Why the other options are wrong

Option A: Nothing — citations are the only place the user sees the document.

Option A does not match the requirement in the prompt. The correct answer is C because Once unauthorized content is in context, the generation can paraphrase it — hiding the citation hides the evidence of the leak, not the leak. ACL filtering has to happen at candidate selection with request-time identity.

Option B: UI filtering is too slow to run on every response.

Option B does not match the requirement in the prompt. The correct answer is C because Once unauthorized content is in context, the generation can paraphrase it — hiding the citation hides the evidence of the leak, not the leak. ACL filtering has to happen at candidate selection with request-time identity.

Option D: Users will notice missing citations and lose trust in the product.

Option D does not match the requirement in the prompt. The correct answer is C because Once unauthorized content is in context, the generation can paraphrase it — hiding the citation hides the evidence of the leak, not the leak. ACL filtering has to happen at candidate selection with request-time identity.

Key idea: Reliability and Safety

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