Q67 — AWS DEA-C01 Ch.1
Question 67 of 100 | ← Chapter 1
A company uses Apache Airflow to orchestrate the company's current on-premises data pipelines. The company runs SQL data quality check tasks as part of the pipelines. The company wants to migrate the pipelines to AWS and to use AWS managed services. Which solution will meet these requirements with the LEAST amount of refactoring?
- A. Setup AWS Outposts in the AWS Region that is nearest to the location where the company uses Airflow. Migrate the servers into Outposts hosted Amazon EC2 instances. Update the pipelines to interact with the Outposts hosted EC2 instances instead of the on-premises pipelines.
- B. Create a custom Amazon Machine Image (AMI) that contains the Airflow application and the code that the company needs to migrate. Use the custom AMI to deploy Amazon EC2 instances. Update the network connections to interact with the newly deployed EC2 instances.
- C. Migrate the existing Airflow orchestration configuration into Amazon Managed Workflows for Apache Airflow (Amazon MWAA). Create the data quality checks during the ingestion to validate the data quality by using SQL tasks in Airflow. ✓
- D. Convert the pipelines to AWS Step Functions workflows. Recreate the data quality checks in SQL as Python based AWS Lambda functions.
Correct Answer: C. Migrate the existing Airflow orchestration configuration into Amazon Managed Workflows for Apache Airflow (Amazon MWAA). Create the data quality checks during the ingestion to validate the data quality by using SQL tasks in Airflow.
Explanation
该题考察对AWS迁移策略及托管服务的理解。AWS文档指出,Amazon MWAA为Apache Airflow提供全托管服务,允许直接迁移现有配置,无需重构。选项A的Outposts适用于混合架构,仍需管理EC2;选项B自定义AMI需维护EC2,非全托管;选项D转换工具链涉及代码重写,重构量大。选项C利用MWAA托管服务,直接迁移现有Airflow配置,保留SQL任务,符合最小重构需求。答案正确。