AIF-C01 Practice Question: Security, Compliance, and Governance for AI Solutions
A company is using Amazon Bedrock to build an AI assistant that accesses internal knowledge bases. The security team wants to ensure that the assistant only retrieves documents that the requesting user is authorized to view, based on their department. Which approach should be used to enforce this fine-grained access control?
⚠ Common exam trap
The trap here is thinking that IAM or bucket policies can enforce per-user document access, when they operate at the resource level, not the document level.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Implement document-level access control using metadata filtering in Amazon Bedrock Knowledge Bases
Amazon Bedrock Knowledge Bases supports metadata filtering, which allows documents to be tagged with attributes such as department. When a user queries the knowledge base, the application can pass a filter based on the user's department, ensuring only authorized documents are retrieved. This enforces fine-grained access control at the document level.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Implement document-level access control using metadata filtering in Amazon Bedrock Knowledge Bases
Why this is correct
Amazon Bedrock Knowledge Bases supports metadata filtering, allowing you to attach metadata to documents and filter retrieval based on user attributes. By passing user department as a filter, the assistant only retrieves authorized documents. This provides fine-grained access control at the document level.
- ✗
Use Amazon Bedrock Guardrails to filter responses by department
Why it's wrong here
Guardrails can filter content based on topics or sensitive information, but it does not have built-in awareness of user department or document-level permissions. It cannot enforce dynamic access control based on user identity and document metadata.
- ✗
Store all documents in a single S3 bucket with a bucket policy allowing only the assistant's IAM role
Why it's wrong here
A bucket policy granting access to the assistant's IAM role would allow retrieval of all documents, regardless of user department. It does not differentiate between users or enforce per-user authorization. This approach fails to provide fine-grained access control.
- ✗
Configure IAM policies to restrict access to the Bedrock model
Why it's wrong here
IAM policies control access to Bedrock actions and resources, such as which models can be invoked. They do not filter documents within a knowledge base based on user attributes. This approach would not enforce document-level authorization for different departments.
Go deeper
Related to this question
About these practice questions
One of 862 original AIF-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint
This AIF-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AIF-C01 exam.