exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 360 discussion

A DevOps engineer needs to troubleshoot a pipeline that uses a GitHub code repository. The pipeline contains a source stage, a build stage, and a deploy stage. The pipeline also has an AWS CodeStar connection to the GitHub code repository.

The build stage uses an AWS CodeBuild build project. The build project needs to perform a git clone of the repository as part of the build process.

The DevOps engineer validates that the source stage is working properly. However, the build stage fails each time the pipeline runs.

What is the reason that the build stage fails in the pipeline?

  • A. The build stage within the pipeline needs to use the AWS CodeStar connection action.
  • B. The AWS CodeStar connection to GitHub contains incorrect credentials.
  • C. The AWS CodePipeline service role does not have permission to use the AWS CodeStar connection.
  • D. The AWS CodeBuild service role does not have permission to use the AWS CodeStar connection.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
GripZA
1 month, 3 weeks ago
Selected Answer: D
The initial pipeline run will fail because the CodeBuild service role must be updated with permissions to use connections. Add the codestar-connections:UseConnection IAM permission to your service role policy. https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-github-gitclone.html
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...