Microsoft DevOps Engineer Expert (AZ-400) · Section 3 · 53% of the exam
Select a deployment automation solution, including GitHub Actions and Azure Pipelines
One of the objectives of the Exam AZ-400: Designing and Implementing Microsoft DevOps Solutions exam, in the section “Design and implement build and release pipelines”. Here is what it covers, the points to remember and a question to try.
What it covers
How to choose between GitHub Actions and Azure Pipelines, how to size and secure Microsoft-hosted, self-hosted and scale-set agents or runners, how GitHub repositories connect to Azure Pipelines, and how trigger rules decide when a pipeline runs.
Points to remember
- Choose Azure Pipelines for Azure Boards, Artifacts, resource checks and multi-repo; choose GitHub Actions for GitHub-centric teams and Marketplace actions.
- Parallel jobs, not agents or users, are what Azure Pipelines charges for; free tier: 1 hosted (1,800 min/month, 60 min per job) and 1 self-hosted.
- A paid first hosted parallel job removes time limits; you need two purchased to run two at once when moving from the free tier.
- Microsoft-hosted agents cannot join a VNet; use self-hosted, scale set agents or Managed DevOps Pools for private access.
- Agents connect outbound over HTTPS only; keep them ephemeral and image-built.
Try a question
Builds must run SQL migrations against a database that is reachable only from a corporate virtual network, and the team wants Microsoft to manage scaling and images. Which agent option fits best?
- AGitHub-hosted standard runners
- BA single self-hosted VM on a developer's desktop
- CManaged DevOps Pools injected into the virtual network
- DMicrosoft-hosted agents with an ExpressRoute circuit to the virtual network
Show the answer
C. Managed DevOps Pools evolved from scale set agents. They scale automatically, support custom images and can run in your virtual network.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Choosing the automation platform, agents, runners and triggers teaches this objective (about 50 minutes), and 30 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Recommend package management tools including GitHub Packages and Azure Artifacts
- Design and implement package feeds and views for local and upstream packages
- Design and implement a dependency versioning strategy for code assets and packages, including semantic versioning (SemVer) and date-based (CalVer)
- Design and implement a versioning strategy for pipeline artifacts
- Design and implement quality and release gates, including security and governance
- Design a comprehensive testing strategy, including local tests, unit tests, integration tests, and load tests
- Implement tests in a pipeline, including configuring test tasks, configuring test agents, and integration of test results
- Implement code coverage analysis
- Design and implement a GitHub runner or Azure DevOps agent infrastructure, including cost, tool selection, licenses, connectivity, and maintainability
- Design and implement integration between GitHub repositories and Azure Pipelines
- Develop and implement pipeline trigger rules
- Develop pipelines by using YAML