AI and LLMs · Middle · Question 7 of 75

Why must a RAG system filter documents by user permissions?

Show the answer

Correct answer: Otherwise users can get answers drawn from documents they can't access

Explanation

Access control belongs in retrieval, using metadata filters per user or tenant. A prompt instruction is not a security boundary.

Further reading

Problem with a question

AI and LLMs · Middle · question 7

Test yourself

Take the AI and LLMs · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz