exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 9 question 63 discussion

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

You use an Azure Pipelines pipeline to build and test an app named App1.

Your company’s development department works in the feature branches.

You need to ensure that a pull request will merge into the main branch only when testing covers more than 90 percent of the code.

What should you do?

  • A. Configure a branch policy for the feature branches.
  • B. Configure a branch policy for the main branch.
  • C. Create a Publish Test Results task,
  • D. Create a code coverage configuration YAML file.
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
Emil_Topics
7 months ago
Selected Answer: B
Branch policy (or status policy).
upvoted 2 times
...
schwagalla
7 months ago
Selected Answer: B
I guess it's B. https://learn.microsoft.com/en-us/azure/devops/pipelines/test/codecoverage-for-pullrequests?view=azure-devops#protect-a-branch-using-a-code-coverage-policy
upvoted 3 times
...
Mattt
7 months ago
Selected Answer: B
B is correct
upvoted 3 times
...
8fc2e85
7 months, 1 week ago
Selected Answer: B
it's B
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