
Answer-first summary for fast verification
Answer: Verify the existence and correct configuration of an Amazon EventBridge rule that is set to trigger the pipeline upon changes to the main branch.
The correct answer is A. AWS CodePipeline can be triggered by events in AWS CodeCommit using Amazon EventBridge. If the pipeline is not triggered when changes are pushed to the main branch, it is most likely that the EventBridge rule that should trigger the pipeline is not correctly configured or does not exist. Ensuring that this rule is set up correctly will resolve the issue of the pipeline not initiating upon code changes.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A development team utilizes AWS CodeCommit for version control of their application code and AWS CodePipeline for orchestrating their software deployment process. They have configured the pipeline to be triggered by changes to the main branch in the CodeCommit repository. However, after a developer pushes changes to the repository, the pipeline does not initiate as expected. What steps should be taken to diagnose and resolve this issue?
A
Verify the existence and correct configuration of an Amazon EventBridge rule that is set to trigger the pipeline upon changes to the main branch.
B
Ensure that the IAM role associated with the CodePipeline service has the necessary permissions to access the CodeCommit repository.
C
Confirm that the IAM role used by the developer has the appropriate permissions to push changes to the CodeCommit repository.
D
Examine Amazon CloudWatch Logs for any errors from CodeCommit that might indicate why the pipeline failed to start.