
Can You Configure a Trunk-Based Branching Strategy in Azure DevOps Services?
Part of Azure DevOps Topic: Azure
Access
StationX Infrastructure Labs — 3 attempts per lab
🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab
Already have access? Sign in.
New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.
What you'll do
In this lab, you will manage branches in an Azure DevOps Git repository by using a trunk-based development approach.
- Create a new Azure DevOps Git repository and clone it to your development machine
- Create a short-lived feature branch
- Create an Azure Function application
- Implement a new feature in your code controlled by a feature flag
- Check in your code to the feature branch
- Merge your code to the main (master) branch
- Create a release branch for the release and push the branch to the remote
- Identify a bug in the release and fix it on the trunk
- Cherry-pick the bugfix from the trunk and add it to the release branch for deployment
Note: Once you begin the lab, you will not be able to pause, save, or return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.
- ⏱ About 45 minutes
- Counts towards: Designing and Implementing Microsoft DevOps Solutions (exam AZ-400) · CompTIA Cloud+ (exam CV0-004)
Roadmaps that use this lab
- CompTIA Cloud+ (CV0-004) — step 4: DevOps fundamentals

