Soru

Zorluk: OrtaAWS Compute Services

A financial services company needs to process transaction logs that are uploaded to an Amazon S3 bucket throughout the day. Each processing job is short-lived, taking less than two minutes to complete, and the volume of logs fluctuates unpredictably. The company wants a serverless solution that only incurs costs when the processing code is running. Which AWS compute service should the company use to meet these requirements?

  1. A
    Amazon EC2
  2. B
    AWS Lightsail
  3. AWS LambdaCevap
  4. D
    Amazon ECS on AWS Fargate

Cevap

AWS Lambda is the most appropriate service because it is serverless, automatically scales in response to S3 upload events, and only bills for the compute time used while processing the files.
AWS Lambda is designed for short-lived, event-driven workloads. It integrates directly with Amazon S3 to run code in response to file uploads, scales automatically to handle fluctuating volumes, and does not charge for idle time, meeting all requirements.

Adım Adım Çözüm

1
Analyze the workload characteristics
The tasks are event-driven (triggered by Amazon S3 uploads), short-lived (taking under two minutes), and have unpredictable volumes.
Understanding the execution duration, execution trigger, and utilization pattern is critical for selecting the correct cloud compute service.
2
Compare AWS compute service models against requirements
AWS Lambda fits the serverless, event-driven pattern perfectly, automatically scaling and charging only per millisecond of execution without any server management overhead.
Matching workload needs to AWS service capabilities ensures optimal cost and operational efficiency.

Anahtar Kavram

AWS Lambda is an event-driven, serverless compute service that enables running code without provisioning or managing servers, scaling automatically, and charging only for the compute time consumed.
Bu soruyu puanla