Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam DOP-C02 Topic 9 Question 25 Discussion

Actual exam question for Amazon's DOP-C02 exam
Question #: 25
Topic #: 9
[All DOP-C02 Questions]

A development team uses AWS CodeCommit for version control for applications. The development team uses AWS CodePipeline, AWS CodeBuild. and AWS CodeDeploy for CI/CD infrastructure. In CodeCommit, the development team recently merged pull requests that did not pass long-running tests in the code base. The development team needed to perform rollbacks to branches in the codebase, resulting in lost time and wasted effort.

A DevOps engineer must automate testing of pull requests in CodeCommit to ensure that reviewers more easily see the results of automated tests as part of the pull request review.

What should the DevOps engineer do to meet this requirement?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Linn
3 days ago
Hmm, I'm torn between options B and D. Both of them seem to involve posting the test results as a comment on the pull request, which is exactly what the question is asking for. I'll have to think this one through carefully.
upvoted 0 times
...
Minna
9 days ago
I'm not sure why the development team is merging pull requests that didn't pass the long-running tests. That seems like a recipe for disaster! Option B looks like the best way to catch those issues early on.
upvoted 0 times
...
Nina
10 days ago
Wow, this question really tests our understanding of the AWS CodeCommit, CodePipeline, and CodeBuild integration. I think option D is the correct answer, as it directly addresses the requirement to automate testing and provide the results as part of the pull request review.
upvoted 0 times
...
Azzie
13 days ago
I also believe option A is the most efficient solution. It helps prevent merging pull requests that do not pass tests, saving time and effort for the development team.
upvoted 0 times
...
Annette
15 days ago
I agree with Antione. Option A automates testing and provides immediate feedback to developers during the pull request review process.
upvoted 0 times
...
Antione
17 days ago
I think option A is the best choice because it reacts to the pullRequestStatusChanged event and posts the CodeBuild badge as a comment on the pull request.
upvoted 0 times
...

Save Cancel