exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 9 question 44 discussion

Actual exam question from Microsoft's AZ-400
Question #: 44
Topic #: 9
[All AZ-400 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it As a result these questions will not appear in the review screen.

You need to use an Azure Pipelines pipeline to build and test an app and test the database of the app. The solution must meet the following requirements.

• The test stages must be run in parallel.
• The Publish_Test_Results stage must always be run.
• The test stages must be run after successful completion of the build stage.
• The Publish_Test_Results stage must be run after completion of all the test stages.

Solution: You include the following elements in the YAML definition of the pipeline.



Does this meet the goal?

  • A. Yes
  • B. No
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
BorisUK2000
6 days, 19 hours ago
Selected Answer: B
The YAML does not meet this requirement: The test stages must be run after successful completion of the build stage For Test_App and Test_Database stages, dependsOn is empty. This means they will start immediately, in parallel with the build, rather than after it.
upvoted 1 times
...
geoan13
5 months, 4 weeks ago
Selected Answer: B
3.Test Stages Must Run After Successful Completion of the Build Stage: Problem: The dependsOn: [] for Test App and Test Database removes the dependency on the Build_App stage. This means the test stages will not wait for the successful completion of the build stage. This violates the requirement. All other requirements are met.
upvoted 1 times
...
Gooldmember
7 months ago
Selected Answer: B
Answer is no
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 ...