AWS DevOps Engineer Professional Practice Test 2026 - Free DevOps Practice Questions and Certification Study Guide

Session length

1 / 400

To receive notifications for changes in a CodeCommit repository, what is the recommended AWS feature to implement?

CloudFormation stack notifications

CloudWatch Events rules

Implementing CloudWatch Events rules is the recommended way to receive notifications for changes in a CodeCommit repository. CloudWatch Events allows you to monitor changes in AWS resources and automatically responds to events as they occur.

When a change occurs in the CodeCommit repository, such as a commit or a pull request creation, it generates an event that can be captured by CloudWatch Events. You can then set up rules to route these events to triggers like SNS (Simple Notification Service) or Lambda, which can facilitate real-time notifications or further actions based on the event. This method provides a straightforward and efficient way to get alerts for repository activity, ensuring that team members are informed about key updates and changes.

Other options do not align as directly with this use case. CloudFormation stack notifications mainly deal with changes in CloudFormation stacks rather than repository events. AWS Config rules are primarily used for compliance and monitoring configurations of AWS resources, not for direct notifications of CodeCommit activities. IAM notifications do not exist as a feature; IAM itself is about managing access and permissions for AWS resources, without a dedicated notification mechanism.

Get further explanation with Examzify DeepDiveBeta

AWS Config rules

IAM notifications

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy