AWS Certified Solutions Architect – Professional — Question 840

An enterprise runs 103 line-of-business applications on virtual machines in an on-premises data center. Many of the applications are simple PHP, Java, or Ruby web applications, are no longer actively developed, and serve little traffic.
Which approach should be used to migrate these applications to AWS with the LOWEST infrastructure costs?

Answer options

Correct answer: C

Explanation

Deploying 103 individual EC2 instances or Beanstalk environments would result in high idle costs for low-traffic applications. Containerizing the applications into Docker images and hosting them on a small Amazon ECS cluster allows for high resource density, which significantly minimizes infrastructure costs. This consolidation behind a single Application Load Balancer using path-based routing is the most cost-effective approach.