Question

Difficulty: MediumAWS Compute Services

A media streaming company plans to run containerized video-processing tasks where each task runs for up to 45 minutes. The company wants to run these containers on demand without the operational overhead of provisioning, patching, or scaling virtual servers. Which AWS compute service is the most appropriate for this scenario?

  1. A
    Amazon EC2
  2. B
    AWS Lambda
  3. AWS FargateAnswer
  4. D
    Amazon Lightsail

Answer

AWS Fargate is the most appropriate service because it runs containers serverlessly, eliminating the need to manage virtual servers, and has no 15-minute execution time limit like AWS Lambda.
AWS Fargate is a serverless compute engine for containers that works with Amazon ECS. It removes the need to provision, configure, or patch virtual machines, and it does not have the 15-minute runtime limit of AWS Lambda, making it perfect for containerized tasks that run for up to 45 minutes.

Step-by-Step Solution

1
Analyze the container execution duration requirement.
The tasks run for up to 45 minutes, which rules out AWS Lambda due to its 15-minute execution limit.
AWS Lambda is designed for short-running event-driven workloads.
2
Analyze the server management requirement.
The company wants to avoid managing, provisioning, or patching servers, which rules out Amazon EC2.
Amazon EC2 requires user maintenance of operating systems.
3
Evaluate the remaining options for container execution.
AWS Fargate runs containers serverlessly and does not impose a 15-minute execution limit.
It matches all requirements including serverless management and container runtimes.

Key Concept

Selecting serverless container services based on operational overhead and task duration
Rate this question