Question #624
A company is migrating its on-premises payment-processing system to the AWS Cloud. The system includes a web frontend hosted on virtual machines, ActiveMQ for messaging between the frontend and backend, and a Kubernetes cluster running a containerized backend to handle payment transactions. The company wants to minimize application changes and reduce operational overhead.
Which solution meets these requirements with the LEAST operational overhead?
Create an AMI of the web server VM. Deploy it using an Amazon EC2 Auto Scaling group and an Application Load Balancer. Replace ActiveMQ with Amazon MQ. Migrate the Kubernetes backend to Amazon Elastic Kubernetes Service (Amazon EKS).
Replatform the web frontend using AWS Lambda with a custom runtime and Amazon API Gateway. Replace ActiveMQ with Amazon MQ. Migrate the Kubernetes backend to Amazon EKS.
Create an AMI of the web server VM. Deploy it using an Amazon EC2 Auto Scaling group and an Application Load Balancer. Replace ActiveMQ with Amazon MQ. Install Kubernetes on EC2 instances for the backend.
Create an AMI of the web server VM. Deploy it using an Amazon EC2 Auto Scaling group and an Application Load Balancer. Replace ActiveMQ with Amazon Simple Queue Service (SQS). Migrate the Kubernetes backend to Amazon EKS.
Explanation
Answer A is correct because:
1. AMI for Web Frontend: Deploying the existing VM using an AMI with EC2 Auto Scaling and an ALB avoids application changes.
2. Amazon MQ: Replaces ActiveMQ with a fully managed service, ensuring compatibility and reducing operational tasks.
3. Amazon EKS: Migrates the Kubernetes backend to a managed service, reducing cluster management overhead.
Other options:
- B: Replatforming to Lambda/API Gateway requires significant application changes.
- C: Installing Kubernetes on EC2 increases operational overhead vs. EKS.
- D: Amazon SQS requires code changes (different API), unlike Amazon MQ.
Key Points: Minimize changes (use AMI, Amazon MQ), reduce ops (EKS, managed services).
Answer
The correct answer is: A