Design Resilient Architectures
Which compute service can run a short function when an object reaches Amazon S3, without provisioning servers?
Show the answer
Correct answerC. AWS Lambda
AWhy not this: EC2 provides virtual servers whose capacity and operating systems must be managed.
BWhy not this: EKS on EC2 runs Kubernetes workloads using EC2 worker capacity that must be provisioned.
CWhy this is right: Lambda supports S3 event triggers and manages the compute infrastructure for function execution.
DWhy not this: ECS on EC2 orchestrates containers on provisioned EC2 instances rather than directly providing event-driven function execution.
AWS Lambda runs event-driven functions without requiring server provisioning and can respond to S3 object-created events. ECS on EC2 runs containers but still requires EC2 compute capacity to be provisioned and managed.