AWS Certified Data Engineer Associate DEA-C01 Practice Question
A data engineering team stores datasets in multiple Amazon S3 buckets shared across accounts. All objects that have completed de-identification are tagged PII=masked. The team must guarantee that an IAM role assumed by an AWS Glue crawler can read only the de-identified objects. Which approach meets the requirement by using tag-based authorization?
Add a bucket policy that allows s3:GetObject for the role only when the request includes the header x-amz-tagging set to "PII=masked".
Implement ABAC by adding a condition on aws:ResourceTag/PII = masked in the IAM role's trust policy and access the bucket through an S3 Access Point.
Register the buckets in AWS Lake Formation, tag them PII=masked, and grant the role SELECT permission through LF-tag-based access control.
Attach an IAM identity-based policy to the role that allows s3:GetObject on the required bucket ARN with the condition StringEquals { "s3:ExistingObjectTag/PII": "masked" }.
Amazon S3 supports fine-grained, tag-based authorization through the s3:ExistingObjectTag/ condition key. An identity-based (IAM) policy that allows s3:GetObject only when the object already carries the tag value enforces least-privilege access without modifying bucket-level policies. Bucket policies that look for request headers or that rely on aws:ResourceTag do not restrict GetObject because those keys are not evaluated for existing objects. Lake Formation LF-tags do not apply to a Glue crawler reading directly from S3, and ABAC in the trust policy cannot filter S3 objects. Therefore, attaching an IAM policy that uses s3:ExistingObjectTag/PII = masked is the correct implementation.
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 tag-based authorization in AWS?
Open an interactive chat with Bash
What is the difference between `s3:ExistingObjectTag` and `aws:ResourceTag`?
Open an interactive chat with Bash
Why can't Lake Formation LF-tags or ABAC in trust policies help with S3 object-level access control?
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 .