AWS Certified Data Engineer Associate DEA-C01 Practice Question
An e-commerce company transforms 2 TB of clickstream data stored in Amazon S3 every night by running a PySpark script that is version-controlled in an S3 path. Engineers want to invoke the job from a Jenkins pipeline through API calls, avoid managing any clusters, yet retain access to the Spark UI for detailed job troubleshooting. Which solution best satisfies these requirements?
Load the script into an Amazon Athena Spark notebook and invoke it by calling the StartQueryExecution API; view execution output in Athena's query editor for debugging.
Package the script in a Docker image and run it with AWS Batch on AWS Fargate; submit the job via the SubmitJob API; inspect the CloudWatch Logs stream for troubleshooting.
Create an AWS Glue Spark job that references the script in Amazon S3; trigger the job by calling the StartJobRun API from Jenkins; use the AWS Glue Spark UI to debug failed runs.
Provision an Amazon EMR cluster on EC2 each night and submit the script as a step by calling the AddJobFlowSteps API; access the Spark UI on the cluster's master node for troubleshooting; terminate the cluster after completion.
AWS Glue provides a serverless Spark runtime, so no clusters need to be provisioned or maintained. The script can be referenced directly from Amazon S3, and the Jenkins pipeline can start each run by calling the AWS Glue StartJobRun API. Each run automatically exposes the Spark UI and executor logs in the AWS Glue console, which allows engineers to inspect stages, tasks, and metrics for troubleshooting. Using an EMR cluster would meet the functional need but requires provisioning, configuring, and terminating infrastructure. Athena and AWS Batch do not provide the full Spark UI, making them less suitable for the stated troubleshooting requirement.
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 Glue?
Open an interactive chat with Bash
How does the AWS Glue Spark UI assist in debugging?
Open an interactive chat with Bash
Why is AWS Glue preferred over Amazon EMR for serverless Spark jobs?
Open an interactive chat with Bash
What is AWS Glue and its role in Spark jobs?
Open an interactive chat with Bash
How does the AWS Glue Spark UI help with troubleshooting jobs?
Open an interactive chat with Bash
Why is AWS Glue preferred over Amazon EMR for this use case?
Open an interactive chat with Bash
AWS Certified Data Engineer Associate DEA-C01
Data Operations and Support
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 .