BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Topic 2.1 — Branching strategies — cram sheet
Cram Sheet250 words

Topic 2.1 — Branching strategies — cram sheet

Topic 2.1 — Branching strategies · cram sheet

Choosing

The deciding question: how many versions must you support in production?

StrategySuits
Trunk-basedCD, strong tests, feature flags
Feature branchMost teams — the default
Release branchMultiple supported versions in the field

Long-lived branches diverge; merge pain grows with time and distance.

Policy vocabulary

PlatformMechanism
Azure ReposBranch policies
GitHubBranch protection rules

Can require: reviewers · linked work items · resolved comments · successful build · external status checks.

Pull request workflow

  • Run machines before humans — never spend review attention on lint.
  • More reviewers ≠ better review (diffusion of responsibility). Prefer code owners.
  • Pick squash or merge commits and enforce it — a mixture is hard to bisect.

Merging restrictions

RestrictionEffect
Require a PRNo direct pushes
Restrict who can pushNamed people/teams/apps
Require status checksBlocked until green
Require up to dateRevalidate against the current target
Include administratorsRules apply to admins too
Block force push / deletionHistory cannot be rewritten

Two traps

  1. Without "require up to date", two individually-green PRs can break main together.
  2. Exempting administrators removes protection exactly when it matters — during an incident.
All Designing and Implementing Microsoft DevOps Solutions (AZ-400) Study Resources

Related Notes

  • Agent and runner infrastructure421 words
  • Agent and runner infrastructure — quick notes150 words
  • Alerting on pipeline events255 words
  • Alerting on pipeline events — quick notes94 words
  • Analyzing usage and application performance241 words
  • Analyzing usage and application performance — quick notes73 words
  • Appropriate access levels217 words
  • Appropriate access levels — quick notes85 words
  • Automating container scanning277 words
  • Automating container scanning — quick notes96 words
  • Automating documentation from Git history191 words
  • Automating documentation from Git history — quick notes55 words

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Designing and Implementing Microsoft DevOps Solutions (AZ-400) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.