AWS Certified Data Engineer Associate DEA-C01 Practice Question
A data engineer is building an AWS Glue Spark job that ingests product data from an on-premises Oracle database through a JDBC connection. The job must run in a private subnet, avoid hard-coding credentials, and allow future jobs to reuse the same connectivity settings. Which solution meets these requirements?
Upload the Oracle JDBC driver JAR and a properties file with user credentials to Amazon S3 and pass both files with the job's --extra-jars parameter.
Configure an AWS Direct Connect gateway to the data center and let the job rely on its IAM execution role for database authentication.
Add the Oracle host, port, user, and password as job parameters and call SparkContext.addJar at runtime to load the JDBC driver.
Create an AWS Glue connection that specifies the Oracle JDBC URL, the private subnet, and an AWS Secrets Manager secret containing the credentials, then attach the connection to the job.
An AWS Glue JDBC connection can encapsulate the JDBC URL, VPC subnet and security groups, and a reference to an AWS Secrets Manager secret that stores the Oracle user name and password. The job simply specifies the connection name, so credentials are not embedded in code and the same connection object can be shared by other Glue jobs. Storing plaintext credentials in S3, passing them as job parameters, or relying on IAM roles does not provide secure database authentication or a reusable configuration.
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 AWS Glue connection and why is it useful?
Open an interactive chat with Bash
How does AWS Secrets Manager work in this solution?
Open an interactive chat with Bash
Why is configuring the private subnet important for the AWS Glue job?
Open an interactive chat with Bash
AWS Certified Data Engineer Associate DEA-C01
Data Ingestion and Transformation
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 .