SAP-C02 Question 575
Single answerA company is planning to migrate its on-premises web application to AWS. The application consists of a front-end web server, a middle-tier application server, and a MySQL database. The team wants to minimize migration complexity while ensuring the application remains functional during the migration process. Which of the following approaches would be the most optimal for this workload?
- A
Use the AWS Application Migration Service to lift and shift the entire application to EC2 instances, retaining its current architecture.
- B
Containerize the application using Docker and migrate it to Amazon ECS while replacing the MySQL database with Amazon DynamoDB.
- C
Refactor the application to be serverless by re-architecting it to use AWS Lambda for the business logic and Amazon Aurora Serverless for the database.
- D
Use AWS Database Migration Service (DMS) to migrate the MySQL database to Amazon RDS, and deploy the application servers on EC2 instances.
Show answer and explanation
Correct answer: A
Explanation
The AWS Application Migration Service is the optimal migration approach for this workload as it supports a lift-and-shift migration strategy. This approach minimizes changes to the application architecture, ensuring a functional migration with reduced complexity. Other options involve significant re-architecture or fail to address the entire workload, making them less suitable for this scenario.
- A. Correct.
This option is correct because AWS Application Migration Service allows for a lift-and-shift migration, minimizing complexity and ensuring the application remains functional during the migration process. It is an optimal choice for retaining the current architecture while moving to AWS.
- B. Incorrect.
This option is incorrect because containerizing the application and replacing the database with DynamoDB introduces significant refactoring and complexity, which contradicts the requirement to minimize migration complexity.
- C. Incorrect.
This option is incorrect because refactoring the application to be serverless requires re-architecting the application, which adds significant complexity and development effort, making it unsuitable for the stated goal.
- D. Incorrect.
This option is incorrect because while it addresses the database migration, it does not provide a comprehensive solution for the overall application migration. Deploying application servers on EC2 without addressing the front-end web server introduces additional complexity.