Question

Difficulty: EasyAWS Compute Services

A company is planning to deploy four different workloads on AWS, each with unique hosting, administration, and pricing requirements. Which AWS compute service is the most appropriate for each workload? Match the application workload requirements to their corresponding AWS compute services.

  • A simple web application that needs pre-configured storage, databases, and networking at a flat, predictable monthly price.AWS Lightsail
  • An event-driven script that automatically processes and resizes images uploaded to Amazon S3, paying only for the execution time.AWS Lambda
  • A legacy corporate application that requires direct administrative (root) access to the underlying operating system kernel.Amazon EC2
  • Containerized microservices that need to run and scale without provisioning or managing any underlying virtual machines.AWS Fargate

Answer

AWS Lightsail matches the simple flat-rate web application; AWS Lambda matches the event-driven image processing script; Amazon EC2 matches the legacy application needing OS administrative access; AWS Fargate matches the containerized microservices without managing virtual machines.
AWS Lightsail matches simple web hosting with flat-rate pricing. AWS Lambda matches event-driven, short-running functions. Amazon EC2 matches workloads requiring root access and control over the operating system. AWS Fargate matches serverless container execution where VM management is handled by AWS.

Step-by-Step Solution

1
Analyze the first workload requiring flat, predictable pricing and bundled services.
Identify AWS Lightsail as the service designed for easy, predictable-cost hosting.
AWS Lightsail bundles virtual private servers, storage, and databases into a single monthly flat rate, ideal for simple applications.
2
Analyze the second workload requiring event-driven execution for processing S3 uploads.
Identify AWS Lambda as the service that executes code in response to events without running continuous servers.
AWS Lambda is an event-driven serverless service that executes code in response to events (like S3 uploads) and bills only for active runtime.
3
Analyze the third workload requiring full administrative/root access to the OS kernel.
Identify Amazon EC2 as the service offering raw virtual machines with full administrative control.
Amazon EC2 offers complete root access and kernel customization, which serverless or fully managed services do not allow.
4
Analyze the fourth workload requiring container hosting without VM provisioning.
Identify AWS Fargate as the serverless container execution environment.
AWS Fargate runs containers directly without requiring the customer to manage, patch, or scale the underlying EC2 instances.

Key Concept

Selecting AWS compute services based on application architecture, administrative requirements, and cost models.
Rate this question