Secure Cross-Account S3 Access for GenAI with Lake Formation
Short answer
C Lake Formation in each source account grants the Account C SageMaker FM role column-level, tag-based access to only permitted S3 fields.
Question
The company must have strict control over PII data. The company must ensure that the FM accesses only necessary data fields.
The company needs a solution to establish secure cross-account access for the GenAI application.
Which solution will meet these requirements?
Key Takeaways
The question tests column-level, cross-account data governance for PII, and the trap is choosing IAM/S3 policy approaches that can only scope paths or buckets—not individual data columns.
This AIP-C01 scenario asks how a GenAI application in Account C can read transaction and PII data from S3 buckets in two other accounts while restricting the foundation model to only necessary fields. The correct design registers each source bucket with AWS Lake Formation, uses cross-account IAM roles, and applies Lake Formation column-level/tag-based permissions deployed through Amazon SageMaker AI.
Common mistake: Option B is the most tempting wrong pick because cross-account Bedrock roles plus S3 path and tag restrictions sound secure, but S3 object tags and bucket paths cannot enforce field-level (column) access, which the requirements explicitly demand for PII.
Expert Analysis
Why the Answer Is Correct
Option C is the only design that delivers true column-level enforcement: Lake Formation is registered against the S3 buckets in Accounts A and B, and its permissions (driven by tag-based access controls) restrict the consumer to specific columns such as non-PII transaction fields. Cross-account IAM roles in each source account scope access to specific bucket paths, while the SageMaker AI execution role in Account C assumes those roles, giving a single, auditable identity chain to the FM. This architecture also scales, because adding the seven future business units simply means registering new buckets and granting the same governed permissions rather than rewriting application policy. The column-level granularity directly satisfies the stated requirement that the FM accesses only necessary data fields and that strict PII control be maintained.
Why the Other Options Are Wrong
Option A relies on resource-based S3 policies plus a custom Lambda authorizer, which places the PII filtering logic in application code rather than in a governance layer, making it fragile, hard to audit, and impossible to express as reusable column grants as accounts multiply. Option B uses legitimate cross-account Bedrock roles, but S3 bucket paths and S3 object tags classify whole objects, not fields inside them, so PII columns in a mixed object would still reach the FM. Option D mixes bucket resource policies with identity-based policies and asserts that Lake Formation tag-based column controls can be attached to an IAM service role policy on S3; S3 does not interpret Lake Formation column grants, so without registering the data in Lake Formation no column-level restriction is actually enforced, and VPC endpoints only address network isolation, not data-field access.
Community Comment Notes
The lone community comment, from TNT87, concurs with this verdict, stating "Set up AWS Lake Formation in each source account" and quoting the full option C wording as the correct solution. With no vote distribution recorded, there is no competing learner majority to weigh, so the decision rests entirely on the requirement that the FM be limited to specific data columns.
Exam Strategy
Read which requirement the option actually satisfies: whenever the prompt says the model must see only certain fields or PII must be controlled, look for column-level controls—Lake Formation is the only AWS service in these choices that grants per-column permissions across accounts.
Frequently Asked Questions
Why can't S3 bucket policies or object tags enforce column-level PII filtering?
Why use Amazon SageMaker AI instead of Amazon Bedrock for the cross-account role assumption?
Discussion 1 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 1
-
TNT87 👍 1 Answered CSet up AWS Lake Formation in each source account. Register the S3 buckets with Lake Formation. Create IAM roles in each source account that have permissions to access specific S3 bucket paths. Configure Lake Formation permissions to allow access only to specific data columns by using Lake Formation tag-based access controls. Use Amazon SageMaker AI to deploy the FM with an execution role in Account C that can assume the cross-account IAM roles to access the data through Lake Formatio
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AIP-C01 Questions
Access 110 questions with complete answers and detailed explanations.
View Full AIP-C01 Practice Test →