A user wants to invoke an AWS Lambda function when an Amazon EC2 instance enters the βstoppingβ state. Which AWS service is appropriate for this use case?
- AAmazon EventBridge (correct answer)
- BAWS Config
- CAmazon Simple Notification Service (Amazon SNS)
- DAWS CloudFormation
Reveal answer & explanationHide answer
The correct answer is A. Option A: Amazon EventBridge
Explanation
Amazon EventBridge routes events between services with rules, enabling event-driven, decoupled architectures.