Question

Difficulty: MediumAWS Compute Services

A financial company is moving two distinct workloads to AWS. The first workload is an event-driven task that processes uploaded transaction logs in under two minutes. The second workload is a containerized API service that must run continuously to handle incoming web traffic without requiring the team to manage virtual machine operating systems. Which of the following AWS compute options should the company use to host these workloads with the lowest operational management? (Select TWO.)

  1. AWS LambdaAnswer
  2. AWS FargateAnswer
  3. C
    Amazon Elastic Compute Cloud (Amazon EC2)
  4. D
    AWS Lightsail
  5. E
    Amazon Elastic Container Service (Amazon ECS) with Amazon EC2 launch type

Answer

AWS Lambda and AWS Fargate are the correct compute options for these workloads.
To achieve the lowest operational management overhead, serverless compute services are the most appropriate choice. AWS Lambda is suitable for the short-running, event-driven task of processing logs because it executes code only when triggered and requires zero infrastructure management. AWS Fargate is the appropriate container hosting service because it runs containerized web applications continuously without requiring the customer to manage or patch virtual machines.

Step-by-Step Solution

1
Analyze the first workload requirement.
The first workload is event-driven, short-running (under two minutes), and needs minimal management. AWS Lambda is the ideal serverless fit because it executes code in response to events and scales automatically with no server management.
AWS Lambda charges only for the compute time consumed and eliminates the need to provision or manage servers for short-lived, event-triggered tasks.
2
Analyze the second workload requirement.
The second workload is a continuous, containerized API service that must run without virtual machine management. AWS Fargate provides a serverless compute engine for containers, removing the operational task of managing underlying EC2 host instances.
AWS Fargate enables running containers directly without provisioning or managing virtual machines, which keeps operational overhead low for continuous workloads.

Key Concept

Selecting appropriate AWS compute services based on operational overhead, execution duration, and workload type (serverless vs. server-based, event-driven vs. continuous containers).
Rate this question