Soru

Zorluk: ZorAWS Compute Services

A media company is developing a service to transcode video files uploaded by users. The transcoding process is containerized using Docker, requires custom library dependencies, and takes between 15 to 25 minutes per video depending on the file size. The company wants to run these containerized jobs on a serverless compute platform to eliminate the overhead of managing operating system patching and scaling cluster capacity. Which AWS compute service should the company select to run this workload?

  1. AWS FargateCevap
  2. B
    AWS Lambda
  3. C
    Amazon EC2
  4. D
    Amazon Lightsail

Cevap

AWS Fargate
AWS Fargate is the correct choice because it is a serverless compute engine for containers. It allows the customer to run containerized workloads using Docker without having to provision, configure, or patch the underlying virtual servers. Crucially, Fargate does not impose a 15-minute execution limit like AWS Lambda, allowing the video transcoding job to run to completion.

Adım Adım Çözüm

1
Analyze the workload requirements
The workload is containerized (Docker), takes 15 to 25 minutes to complete, and must run on a serverless platform (no OS patching or capacity management).
Identifying the key constraints helps rule out compute options that cannot meet these requirements.
2
Evaluate AWS Lambda against the requirements
AWS Lambda is ruled out because its maximum execution timeout is 15 minutes, whereas the workload requires up to 25 minutes.
Lambda is serverless but has strict time limits that make it unsuitable for long-running execution tasks.
3
Evaluate Amazon EC2 and Amazon Lightsail against the requirements
Amazon EC2 and Amazon Lightsail require configuring and managing virtual machine instances, which fails the requirement to eliminate host OS patching and administration.
These services fall under the Infrastructure as a Service (IaaS) model rather than serverless.
4
Select AWS Fargate as the correct match
AWS Fargate is serverless, natively runs Docker containers, handles scaling automatically, has no server management overhead, and allows containers to run as long as needed.
Fargate meets all constraints: serverless, containerized, and supports execution times longer than 15 minutes.

Anahtar Kavram

Selecting the appropriate AWS compute service based on containerization, execution duration, and management overhead.
Tahmini Süre:2m 0s
Bu soruyu puanla