Question

Difficulty: MediumAWS Compute Services

An organization is deploying several workloads with different requirements on AWS. Match each operational workload requirement to its most appropriate AWS compute service.

  • An enterprise database system that requires custom operating system kernel configurations and administrative root access to the virtual server.Amazon EC2
  • A data processing script that executes only when an object is uploaded to an Amazon S3 bucket, running for less than 15 seconds per execution.AWS Lambda
  • A containerized microservice API that needs to run continuously without the development team having to manage, patch, or scale any underlying virtual machines.AWS Fargate
  • A simple development environment with a pre-configured web server and database that requires a predictable, flat-rate monthly price.Amazon Lightsail

Answer

The database system requiring custom OS configurations matches Amazon EC2. The event-triggered script processing S3 uploads matches AWS Lambda. The containerized microservice requiring serverless orchestration matches AWS Fargate. The development environment requiring a predictable flat-rate cost matches Amazon Lightsail.
The correct pairings align the specific workload features with the administrative responsibilities of each AWS compute service: Amazon EC2 is selected for full OS control; AWS Lambda is selected for transient, event-driven functions; AWS Fargate is selected for serverless container workloads; and Amazon Lightsail is selected for simple, predictably priced pre-packaged stacks.

Step-by-Step Solution

1
Evaluate administrative control requirements.
Amazon EC2 provides root access and full operating system level control.
To match the workload requiring custom operating system kernel configurations.
2
Evaluate execution duration and trigger types.
AWS Lambda is a serverless, event-driven service designed for short-lived tasks triggered by AWS services.
To match the short-duration data processing script triggered by S3 uploads.
3
Evaluate container management models.
AWS Fargate is a serverless compute engine for containers that removes the need to manage underlying servers.
To match the continuously running containerized microservice API needing no host administration.
4
Evaluate cost predictability and setup complexity.
Amazon Lightsail offers an all-in-one pre-configured server and database bundle with a flat-rate price.
To match the requirement for a simple, predictable, and low-cost development environment.

Key Concept

Selecting AWS compute services based on operational constraints such as serverless automation, container hosting, OS-level administrative control, and predictable flat-rate pricing structures.
Rate this question