CLF-C02 Exam QuestionsBrowse all questions from this exam

CLF-C02 Exam - Question 447


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?

Show Answer
Correct Answer: A

The appropriate service to invoke an AWS Lambda function when an Amazon EC2 instance enters the 'stopping' state is Amazon EventBridge. Amazon EventBridge enables you to detect changes in the state of AWS services and trigger actions, such as executing a Lambda function, based on those events. It is designed specifically for this type of event-driven architecture, making it the most suitable choice for the given use case.

Discussion

2 comments
Sign in to comment
Naantje
Jul 8, 2024

answer A is correct. https://repost.aws/knowledge-center/start-stop-lambda-eventbridge

Meow7
Jul 19, 2024

A is correct please help with discussion on 503 ~ 511