Question 24:
You are an AWS administrator. Last week, a new employee accidentally deleted a repository branch in CodeCommit. For certain key repositories, you are told to create a notification when someone deletes any branch in CodeCommit. You plan to configure a trigger in CodeCommit. Which service should you use to implement this in the best way?
Answer options:
A.In CodeCommit, create a trigger to a Lambda function that works with AWS Simple Email Service to send emails to notify users when a branch is deleted. B.In CodeCommit, create a trigger for branch deletion event to an Amazon SQS queue to provide warnings to users. C.For the repository event of deleting branches, create a trigger in CodeCommit to an Amazon SNS topic to provide notifications to users. D.For the repository event of deleting branches, create a trigger in CodeCommit to an AWS CloudWatch Event to provide warnings.