ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 116 - AZ-400 discussion

Report
Export

DRAG DROP

You are configuring the settings of a new get repository in Azure Repos.

You need to ensure that pull requests in a branch meet the following criteria before they are merged:

Committed code must compile successfully.

Pull requests must have a Quality Gate status of Passed in SonarCloud.

Which policy type should you configure for each requirement? To answer, drag the appropriate policy types to the correct requirements. Each policy type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.


Question 116
Correct answer: Question 116

Explanation:

Box 1: A check-in policy

Administrators of Team Foundation version control can add check-in policy requirements. These check-in policies require the user to take actions when they conduct a check-in to source control. By default, the following check-in policy types are available:

Builds Requires that the last build was successful before a check-in.

Code Analysis Requires that code analysis is run before check-in.

Work Items Requires that one or more work items be associated with the check-in.

Box 2: Build policy

Reference:

https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/add-check-policies

https://azuredevopslabs.com/labs/vstsextend/sonarcloud/

asked 02/10/2024
Syed Azar
38 questions
User
0 comments
Sorted by

Leave a comment first