AWS Certified Data Engineer Associate DEA-C01 Practice Question

A data engineering team runs AWS Glue Python shell jobs inside private subnets of a VPC that has no route to the internet. Each job must retrieve the target Amazon Redshift user password that is stored as an AWS Secrets Manager secret. According to AWS security best practices, how should the team configure authentication so the jobs can retrieve the secret without violating the principle of least privilege?

  • Attach an IAM role to each Glue job that allows only secretsmanager:GetSecretValue on the specific secret, and create an interface VPC endpoint for Secrets Manager so the job uses temporary role credentials inside the VPC.

  • Attach the AWS managed policy SecretsManagerReadWrite to the default AWSGlueServiceRole and use a NAT gateway so the subnet can reach Secrets Manager over the internet.

  • Encrypt the password with a customer-managed KMS key and pass it as an encrypted job parameter; the job decrypts it with the key at runtime.

  • Create an IAM user with long-lived access keys that can retrieve the secret and store the keys in the job's connection properties.

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