AWS Certified Developer – Associate (DVA-C02) — Question 241

A company is using AWS CodePipeline to deliver one of its applications. The delivery pipeline is triggered by changes to the main branch of an AWS CodeCommit repository and uses AWS CodeBuild to implement the test and build stages of the process and AWS CodeDeploy to deploy the application.

The pipeline has been operating successfully for several months and there have been no modifications. Following a recent change to the application’s source code, AWS CodeDeploy has not deployed the updated application as expected.

What are the possible causes? (Choose two.)

Answer options

Correct answer: A, B

Explanation

Option A is correct because if the change was made in a different branch, it wouldn't trigger the pipeline. Option B is also correct since if any previous stage fails, the pipeline will halt, preventing deployment. Options C, D, and E do not explain the failure to deploy in this scenario as they would not directly cause the behavior described.