
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company needs to use an AWS service to invoke an AWS Lambda function when an Amazon EC2 instance enters the stopping state. Which AWS service will meet this requirement?
A
Amazon EventBridge
B
AWS Config
C
Amazon Simple Notification Service (Amazon SNS)
D
AWS CloudFormation
Explanation:
Amazon EventBridge is the correct service for this requirement because:
While other services might have some capability:
EventBridge is the most direct and appropriate service for invoking Lambda functions in response to AWS service events like EC2 state transitions.