Knowledge check

Completed

You configure branch protection for your repository's main branch. You use the following settings:

Screenshot of GitHub branch protection rules. The option for requiring approvals is enabled, and the number of approvals required before merging is 2.

You configure branch policies for your repository's main branch. You use the following settings:

Screenshot of Azure DevOps branch policies. The minimum number of required reviewers is set to 2.

1.

Which of these statements is true?

2.

You want to get your colleagues' input on a change you're making to a Bicep file, but you aren't finished with the change yet. What should you do?

3.

You're reviewing a pull request from a colleague. You notice that the Bicep file has a typo in a variable name. The typo will cause an error when the template is deployed. What should you do?