nerdexam
Amazon

SAP-C02 · Question #28

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…

The correct answer is C. Convert each application to a Docker image and deploy to a small Amazon ECS cluster behind. To migrate 103 simple, low-traffic web applications with the lowest infrastructure costs, containerizing them into Docker images and deploying them to a small Amazon ECS cluster allows for efficient resource sharing across applications. This consolidation significantly reduces…

Submitted by renata2k· Mar 6, 2026Migrate Workloads and Modernize Solutions

Question

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?

Options

  • ADeploy the applications lo single-instance AWS Elastic Beanstalk environments without a load
  • BUse AWS SMS to create AMls for each virtual machine and run them in Amazon EC2.
  • CConvert each application to a Docker image and deploy to a small Amazon ECS cluster behind
  • DUse VM Import/Export to create AMls for each virtual machine and run them in single-instance

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    17% (5)
  • C
    73% (22)
  • D
    7% (2)

Why each option

To migrate 103 simple, low-traffic web applications with the lowest infrastructure costs, containerizing them into Docker images and deploying them to a small Amazon ECS cluster allows for efficient resource sharing across applications. This consolidation significantly reduces the number of underlying compute resources required.

ADeploy the applications lo single-instance AWS Elastic Beanstalk environments without a load

Deploying 103 separate AWS Elastic Beanstalk environments, even single-instance ones, would likely provision dedicated resources for each application, leading to higher overall infrastructure costs than a consolidated container approach.

BUse AWS SMS to create AMls for each virtual machine and run them in Amazon EC2.

Using AWS SMS to create AMIs and then running each application on its own dedicated Amazon EC2 instance would result in a one-to-one mapping, leading to 103 separate EC2 instances, which is not the lowest cost option for many low-traffic applications.

CConvert each application to a Docker image and deploy to a small Amazon ECS cluster behindCorrect

Converting each application to a Docker image and deploying them to a small Amazon ECS cluster behind a load balancer enables multiple low-traffic applications to share underlying compute resources efficiently, which significantly reduces the total number of EC2 instances and associated infrastructure costs compared to dedicated instances per application.

DUse VM Import/Export to create AMls for each virtual machine and run them in single-instance

Similar to option B, using VM Import/Export and running each application on a dedicated single-instance EC2 virtual machine would be a costly approach, as it would require 103 separate instances instead of consolidating them onto shared infrastructure.

Concept tested: Containerization for cost-effective application migration

Source: https://aws.amazon.com/ecs/features/

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice