AWS Certified Data Engineer Associate DEA-C01 Practice Question

Your company maintains a multi-tenant data lake on Amazon S3 with each department's data stored under its own prefix (for example s3://company-data/finance/ and s3://company-data/hr/). Analysts run interactive queries in Amazon Athena through AWS IAM Identity Center. You must ensure an analyst can query only the objects in their department's prefix while minimizing ongoing configuration changes. Which approach applies role-based authorization and meets the requirement?

  • Tag all S3 objects with a Department key and use a single S3 Access Point whose policy allows access only when aws:ResourceTag:Department matches the analyst's tag, keeping one shared IAM role for every analyst.

  • Attach a bucket policy that denies GetObject unless the object key begins with the user's department prefix, and let all analysts continue to use the default IAM role provided by IAM Identity Center.

  • Generate pre-signed S3 URLs for each department's query results at the start of every Athena session and distribute them to analysts through AWS Secrets Manager.

  • Create an IAM role for each department that allows access only to its S3 prefix, register the prefix with AWS Lake Formation using that role, grant the role SELECT permissions on the relevant tables, and require analysts to assume their department's role before running Athena queries.

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