AWS Certified Data Engineer Associate DEA-C01 Practice Question
A data engineer configured an Amazon Redshift RA3 cluster to query Parquet files in an S3 data lake by using Redshift Spectrum. The cluster assumes the IAM role "redshift-lf-role", which already has AmazonS3ReadOnlyAccess and AWSGlueConsoleFullAccess attached. When analysts run SELECT statements on an external schema, they receive an "access denied" error. Which change will most closely follow the principle of least privilege while allowing the queries to succeed?
Attach the AWS managed policy AmazonAthenaFullAccess to the IAM role so Redshift Spectrum can inherit Athena permissions.
In Lake Formation, grant the IAM role "redshift-lf-role" the SELECT permission on the specific Data Catalog database and table.
Add an inline IAM policy that allows s3:GetObject on the data lake bucket and disable the Lake Formation permission model.
Add the IAM role "redshift-lf-role" to the Lake Formation administrator list to remove all permission checks.
Redshift Spectrum authorizes access to external tables through AWS Lake Formation when the Lake Formation permission model is enabled. IAM policies that allow Glue or S3 actions are not sufficient. Granting SELECT on only the required database and table to the IAM role used by the Redshift cluster supplies the specific privilege needed. Making the role a Lake Formation administrator would grant unnecessary broad access, attaching Athena permissions does nothing for Redshift Spectrum, and disabling the Lake Formation permission model or expanding S3 permissions bypasses the intended fine-grained 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 and how does it control access?
Open an interactive chat with Bash
What role does the IAM role 'redshift-lf-role' play in this scenario?
Open an interactive chat with Bash
Why is granting SELECT permissions in Lake Formation considered 'least privilege'?
Open an interactive chat with Bash
What is Redshift Spectrum?
Open an interactive chat with Bash
Why does Lake Formation control access for Redshift Spectrum queries?
Open an interactive chat with Bash
What is the principle of least privilege?
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 .