Question 550
A tenant-aware vector search returns semantically relevant chunks from a different tenant. The team proposes this approach: Enforce tenant row policy before ranking or exposing vector candidates. Which technical principle supports this approach?
Explanation
Correct Answer
Retrieval security requires trusted tenant filters and authorization at the candidate selection stage. Prompt instructions cannot compensate for leaking unauthorized search results.
Incorrect Answers
Tenant authorization must filter candidates before they reach the model, not merely sanitize a completed response.
Filters must use trusted tenant claims and backend row policy; caller-provided IDs can be spoofed.
Prompt text cannot enforce retrieval access; adversarial tests must show zero foreign-tenant candidates.