AWS Certified Data Engineer Associate DEA-C01 Practice Question
A data engineering team runs an AWS Glue ETL job that connects to an on-premises PostgreSQL database. They must store the database user name and password so only the Glue job's execution role can retrieve them at runtime. The credentials must be encrypted, support parameter versioning for quick rollback after a failed rotation, and minimize operational overhead and cost. Which solution meets these requirements?
Add the credentials as plaintext environment variables in the Glue job and restrict access to the Glue console through IAM.
Use AWS Secrets Manager to store the credentials and enable automatic rotation with a Lambda function.
Store the user name and password as SecureString parameters in AWS Systems Manager Parameter Store (Standard tier), encrypted with the default AWS KMS key, and attach an IAM policy that allows only the Glue job role to call ssm:GetParameters with decryption.
Save the credentials in an encrypted text file in an Amazon S3 bucket and grant the Glue job role s3:GetObject permission.
AWS Systems Manager Parameter Store supports SecureString parameters that are encrypted with an AWS KMS key. Every update creates a new parameter version, and any previous version can be requested by specifying its version number, allowing fast rollback. Granting the Glue job role ssm:GetParameters permission (with decryption) limits access to only that role. Using the Standard tier incurs no additional charges and requires no maintenance, satisfying the low-overhead requirement.
Secrets Manager offers built-in rotation but costs more and is unnecessary if the team performs manual rotations. Storing credentials in an encrypted S3 object or as environment variables lacks built-in parameter versioning and equally granular access controls, making them less suitable.
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 Systems Manager Parameter Store?
Open an interactive chat with Bash
Why is SecureString encryption in Parameter Store important?
Open an interactive chat with Bash
How does parameter versioning help in AWS Systems Manager Parameter Store?
Open an interactive chat with Bash
What is AWS Systems Manager Parameter Store?
Open an interactive chat with Bash
How does IAM restrict access to SecureString parameters?
Open an interactive chat with Bash
Why is versioning important for SecureString parameters?
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 .