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 192 discussion

A software team is using AWS CodePipeline to automate its Java application release pipeline. The pipeline consists of a source stage, then a build stage, and then a deploy stage. Each stage contains a single action that has a runOrder value of 1.

The team wants to integrate unit tests into the existing release pipeline. The team needs a solution that deploys only the code changes that pass all unit tests.

Which solution will meet these requirements?

  • A. Modify the build stage. Add a test action that has a runOrder value of 1. Use AWS CodeDeploy as the action provider to run unit tests.
  • B. Modify the build stage. Add a test action that has a runOrder value of 2. Use AWS CodeBuild as the action provider to run unit tests.
  • C. Modify the deploy stage. Add a test action that has a runOrder value of 1. Use AWS CodeDeploy as the action provider to run unit tests.
  • D. Modify the deploy stage. Add a test action that has a runOrder value of 2. Use AWS CodeBuild as the action provider to run unit tests.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
thanhnv142
Highly Voted 1 year, 2 months ago
Selected Answer: B
B is correct: Runorder value of 2 ensure that we do unit tests after we build artifacts. A: The unit tests would run in parellel with the build step, which is incorrect. We can only test after we have done building C and D: The unit tests would not run before the deploy step.
upvoted 5 times
...
GripZA
Most Recent 1 week, 3 days ago
Selected Answer: B
"runOrder is a positive integer that indicates the run order of the action within the stage. Parallel actions in the stage are shown as having the same integer. For example, two actions with a run order of two will run in parallel after the first action in the stage runs." https://docs.aws.amazon.com/codepipeline/latest/userguide/action-requirements.html
upvoted 1 times
...
Gomer
10 months ago
Selected Answer: C
C: (YES) aws:SecureTransport = data in transit (TLS/HTTPS) D: (NO) ...server-side-encryption-aws... = data at rest (in S3)
upvoted 1 times
...
c3518fc
1 year ago
Selected Answer: B
By modifying the build stage, adding a test action with a runOrder value of 2, and using AWS CodeBuild as the action provider to run unit tests, the solution ensures that unit tests are executed as part of the build process and that only the code changes that pass all unit tests are deployed, meeting the requirements of the software team.
upvoted 4 times
...
dkp
1 year ago
Selected Answer: B
B is correct
upvoted 2 times
...
DanShone
1 year, 1 month ago
Selected Answer: B
B is correct
upvoted 2 times
...
Jonalb
1 year, 2 months ago
Selected Answer: B
B is correct
upvoted 3 times
...
a54b16f
1 year, 3 months ago
Selected Answer: B
order of 2 would create sequence order
upvoted 2 times
...
csG13
1 year, 4 months ago
Selected Answer: B
it's definitely B
upvoted 2 times
...
PrasannaBalaji
1 year, 4 months ago
Option B - The runOrder value of 2 ensures that the test action runs after the build action, allowing the unit tests to be executed only if the build is successful.
upvoted 3 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