exam questions

Exam SC-100 All Questions

View all questions & answers for the SC-100 exam

Exam SC-100 topic 3 question 35 discussion

Actual exam question from Microsoft's SC-100
Question #: 35
Topic #: 3
[All SC-100 Questions]

Your company uses Azure Pipelines and Azure Repos to implement continuous integration and continuous deployment (CI/CD) workflows for the deployment of applications to Azure.

You are updating the deployment process to align with DevSecOps controls guidance in the Microsoft Cloud Adoption Framework for Azure.

You need to recommend a solution to ensure that all code changes are submitted by using pull requests before being deployed by the CI/CD workflow.

What should you include in the recommendation?

  • A. custom roles in Azure Pipelines
  • B. branch policies in Azure Repos
  • C. Azure policies
  • D. custom Azure roles
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
MaciekMT
Highly Voted 1 year ago
from ChatGPT: Based on the requirements of ensuring that all code changes are submitted through pull requests before being deployed by the CI/CD workflow and aligning with DevSecOps controls guidance, the recommended solution for ensuring this process is followed should be branch policies in Azure Repos. Branch policies in Azure Repos provide a way to enforce code review policies before a pull request can be completed and merged into a target branch. This ensures that all code changes are submitted through a pull request and reviewed by other members of the team before being deployed by the CI/CD workflow. Branch policies can be configured to require specific reviewers, require a minimum number of approvals, and block direct pushes to the target branch. This helps to ensure that code changes are thoroughly reviewed and meet the established standards before being merged into the target branch. Therefore, the correct answer is B) branch policies in Azure Repos.
upvoted 7 times
...
cyber_sa
Highly Voted 6 months, 4 weeks ago
Selected Answer: B
got this in exam 6oct23. passed with 896 marks. I answered B
upvoted 6 times
...
zellck
Most Recent 11 months, 3 weeks ago
Selected Answer: B
B is the answer. https://learn.microsoft.com/en-us/azure/devops/repos/git/branch-policies-overview?view=azure-devops#adopt-a-git-branching-strategy There are a few critical branches in your repo that the team relies on always being in good shape, such as your main branch. Require pull requests to make any changes on these branches. Developers pushing changes directly to the protected branches will have their pushes rejected.
upvoted 6 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