SAP-C02 Question 645
Select 3A company is running a legacy monolithic application on Amazon EC2 instances behind an Application Load Balancer (ALB). The application has frequent issues with scalability during peak traffic and deployment downtime during updates. The company wants to modernize this application to improve its scalability, availability, and deployment process. As a solutions architect, which of the following approaches would you recommend for modernization?
- A
Refactor the monolithic application into a microservices architecture and deploy the services using Amazon ECS or AWS Lambda.
- B
Enable Auto Scaling for the EC2 instances to handle peak traffic automatically.
- C
Migrate the database from an EC2-hosted database to an Amazon RDS Multi-AZ deployment.
- D
Implement a CI/CD pipeline using AWS CodePipeline and AWS CodeDeploy for automated deployments.
- E
Move the application to an Amazon S3 bucket and serve it as a static website.
Show answer and explanation
Correct answers: A, C, D
Explanation
Modernizing a legacy monolithic application involves adopting strategies that improve scalability, availability, and operational efficiency. Refactoring the application into microservices enables better scalability and resilience. Migrating the database to Amazon RDS Multi-AZ enhances availability, while implementing a CI/CD pipeline addresses deployment downtime. These approaches align with AWS best practices for modernization. Enabling Auto Scaling alone is insufficient for modernization, and moving the application to an S3 bucket is not applicable for dynamic workloads.
- A. Correct.
Refactoring the monolithic application into a microservices architecture will allow the company to improve scalability and availability by isolating components and enabling independent scaling and deployment. Deploying the services on ECS or Lambda provides additional benefits of elasticity and serverless capabilities.
- B. Incorrect.
Enabling Auto Scaling for the EC2 instances can help with handling peak traffic, but it does not address the issues of deployment downtime or the limitations of a monolithic architecture. This is more of a short-term solution rather than a modernization effort.
- C. Correct.
Migrating the database to Amazon RDS Multi-AZ provides enhanced availability, durability, and maintenance capabilities, which are essential components of a modernization strategy.
- D. Correct.
Implementing a CI/CD pipeline reduces deployment downtime and streamlines the deployment process, which is a critical aspect of modern application development.
- E. Incorrect.
Moving the application to an Amazon S3 bucket and serving it as a static website is not feasible for a monolithic application that likely has dynamic components and requires server-side processing.