AZ-400 Implement source control

What is the recommended Azure approach to protect main branch from force push?

Multiple choice — select one answer

Answer choices

  1. a. Azure Repos branch policies
  2. b. GitHub Advanced Security for Azure DevOps
  3. c. Delete history (not recommended for production workloads)
  4. d. Branch policies with permissions

Architectural breakdown & explanation

Policies enforce quality gates.

Correct answer(s): d. Branch policies with permissions

Exam domain: Implement source control (15% weight on the official guide).

Official documentation & study links

Practice this certification

This page is one question from the Microsoft Azure DevOps Engineer Expert bank. Run a full timed practice exam with domain-weighted random questions in your browser.