AWS Certified Solutions Architect – Associate (SAA-C03) — Question 979
A company wants to migrate its existing on-premises monolithic application to AWS. The company wants to keep as much of the front-end code and the backend code as possible. However, the company wants to break the application into smaller applications. A different team will manage each application. The company needs a highly scalable solution that minimizes operational overhead.
Which solution will meet these requirements?
Answer options
- A. Host the application on AWS Lambda. Integrate the application with Amazon API Gateway.
- B. Host the application with AWS Amplify. Connect the application to an Amazon API Gateway API that is integrated with AWS Lambda.
- C. Host the application on Amazon EC2 instances. Set up an Application Load Balancer with EC2 instances in an Auto Scaling group as targets.
- D. Host the application on Amazon Elastic Container Service (Amazon ECS). Set up an Application Load Balancer with Amazon ECS as the target.
Correct answer: D
Explanation
Hosting the application on Amazon Elastic Container Service (Amazon ECS) allows the company to containerize their existing code with minimal modifications, preserving the existing codebase. Using an Application Load Balancer with ECS enables path-based routing to route traffic to different microservices managed by separate teams, minimizing operational overhead. Options A and B would require a complete rewrite of the monolithic code into serverless functions, while Option C increases operational overhead by requiring the management of EC2 instances.