AWS Certified Data Engineer Associate DEA-C01 Practice Question
A financial company stores raw transaction data in an Amazon S3 data lake. AWS Glue ETL jobs and Amazon Athena queries must continue to access a PII table for further processing. However, the company must prevent an Amazon EMR cluster used by data scientists from reading that table, without duplicating the data or maintaining separate copies. Which approach BEST meets these requirements?
Register the S3 location with AWS Lake Formation and grant SELECT permissions only to the Glue and Athena principals, leaving the EMR runtime role without privileges.
Encrypt the bucket with an AWS KMS customer-managed key and update the key policy to deny decrypt permission to the EMR role while allowing Glue and Athena services.
Move the PII table to a separate S3 bucket referenced solely by Glue and Athena, and remove that bucket from the EMR cluster configuration.
Attach an S3 bucket policy that allows access only when the request header contains aws:CalledVia equal to glue.amazonaws.com or athena.amazonaws.com, denying all other services.
AWS Lake Formation provides fine-grained, table- and column-level permissions that are enforced by integrated analytics services. By registering the S3 location and granting SELECT access only to the IAM principals used by Glue and Athena, the company can simply omit (or revoke) permissions for the EMR cluster's runtime role. No additional buckets, copies, or encryption keys are required, and Lake Formation automatically applies the restrictions whenever the EMR cluster attempts to read the table.
Using a KMS key policy controls decryption but does not stop EMR from reading unencrypted objects or prevent access at the table level. An S3 bucket policy with complex aws:CalledVia conditions is difficult to manage and is not the recommended way to differentiate between analytics services. Maintaining a separate copy of the data increases storage cost and operational overhead while failing to provide centralized, least-privilege authorization.
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 AWS Lake Formation?
Open an interactive chat with Bash
How does IAM integration work with Lake Formation?
Open an interactive chat with Bash
Why is fine-grained access control important in data lakes?
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 .