AWS Certified Data Engineer Associate DEA-C01 Practice Question

Your company uses an Amazon Redshift RA3 cluster. Ten users in the analytics team must be able to run SELECT statements against every table that exists now or will be created later in the analytics schema. They must not receive INSERT, UPDATE, or DELETE privileges. The same users also need to load data with the COPY command from an Amazon S3 bucket by assuming the cluster's default IAM role. Which approach provides the required access while minimizing future administration?

  • Create a database role named r_analytics. GRANT SELECT ON ALL TABLES IN SCHEMA analytics TO ROLE r_analytics; then run ALTER DEFAULT PRIVILEGES IN SCHEMA analytics GRANT SELECT ON TABLES TO ROLE r_analytics. GRANT ASSUMEROLE ON DEFAULT TO ROLE r_analytics FOR COPY. Grant ROLE r_analytics TO each of the 10 users. Verify the cluster's default IAM role is attached.

  • Register the cluster as a data source in AWS Lake Formation, create an LF-tag-based policy that grants SELECT on the analytics schema, and allow Lake Formation to propagate permissions to new tables.

  • Attach the AmazonRedshiftReadOnlyAccess AWS managed policy to each IAM user and let them specify IAM_ROLE 'default' in COPY commands.

  • Add every analytics user to a new database group named analytics_ro and run GRANT USAGE ON SCHEMA analytics, GRANT SELECT ON ALL TABLES IN SCHEMA analytics, and ALTER DEFAULT PRIVILEGES … GRANT SELECT ON TABLES TO GROUP analytics_ro. Rely on inherited permissions for COPY.

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