This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
You configure branch protection for your repository's main branch. You use the following settings:
You configure branch policies for your repository's main branch. You use the following settings:
Which of these statements is true?
Anybody on the team can push a change directly to the main branch.
The manager of the team must review all pull requests.
The pull request's author can push a change to the pull request's source branch.
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?
Create a pull request, and configure branch protection rules to prohibit the branch from being merged.
Create a pull request and mark it as a draft.
Email your colleagues a link to your branch.
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?
Add a comment to the pull request's author to let them know.
Reject the pull request.
Approve the pull request. The author will notice the problem when they deploy the Bicep file.
You must answer all questions before checking your work.
Was this page helpful?