ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 768 - CLF-C02 discussion

Report
Export

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?

A.

Amazon EventBridge

Answers
A.

Amazon EventBridge

B.

AWS Config

Answers
B.

AWS Config

C.

Amazon Simple Notification Service (Amazon SNS)

Answers
C.

Amazon Simple Notification Service (Amazon SNS)

D.

AWS CloudFormation

Answers
D.

AWS CloudFormation

Suggested answer: A

Explanation:

Amazon EventBridge (formerly CloudWatch Events) allows users to respond to changes in the state of AWS resources. It can be configured to invoke an AWS Lambda function when an EC2 instance enters the ''stopping'' state, providing a serverless way to automate responses to changes in EC2 instance states. AWS Config, SNS, and CloudFormation do not provide direct triggering for specific instance state changes.

asked 18/10/2024
Ibrahim Ramku
51 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first