AWS Certified Data Engineer Associate DEA-C01 Practice Question
A data engineering team must allow an AWS Glue job running in account A to write objects to an Amazon S3 bucket that belongs to account B. The solution must prevent storage of long-lived credentials inside the job code and must operate without human interaction. Which authentication method should the team use?
Configure an IAM role in account B and allow the AWS Glue job to assume that role by using AWS STS.
Generate a pre-signed S3 URL and embed it in the Glue job parameters before each run.
Create an IAM user in account B, store its access keys in AWS Secrets Manager, and retrieve them from the job at runtime.
Upload an X.509 client certificate so the Glue job can use mutual TLS authentication with Amazon S3.
Assuming an IAM role in account B provides temporary AWS Security Token Service (STS) credentials to the Glue job. Because the role is trusted by account A, the job can call STS to obtain short-lived keys whenever it runs, eliminating any need to embed or rotate long-term secrets. This is a role-based authentication mechanism. A pre-signed URL would require someone or some process to generate and inject the URL before each run. Storing permanent access keys in AWS Secrets Manager still relies on long-lived credentials that must be rotated. Amazon S3 does not support mutual TLS with customer-provided X.509 client certificates, so a certificate-based approach is not feasible.
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 AWS STS and how does it work?
Open an interactive chat with Bash
Why is assuming an IAM role considered more secure than pre-signed URLs or storing credentials?
Open an interactive chat with Bash
What is the importance of cross-account access in AWS?
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 .