Orchestrate Python and Bash Scripts with Least Overhead
Short answer
B Amazon Managed Workflows for Apache Airflow (MWAA) enables migration of existing orchestration workflows without refactoring code or managing servers.
Question
Key Takeaways
This question tests the ability to select a managed orchestration service that maintains compatibility with legacy on-premises workflows while eliminating server management overhead.
Amazon Managed Workflows for Apache Airflow (MWAA) is the correct choice for migrating existing orchestration tools to AWS without refactoring code or managing servers. It natively supports Python and Bash scripts, ensuring a seamless migration.
Common mistake: Many candidates choose AWS Step Functions because it is a fully managed, serverless workflow service. However, Step Functions requires rewriting logic into its specific JSON state machine format, which violates the requirement to not refactor any code.
Expert Analysis
Why the Answer Is Correct
Amazon Managed Workflows for Apache Airflow (MWAA) allows organizations to run Apache Airflow on AWS without managing the underlying infrastructure. Since the company currently uses a third-party tool to orchestrate ingestion (likely an Airflow-based or similar DAG-driven system), MWAA provides a direct path for migration. It natively executes Python and Bash scripts as tasks within these DAGs, satisfying the requirement to avoid code refactoring. The 'managed' aspect ensures there is no operational overhead for patching or scaling the orchestrator.
Why the Other Options Are Wrong
AWS Lambda (A) is compute, not orchestration; it cannot easily manage complex dependencies between multiple scripts without external tooling. Amazon Step Functions (C) is a serverless orchestration service, but it requires defining workflows using AWS-specific JSON state definitions. This necessitates refactoring existing Python/Bash execution logic into Step Functions' structure, violating the 'no refactor' constraint. AWS Glue (D) is primarily for ETL data transformation and job scheduling, not general-purpose orchestration of arbitrary Python and Bash scripts in the same flexible manner as Airflow.
Community Comment Notes
The community heavily favored option B, aligning with the exam's focus on 'orchestration' over generic 'serverless'. One comment highlighted the key constraint: "because company want to use same tool on premises and least operational overhead", emphasizing the migration aspect. Another user questioned why Step Functions wasn't chosen due to its serverless nature, noting that while it manages servers, it fails the architectural compatibility test for existing scripts. As HunkyBunky noted, MWAA is the best fit for task requirements involving script orchestration without code changes.
Official Reference
This link opens the official vendor documentation in a new tab.
Exam Strategy
When a question mentions 'migration' from an on-premises environment and explicitly forbids 'refactoring', look for the AWS managed service that replicates the functionality of the legacy tool. If the legacy tool involves DAGs or Python/Bash scripting, MWAA is often the answer. If the requirement was purely 'serverless compute', Lambda would be considered, but 'orchestration' points to Step Functions or MWAA.
Frequently Asked Questions
Why not AWS Step Functions for orchestration?
Does MWAA require managing servers?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 5 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 5
-
Ja13 👍 3 Answered BAn ecommerce company wants to use AWS to migrate data pipelines from an on-premises environment into the AWS Cloud. The company currently uses a third-party tool in the on-premises environment to orchestrate data ingestion processes. The company wants a migration solution that does not require the company to manage servers. The solution must be able to orchestrate Python and Bash scripts. The solution must not require the company to refactor any code. Which solution will meet these requirements with the LEAST operational overhead? A. AWS Lambda B. Amazon Managed Workflows for Apache Airflow (Amazon MVVAA) C. AWS Step Functions D. AWS Glue
-
HunkyBunky 👍 2 Answered BB - because company want to use same tool on premises and least operational overhead
-
didorins 👍 1 Answered C"The company wants a migration solution that does not require the company to manage servers.". How is it Amazon Managed Workflows for Apache Airflow and not Step Functions when Step Functions is the serverless of the two ?
-
HunkyBunky 👍 1 Answered BB - best fits in task requirements
-
Bmaster 👍 2My Choice is B
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All DEA-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DEA-C01 Practice Test →