A logistics company needs to run a brief data transformation script each time a new telemetry file is uploaded to an Amazon S3 bucket. The script takes less than ten seconds to execute, runs only a few times an hour, and the company wants to avoid provisioning or managing any servers. Which AWS compute service is best suited for this workload?
- AWS LambdaAnswer
- BAmazon EC2
- CAmazon Lightsail
- DAWS Elastic Beanstalk
Answer
AWS Lambda is the most appropriate service because it is an event-driven, serverless compute service that executes code in response to triggers like Amazon S3 uploads without requiring any server administration.
AWS Lambda is correct because it is a serverless compute service designed to run code in response to events, such as file uploads to Amazon S3, without requiring the user to manage servers or pay for idle time.
Step-by-Step Solution
Key Concept
Identifying the correct AWS compute service based on business needs, specifically serverless event-driven execution with AWS Lambda.
Estimated Time:45s