exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 242 discussion

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.)

  • A. The change was not made in the main branch of the AWS CodeCommit repository.
  • B. One of the earlier stages in the pipeline failed and the pipeline has terminated.
  • C. One of the Amazon EC2 instances in the company’s AWS CodePipeline cluster is inactive.
  • D. The AWS CodePipeline is incorrectly configured and is not invoking AWS CodeDeploy.
  • E. AWS CodePipeline does not have permissions to access AWS CodeCommit.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
tapan666
Highly Voted 12 months ago
Selected Answer: AB
A. The change was not made in the main branch of the AWS CodeCommit repository: In this pipeline setup, if the change was made in a branch other than the main branch, it would not trigger the pipeline, and therefore, AWS CodeDeploy wouldn't deploy the updated application. B. One of the earlier stages in the pipeline failed and the pipeline has terminated: If one of the preceding stages in the pipeline failed, it would prevent the subsequent stages, including AWS CodeDeploy, from being executed.
upvoted 10 times
...
65703c1
Most Recent 5 months ago
Selected Answer: AB
AB is the correct answer.
upvoted 1 times
...
SerialiDr
9 months ago
Selected Answer: AB
A. The change was not made in the main branch of the AWS CodeCommit repository. If the change to the application's source code was not made in the main branch (or the branch that triggers the pipeline), AWS CodePipeline would not detect the change and therefore would not initiate the deployment process. It's crucial that changes are made in the correct branch that is configured to trigger the pipeline. B. One of the earlier stages in the pipeline failed and the pipeline has terminated. If any stage in AWS CodePipeline fails (such as a failure in the test or build stages in AWS CodeBuild), the pipeline stops and does not proceed to the deployment stage. It is common for pipelines to be configured to halt on failure to prevent the deployment of potentially faulty code.
upvoted 3 times
...
Certified101
10 months, 1 week ago
Selected Answer: AB
AB is correct - there have been no changes, so someone either merged code into the wrong branch (not triggering the pipeline) or it failed at an earlier stage. Other options dont make sence given the scenario
upvoted 2 times
...
LR2023
10 months, 2 weeks ago
Selected Answer: BC
The delivery pipeline is triggered by changes to the main branch - so new code change should have triggered this but this cause errors for some reasons and option C
upvoted 1 times
...
ShawnWon
11 months, 1 week ago
AB the key word is "The pipeline has been operating successfully for several months and there have been no modifications." So the "D. The codePipeline is incorrectly configured" is incorrect, because if the configuration is incorrect, it won't have been operating successfully for several months.
upvoted 3 times
...
PrakashM14
11 months, 3 weeks ago
Selected Answer: BD
B. One of the earlier stages in the pipeline failed and the pipeline has terminated. D. The AWS CodePipeline is incorrectly configured and is not invoking AWS CodeDeploy.
upvoted 2 times
...
Claire_KMT
12 months ago
B. One of the earlier stages in the pipeline failed and the pipeline has terminated. D. The AWS CodePipeline is incorrectly configured and is not invoking AWS CodeDeploy.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago