DEA-C01 practice question 22 of 25

A data engineer wants to orchestrate a set of extract, transform, and load (ETL) jobs that run on AWS. The ETL jobs contain tasks that must run…

Full set: 287 questions
A data engineer wants to orchestrate a set of extract, transform, and load (ETL) jobs that run on AWS. The ETL jobs contain tasks that must run Apache Spark jobs on Amazon EMR, make API calls to Salesforce, and load data into Amazon Redshift. The ETL jobs need to handle failures and retries automatically. The data engineer needs to use Python to orchestrate the jobs. Which service will meet these requirements?
Answer options
A: Amazon Managed Workflows for Apache Airflow (Amazon MWAA) Correct answer
B: AWS Step Functions
C: AWS Glue
D: Amazon EventBridge
Correct Answer:
A. Amazon Managed Workflows for Apache Airflow (Amazon MWAA)
Explanation

Amazon Managed Workflows for Apache Airflow (Amazon MWAA) is the most suitable service. Apache Airflow is an open-source tool designed to programmatically author, schedule, and monitor complex data workflows. It uses Python to define workflows as Directed Acyclic Graphs (DAGs). MWAA is the AWS managed version, which simplifies deployment and management. It has a vast library of pre-built operators to interact with services like Amazon EMR, Amazon Redshift, and external APIs (like Salesforce), and it provides robust features for handling failures and retries automatically, directly meeting all the stated requirements.

Why Incorrect

B. AWS Step Functions defines workflows using a JSON-based language (Amazon States Language), not Python as required by the question.
C. AWS Glue Workflows are primarily for orchestrating AWS Glue jobs and crawlers, not for general-purpose orchestration involving external API calls or EMR jobs.
D. Amazon EventBridge is an event bus service for building event-driven applications; it is not a stateful workflow orchestration service.

References

1. AWS Documentation. (2023). What is Amazon Managed Workflows for Apache Airflow?. Retrieved from https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html

2. AWS Documentation. (2023). Amazon MWAA features. Retrieved from https://aws.amazon.com/managed-workflows-for-apache-airflow/features/ (Mentions Python-based authoring and extensive integrations).

3. AWS Documentation. (2023). Comparing AWS Step Functions and Amazon MWAA. Retrieved from https://docs.aws.amazon.com/step-functions/latest/dg/step-functions-vs-mwaa.html

Scroll to Top