Question

Difficulty: EasyAWS Compute Services

A retail company plans to host a web application that must run continuously on a virtual machine where they have full control over the operating system, including the ability to install custom software packages. Which AWS compute service is best suited for this workload?

  1. Amazon Elastic Compute Cloud (Amazon EC2)Answer
  2. B
    AWS Lambda
  3. C
    AWS Fargate
  4. D
    Amazon Elastic Container Service (Amazon ECS)

Answer

Amazon Elastic Compute Cloud (Amazon EC2) is the most appropriate service because it provides virtual machines with full administrative control over the operating system.
Amazon Elastic Compute Cloud (Amazon EC2) provides virtual servers in the cloud. It gives the customer full administrative control (root or administrator access) to configure the operating system, install custom applications, and run persistent, continuous workloads.

Step-by-Step Solution

1
Analyze the business requirements to identify the hosting environment and control level needed.
The application requires continuous running on a virtual machine with full operating system control and custom software installation.
This establishes that the customer requires an Infrastructure as a Service (IaaS) model where they maintain operating system administrative access.
2
Compare the requirements against the control levels of AWS compute services.
Amazon EC2 is the only option that offers raw virtual machines with full administrative control, while the other choices are container or serverless offerings that abstract the OS.
This identifies the correct service that matches the need for operating system customization and continuous execution.

Key Concept

Amazon EC2 provides virtual machines (instances) where the customer has full administrative control over the operating system, configuration, and software stack, representing the Infrastructure as a Service (IaaS) model.
Rate this question