Question 20
A shared department-policy index still returns restricted HR documents to staff after they transfer to another department. The chat user interface shows their new department correctly, but the indexed results are cached under a privileged service credential. What must be corrected to stop this specific leak?
Explanation
Correct Answer
The defect is an outdated authorization boundary at query time. Revoking cached rights and testing the transferred employee ensures retired entitlements are actually denied.
Incorrect Answers
UI-level filtering is too late: privileged cached passages could already have entered the model context, logs or generated answer.
A prompt cannot revoke an employee’s former department rights or prevent sensitive passages from being retrieved under an overprivileged identity.
A shared privileged credential reproduces the root cause by bypassing the requesting user’s current department membership.



Agentic AI Business Solutions Architect (AB-100) Practice Tests