
Answer-first summary for fast verification
Answer: Refactor
## Explanation **Refactor** is the correct migration strategy when converting a monolithic application into microservices architecture. ### Why Refactor is Correct: 1. **Microservices Transformation**: Refactoring involves re-architecting the application to improve its structure, performance, and scalability. Converting a monolithic application to microservices requires significant architectural changes, which aligns with the refactor strategy. 2. **AWS 6 R's of Migration**: - **Rehost** (Lift and Shift): Moving applications without changes - **Replatform** (Lift, Tinker, and Shift): Making minor optimizations - **Repurchase**: Switching to a different product - **Refactor** (Re-architect): Reimagining the application architecture 3. **Business Goal Alignment**: The company specifically wants to "modernize and convert a monolithic application into microservices," which requires fundamental architectural changes rather than just moving the application to the cloud. ### Other Options Explained: - **Rehost**: Simply moving the application to AWS without architectural changes (not suitable for microservices conversion) - **Replatform**: Making minor optimizations but keeping the monolithic structure (not sufficient for microservices) - **Repurchase**: Buying a new solution (not applicable to converting existing application) ### AWS Best Practice**: When migrating to microservices on AWS, companies typically use services like: - AWS Lambda for serverless functions - Amazon ECS/EKS for container orchestration - Amazon API Gateway for API management - AWS Fargate for serverless containers This approach allows for independent scaling, faster deployment, and better fault isolation compared to monolithic architectures.
Author: Ritesh Yadav
Ultimate access to all questions.
A company wants to modernize and convert a monolithic application into microservices. The company wants to move the application to AWS. Which migration strategy should the company use?
A
Rehost
B
Replatform
C
Repurchase
D
Refactor
No comments yet.