AWS Certified Data Engineer Associate DEA-C01 Practice Question
Your data engineering team runs Apache Spark jobs on an Amazon EMR cluster inside a private subnet. The job must write results to an Amazon S3 bucket in the same account. The security team insists that no long-lived credentials are stored on the cluster and that permissions follow least privilege. Which approach satisfies these authentication requirements?
Generate a presigned URL for the bucket prefix and save it as plain text on each node before the job starts.
Store access keys for an IAM user with AmazonS3FullAccess in AWS Secrets Manager and retrieve them during cluster bootstrap.
Attach a custom-policy IAM instance-profile role to the EMR cluster that allows only s3:PutObject on the specific bucket.
Provision a client certificate in AWS Certificate Manager and configure Spark to present it for mutual TLS when writing to S3.
Attaching an IAM instance-profile role to the EMR cluster supplies temporary credentials to every node through the Instance Metadata Service. Those short-lived credentials are automatically rotated and can be scoped to the exact S3 actions (for example, only s3:PutObject on the target bucket), meeting the principle of least privilege. Storing an IAM user's access keys in Secrets Manager still creates long-lived credentials and a rotation burden. Amazon S3 does not support client-certificate authentication, so a certificate-based solution would fail. Presigned URLs avoid credentials but cannot realistically support continual Spark writes and expose the URL if stored on the nodes. Therefore, using a tightly scoped instance-profile role is the only option that satisfies both the no-credentials and least-privilege requirements.
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 an IAM instance-profile role, and how does it work with Amazon EMR clusters?
Open an interactive chat with Bash
Why are long-lived credentials considered less secure than temporary credentials in AWS?
Open an interactive chat with Bash
Why is a presigned URL not a viable option for continual Spark writes to Amazon S3?
Open an interactive chat with Bash
What is an IAM instance-profile role in AWS?
Open an interactive chat with Bash
How does the Instance Metadata Service (IMDS) provide temporary credentials?
Open an interactive chat with Bash
Why is using a presigned URL unsuitable for Apache Spark jobs?
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 .