SAP-C02 Question 643
Select 3A company has a legacy monolithic application hosted on Amazon EC2 instances. The application experiences frequent downtime during deployment cycles, and scaling to meet peak demand is challenging. The company wants to modernize its architecture to improve availability, scalability, and deployment agility. Which combination of actions should the Solutions Architect recommend?
- A
Refactor the application into microservices and deploy them in Amazon ECS with Auto Scaling enabled.
- B
Migrate the application to Amazon S3 to take advantage of its durability and scalability.
- C
Implement a CI/CD pipeline using AWS CodePipeline and AWS CodeDeploy to automate deployments.
- D
Containerize the application using Docker and deploy it on Amazon Elastic Kubernetes Service (Amazon EKS).
- E
Move the application to AWS Lambda and use Amazon API Gateway as the entry point for API requests.
Show answer and explanation
Correct answers: A, C, D
Explanation
To modernize the application and address the challenges, the recommended actions focus on breaking the monolith into microservices, using containerization for flexibility and scalability, and implementing automation for deployments. Refactoring into microservices on ECS or EKS aligns with modern architectural patterns, while a CI/CD pipeline ensures deployment agility. While AWS Lambda and API Gateway can modernize certain workloads, it may not be suitable for all legacy monolithic applications.
- A. Correct.
Refactoring the application into microservices and deploying them in Amazon ECS with Auto Scaling improves scalability and availability while allowing for independent deployment of components, which enhances deployment agility.
- B. Incorrect.
Amazon S3 is a storage service, not suitable for hosting an application. This option does not address the problem of improving scalability, availability, or deployment agility.
- C. Correct.
Implementing a CI/CD pipeline automates the deployment process, reducing downtime during deployment cycles and improving deployment agility.
- D. Correct.
Containerizing the application and deploying it on Amazon EKS provides a scalable, managed Kubernetes environment and supports modern containerized application architecture.
- E. Incorrect.
Moving the application to AWS Lambda and Amazon API Gateway is a valid modernization strategy but is not always feasible for monolithic applications without significant rearchitecting. This option may also face limitations for applications that require long-running processes.