SAP-C02 Question 219
Single answerA rapidly growing e-commerce company is planning to migrate its existing on-premises infrastructure to AWS. They have a monolithic application running on multiple virtual machines and must ensure high availability, scalability, and cost-efficiency during and after the migration. The company also needs to retain the ability to test new features without impacting the production environment. Which solution best meets their requirements?
- A
Re-host the application on Amazon EC2 instances with Auto Scaling groups and use Elastic Load Balancing for high availability.
- B
Re-platform the application by containerizing it with Amazon ECS on AWS Fargate and using Application Load Balancer for scalability.
- C
Re-architect the application to a serverless model using AWS Lambda and Amazon API Gateway for scalability and cost-efficiency.
- D
Lift and shift the application to Amazon EC2 instances in a single Availability Zone to minimize costs.
Show answer and explanation
Correct answer: C
Explanation
The best solution involves re-architecting the monolithic application into a serverless model using AWS Lambda and Amazon API Gateway. This approach addresses the company's need for high availability, scalability, and cost-efficiency. Additionally, the serverless architecture allows the creation of separate environments for testing features, ensuring production stability. While other options provide partial solutions, they do not fully meet all the specified requirements.
- A. Incorrect.
While this approach provides high availability and scalability, it does not offer cost-efficiency or the ability to easily test new features without impacting production. This option is more suitable for a quick migration without significant architectural changes.
- B. Incorrect.
This approach introduces scalability and cost-efficiency but might not fully address high availability on its own. Additionally, containerizing a monolithic application can be complex and may not meet the requirement for feature testing separation.
- C. Correct.
Re-architecting the application into a serverless model using AWS Lambda and Amazon API Gateway ensures high availability, scalability, and cost-efficiency. It also facilitates the deployment of isolated environments for testing new features without impacting production.
- D. Incorrect.
Running instances in a single Availability Zone compromises high availability and introduces a single point of failure. This does not meet the company's requirements for scalability or testing flexibility.