SAP-C02 Question 644
Select 3A retail company is running a monolithic application on Amazon EC2 instances behind an Application Load Balancer. The application uses a single database hosted on Amazon RDS for MySQL. The company is experiencing scalability issues during peak shopping seasons and wants to modernize the architecture to improve scalability, reliability, and operational efficiency. Which combination of actions should the Solutions Architect recommend?
- A
Refactor the monolithic application into microservices and deploy on Amazon ECS with AWS Fargate.
- B
Migrate the database to Amazon DynamoDB to handle variable traffic patterns and improve scalability.
- C
Implement Auto Scaling groups for the existing EC2 instances to handle high traffic during peak periods.
- D
Utilize Amazon RDS Multi-AZ deployment for improved database availability and failover support.
- E
Use AWS Lambda to replace the application and database entirely for a serverless architecture.
Show answer and explanation
Correct answers: A, B, D
Explanation
Modernizing the architecture involves refactoring the monolithic application into microservices and leveraging managed services like Amazon ECS with Fargate for scalability. DynamoDB is a natural choice for handling variable traffic patterns in a modern architecture. Additionally, enhancing database availability with Amazon RDS Multi-AZ aligns with the goals of improving reliability. Integrating these solutions ensures scalability, reliability, and operational efficiency.
- A. Correct.
Refactoring the monolithic application into microservices and deploying on Amazon ECS with AWS Fargate improves scalability and operational efficiency. ECS with Fargate eliminates the need to manage underlying servers.
- B. Correct.
Migrating the database to Amazon DynamoDB provides a highly scalable, serverless database solution for handling variable workloads, which is ideal for seasonal traffic spikes.
- C. Incorrect.
While Auto Scaling groups can improve scalability for the existing EC2 setup, it does not address the modernization of the architecture, which focuses on moving away from monolithic designs.
- D. Correct.
Utilizing Amazon RDS Multi-AZ deployment enhances database availability and provides failover support, which aligns with the goal of improving reliability.
- E. Incorrect.
Replacing the entire application and database with AWS Lambda is not feasible for this scenario, as a complete serverless architecture would require significant re-architecture, which is not stated as an immediate goal.