SAP-C02 Question 646
Select 3A company has a legacy monolithic application hosted on a fleet of EC2 instances behind an Elastic Load Balancer. The application has frequent scaling issues during peak traffic, leading to downtime. The company wants to modernize the application to improve scalability, availability, and operational efficiency while minimizing operational overhead. Which of the following solutions would best achieve this goal?
- A
Refactor the monolithic application into a microservices architecture using AWS Lambda and Amazon API Gateway.
- B
Migrate the application to Amazon RDS for better scalability and managed database services.
- C
Containerize the application and deploy it using Amazon ECS with AWS Fargate to automate scaling and reduce infrastructure management.
- D
Use AWS Elastic Beanstalk to re-deploy the application and leverage its automatic scaling and deployment capabilities.
- E
Implement Amazon CloudFront for caching and reduced latency for end-users.
Show answer and explanation
Correct answers: A, C, D
Explanation
The correct answers focus on modernizing the architecture and addressing the company's core challenges of scalability, availability, and operational efficiency. Refactoring to a microservices architecture, containerizing the application, or using AWS Elastic Beanstalk are effective modernization strategies. Each solution reduces operational overhead and enhances scalability, aligning with the company's goals. While Amazon RDS and CloudFront are valuable AWS services, they do not address the primary issue of modernizing the monolithic application architecture.
- A. Correct.
Refactoring the application into a microservices architecture using AWS Lambda and Amazon API Gateway is a modernization approach that improves scalability, availability, and operational efficiency. It allows the application to scale on demand and reduces the operational overhead associated with managing servers.
- B. Incorrect.
Migrating the application to Amazon RDS is not relevant in this scenario as it addresses database management rather than modernizing the application architecture. While it enhances database scalability, it does not help with the monolithic application's overall scalability and operational efficiency.
- C. Correct.
Containerizing the application using Amazon ECS with AWS Fargate is a valid modernization strategy. It allows automated scaling and eliminates the need to manage the underlying infrastructure, improving operational efficiency.
- D. Correct.
Using AWS Elastic Beanstalk is a suitable solution for modernizing the application. It automates scaling, load balancing, and deployment, which addresses the company's challenges with peak traffic and operational overhead.
- E. Incorrect.
Implementing Amazon CloudFront is useful for improving performance and reducing latency but does not directly address the modernization of the monolithic application or its scaling issues.