SAP-C02 Question 647
Select 3A company is running an on-premises monolithic application that is mission-critical but challenging to scale and maintain. The company wants to modernize the application by migrating to AWS to improve scalability, reduce operational overhead, and adopt a modern architecture. Which combination of strategies should you recommend to achieve these goals?
- A
Refactor the application into microservices using Amazon ECS or AWS Lambda for individual components.
- B
Lift and shift the application to Amazon EC2 instances to minimize migration complexity.
- C
Use Amazon API Gateway to expose RESTful APIs for the application's functionality.
- D
Adopt Amazon DynamoDB as the database back-end to replace the current relational database for scalability.
- E
Implement AWS Elastic Beanstalk to rehost the application with minimal code changes.
Show answer and explanation
Correct answers: A, C, D
Explanation
Modernizing an application involves moving away from monolithic architectures to more scalable and maintainable solutions like microservices. Refactoring using ECS or Lambda enables a modular architecture. Amazon API Gateway complements this by providing a modern API interface. DynamoDB offers a highly scalable database solution, which is often a better choice for modern workloads. While lift-and-shift and rehosting strategies like Elastic Beanstalk can simplify migration, they do not align with the stated goals of modernization and enhancements.
- A. Correct.
Refactoring the application into microservices using ECS or Lambda aligns with modernization goals, improving scalability and maintainability. This approach also reduces operational overhead.
- B. Incorrect.
While lift-and-shift is a valid migration approach, it does not align with the goal of modernization and architecture enhancement. It merely moves the application without addressing scalability or operational overhead.
- C. Correct.
Using Amazon API Gateway to expose RESTful APIs supports a microservices architecture and provides a modern interface for application functionality, aligning with modernization objectives.
- D. Correct.
Adopting Amazon DynamoDB as the back-end database helps achieve scalability, performance, and operational simplicity, which are key goals for modernization.
- E. Incorrect.
AWS Elastic Beanstalk is a rehosting solution and does not inherently address modernization goals like adopting microservices or improving scalability. It is more suitable for quickly deploying the existing application without significant changes.