AWS Certified Data Engineer Associate DEA-C01 Practice Question

Your data engineering team runs an AWS Glue ETL job that should read objects only from the s3://raw-data/projectA/ prefix and write output to s3://analytics/projectA/output/. No AWS managed policy provides this prefix-level control. Which approach best grants the Glue job role the least-privilege S3 permissions?

  • Attach the AWSGlueServiceRole managed policy and grant read and write access through bucket ACLs that list the Glue service principal.

  • Attach a customer managed IAM policy to the Glue job's execution role that allows s3:ListBucket on the raw-data bucket, s3:GetObject on arn:aws:s3:::raw-data/projectA/*, and s3:PutObject on arn:aws:s3:::analytics/projectA/output/*.

  • Attach the AmazonS3FullAccess managed policy to the Glue role and rely on an S3 gateway endpoint policy to restrict access to the required prefixes.

  • Register both buckets with AWS Lake Formation and assign the job role the data lake administrator permission set instead of using IAM policies.

AWS Certified Data Engineer Associate DEA-C01
Data Security and Governance
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot