AWS Certified Cloud Practitioner — Question 414
Which AWS service is suitable for an event-driven workload?
Answer options
- A. Amazon EC2
- B. AWS Elastic Beanstalk
- C. AWS Lambda
- D. Amazon Lumberyard
Correct answer: C
Explanation
AWS Lambda is a serverless compute service that automatically runs your code in response to events, making it the ideal choice for event-driven architectures. In contrast, Amazon EC2 and AWS Elastic Beanstalk are designed for continuously running virtual servers and application hosting rather than event-based execution. Amazon Lumberyard is a game engine and is not used as a general-purpose compute service.