AIF-C01 Practice Question: Security, Compliance, and Governance for AI Solutions
A data scientist needs to allow a foundation model in Amazon Bedrock to access a specific S3 bucket containing reference documents. The bucket is in a different AWS account. What is the MOST secure way to grant access?
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
✓
Configure the S3 bucket policy to allow access from the Bedrock service role and add a Bedrock resource policy allowing the bucket
Cross-account access requires both the S3 bucket policy to grant the Bedrock service role and the Bedrock resource policy to allow the bucket, ensuring least privilege.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use AWS Lake Formation to grant cross-account access to the bucket
Why it's wrong here
Lake Formation governs data lakes in the same account or via Resource Access Manager, but direct S3 bucket access for Bedrock is not managed by Lake Formation.
- ✗
Copy the S3 bucket to the same account as Bedrock
Why it's wrong here
Copying data is inefficient and may violate data residency requirements; cross-account access can be secured with policies.
- ✓
Configure the S3 bucket policy to allow access from the Bedrock service role and add a Bedrock resource policy allowing the bucket
Why this is correct
This two-way policy approach ensures only the specified Bedrock role can access the bucket, following cross-account security best practices.
- ✗
Make the S3 bucket public and use a pre-signed URL
Why it's wrong here
Making the bucket public violates security best practices; pre-signed URLs are for temporary access, not for ongoing model access.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
This AIF-C01 question is part of Courseiva's 619-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.