Microsoft DevOps Engineer Expert (AZ-400) · Section 3 · 53% of the exam
Define an IaC strategy, including source control and automation of testing and deployment
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 and apply configuration management, define an IaC strategy with Bicep and deployment stacks, keep desired state with Azure Machine Configuration, plan for the retirement of State Configuration and Deployment Environments, then monitor, optimise, retain and migrate pipelines.
Points to remember
- Config management layers: provisioning (Bicep, Terraform), machine configuration (Ansible, DSC, Machine Configuration), app configuration (App Configuration, Key Vault).
- Ansible is agentless push; Chef and Puppet are agent-based pull; Azure Machine Configuration is policy-based and replaces Azure Automation State Configuration (retires 30 September 2027).
- IaC strategy = Git + PR review + automated validate, what-if and scans + same pipeline for every environment + drift detection.
- ARM/Bicep default to Incremental mode; Complete deletes unlisted resources; deployment stacks manage and protect a set of resources.
- Terraform state belongs in remote storage with locking, never in Git.
Try a question
The pool consumption report shows runs queued for long periods while all parallel jobs are busy, and developers are waiting. The organization has the free tier only. What is the most appropriate action?
- ARegister more self-hosted agents without buying parallel jobs
- BDisable pull request triggers
- CBuy more parallel jobs of the type that is queuing
- DRaise timeoutInMinutes to 360 on all jobs
Show the answer
C. Use the report to decide whether the bottleneck is concurrency. Estimate roughly one parallel job per four to five users, and purchase the hosted or self-hosted type that matches the queue.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Configuration management, infrastructure as code and pipeline operations teaches this objective (about 60 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
- Select a deployment automation solution, including GitHub Actions and Azure Pipelines
- 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