Question

Difficulty: MediumAWS Compute Services

Match each application workload requirement with the most appropriate AWS compute service.

  • A legacy database migration requiring custom OS kernel modifications and full administrative OS access.Amazon Elastic Compute Cloud (Amazon EC2)
  • A Docker-based microservices application that needs to run containerized workloads without managing host servers.AWS Fargate
  • An event-driven script that runs for under a minute only when new images are uploaded to an S3 bucket.AWS Lambda
  • A small business WordPress site that requires a simple virtual private server (VPS) with a fixed, predictable monthly fee.Amazon Lightsail

Answer

The workload requiring custom OS control matches Amazon EC2. The containerized application without server management matches AWS Fargate. The event-driven short task triggered by S3 matches AWS Lambda. The small website requiring a predictable VPS matches Amazon Lightsail.
Each workload is paired with the compute service that aligns with its requirement for administrative control, container orchestration, event-driven scalability, or pricing simplicity.

Step-by-Step Solution

1
Analyze the workload requiring full OS access and kernel customization.
This requires Amazon EC2 because it is an Infrastructure as a Service (IaaS) offering full virtual machine control.
Other options are managed or serverless and do not allow kernel customization or guest OS access.
2
Analyze the workload requiring container execution without managing underlying hosts.
This requires AWS Fargate, which is the serverless launch type for container orchestration on AWS.
Running containers on EC2 requires host management, whereas Fargate abstract hosts away.
3
Analyze the short, event-triggered workload.
This requires AWS Lambda, which is an event-driven serverless service designed for short-lived execution windows.
Lambda executes code only when triggered (such as by S3 events) and charges only for compute time used.
4
Analyze the workload requiring a simple VPS with a predictable monthly price.
This requires Amazon Lightsail, which bundles compute, storage, and transfer into a simple, predictable VPS package.
Lightsail is designed specifically for simple, low-traffic sites needing straightforward monthly cost planning.

Key Concept

Selecting appropriate AWS compute services based on operational control, deployment models (serverless, containerized, IaaS), and pricing predictability.
Estimated Time:1m 30s
Rate this question