Question 200
An AWS developer is designing a production GenAI workflow. Requirement: A customer-facing assistant gives answers from documents the authenticated user cannot open. Which design decision addresses the requirement most directly?
Explanation
Correct Answer
Amazon Bedrock retrieval metadata filters and downstream source permissions must be bound to the verified caller; an FM prompt or model-generated implicit filter alone is not an access-control boundary. This is the action that directly meets the stated design requirement. Acceptance evidence: A cross-tenant test caller receives no restricted passages or citations even when the prompt requests another tenant’s document.
Incorrect Answers
That option concerns: Ambiguous short terms may need contextual expansion rather than a larger generation model. The current question instead depends on: Amazon Bedrock retrieval metadata filters and downstream source permissions must be bound to the verified caller; an FM prompt or model-generated implicit filter alone is not an access-control boundary. The directly supported result is: Enforce server-derived authenticated tenant and document-authorization filters before Knowledge Base or vector/keyword retrieval results enter generation.
Multi-hop questions require each referenced source to be retrieved before synthesis. This is a separate requirement; the current case instead hinges on: Amazon Bedrock retrieval metadata filters and downstream source permissions must be bound to the verified caller; an FM prompt or model-generated implicit filter alone is not an access-control boundary. The matching answer is: Enforce server-derived authenticated tenant and document-authorization filters before Knowledge Base or vector/keyword retrieval results enter generation.
The alternative addresses: Semantic similarity may blur distinctions where an exact phrase has legal consequences. The reported constraint here is different: Amazon Bedrock retrieval metadata filters and downstream source permissions must be bound to the verified caller; an FM prompt or model-generated implicit filter alone is not an access-control boundary. The case-specific choice is: Enforce server-derived authenticated tenant and document-authorization filters before Knowledge Base or vector/keyword retrieval results enter generation.