AWS Certified Data Engineer Associate DEA-C01 Practice Question
A data engineering team stores ingestion files in an Amazon S3 bucket named corp-data. They created an S3 Access Point called etl-access to simplify network-restricted access from an AWS Glue job that assumes the IAM role ETLJobRole. Security requirements state that only this role may list the access point and read objects under the raw/ prefix; every other principal in the account must be blocked. Which solution meets the requirement following the principle of least privilege?
Attach an IAM policy to ETLJobRole that allows s3:ListBucket and s3:GetObject on the corp-data bucket, and enable Block Public Access on the bucket.
Attach an IAM policy to ETLJobRole that allows s3:ListBucket and s3:GetObject on the etl-access access point ARN, and add an access point policy that allows only ETLJobRole and denies all other principals.
Restrict the VPC interface endpoint policy so that only ETLJobRole can call s3:GetObject through the endpoint; leave the access point and role policies unchanged.
Create a bucket policy on corp-data that allows only ETLJobRole to list and get objects from the raw/ prefix; leave the access point policy empty.
Granting permissions requires both sides of the authorization model to cooperate.
The IAM identity policy on ETLJobRole must explicitly allow s3:ListBucket and s3:GetObject actions that reference the access point ARN; otherwise the role has no rights.
An Amazon S3 Access Point policy that scopes access to that single principal and implicitly denies all other principals ensures no other user or role can use the access point. Relying on a bucket policy, ACLs, or adding the role as the only VPC endpoint principal does not prevent other IAM principals in the account from invoking the access point, nor does a role-only policy stop another principal if the access point remains wide open. Combining an allow identity policy with a restrictive access point policy therefore provides the least-privilege solution.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an S3 Access Point, and how does it work?
Open an interactive chat with Bash
How do IAM policies and S3 Access Point policies work together?
Open an interactive chat with Bash
Why is using both an IAM policy and an access point policy more secure than a bucket-only policy?
Open an interactive chat with Bash
AWS Certified Data Engineer Associate DEA-C01
Data Security and Governance
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .