Amazon

DOP-C02 practice question 16

AWS Certified DevOps Engineer - Professional (DOP-C02) · free question 16 of 20

Question

A development team is using AWS CodeCommit to version control application code and AWS CodePipeline to orchestrate software deployments. The team has decided to use a remote main branch as the trigger for the pipeline to integrate code changes. A developer has pushed code changes to the CodeCommit repository, but noticed that the pipeline had no reaction, even after 10 minutes. Which of the following actions should be taken to troubleshoot this issue?
  • A. Check that an Amazon EventBridge rule has been created for the main branch to trigger the pipeline. Correct
  • B. Check that the CodePipeline service role has permission to access the CodeCommit repository.
  • C. Check that the developer’s IAM role has permission to push to the CodeCommit repository.
  • D. Check to see if the pipeline failed to start because of CodeCommit errors in Amazon CloudWatch Logs.

Explanation

According to AWS documentation, for a CodePipeline to be triggered by changes in an AWS CodeCommit repository, an Amazon EventBridge rule must be set up to detect these changes. Without this rule, the pipeline will not automatically start upon code pushes, which explains why option A is correct.

Need the theory? Learn it free in the DOP-C02 course on Godlike Academy

Practice the whole free set

Answer all 20 free DOP-C02 questions with instant feedback, or unlock all 429 questions with Learn and Exam modes.