Key details for this exam, checked against the published exam outline
Each question shows the correct answer and an explanation of why it is right
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You plan to create a release pipeline that will deploy Azure resources by using Azure Resource Manager templates. The release pipeline will create the following resources:
Two resource groups
Four Azure virtual machines in one resource group
Two Azure SQL databases in other resource group
You need to recommend a solution to deploy the resources.
Solution: Create a main template that has two linked templates, each of which will deploy the resource in its respective group.
Does this meet the goal?
To deploy your solution, you can use either a single template or a main template with many related templates. The related template can be either a separate file that is linked to from the main template, or a template that is nested within the main template.
You have an Azure subscription.
The development department at your company plans to build web apps that will use multiple Azure resources. You need to recommend a development solution that meets the following requirements:
* Provides a development environment for each developer
* Supports the use of custom sandbox environments for testing
* Ensures that the environments can be embedded into CI/CD pipelines
* Minimizes administrative effort
What should you include in the recommendation?
Your company is building a new solution in Java.
The company currently uses a SonarQube server to analyze the code of .NET solutions.
You need to analyze and monitor the code quality of the Java solution.
Which task types should you add to the build pipeline?
After you answer a question in this section, you will NOT be able to return to it As a result, these questions will not appear in the review screen.
You use Azure Pipelines to build and test a React js application
You have a pipeline that has a single job.
You discover that installing JavaScript packages from npm lakes approximately five minutes each time you run the pipeline.
You need to recommend a solution to reduce the pipeline execution time.
Solution: You recommend enabling pipeline caching.
Does this meet the goal?
npm-cache is a command line utility that caches dependencies installed via npm, bower, jspm and composer.
It is useful for build processes that run [npm|bower|composer|jspm] install every time as part of their build process. Since dependencies don't change often, this often means slower build times. npm-cache helps alleviate this problem by caching previously installed dependencies on the build machine.
You have an Azure solution that contains a build pipeline in Azure Pipelines. You experience intermittent delays before the build pipeline starts. You need to reduce the time it takes to start the build pipeline. What should you do?
628 questions covering all exam domains, starting from $20
Exam domains verified against: Official Microsoft AZ-400 exam guide, last checked September 2026.
Structure workflow and feedback mechanisms using GitHub Flow, GitHub issues, and Azure Boards. Implement dashboards to track cycle times, lead time, and time to recovery across development, testing, security, and operations metrics. Document projects using wikis and Markdown, automate release notes from Git history, and configure webhooks and integrations with Microsoft Teams.
Choose branching strategies including trunk-based, feature branch, and release branch patterns. Implement pull request workflows with branch policies and protection rules. Manage large files with Git LFS, optimize repositories with Scalar, configure permissions and tags, and recover or remove specific data using Git commands.
Select automation solutions like GitHub Actions and Azure Pipelines. Design package feeds, dependency versioning with SemVer and CalVer, and quality gates including security and governance. Build testing strategies with local, unit, integration, and load tests. Develop YAML pipelines with job parallelism, create reusable templates and task groups, implement deployment strategies like blue-green and canary releases, and manage infrastructure as code using Bicep and Azure Resource Manager.
Implement authentication using service principals, managed identities, GitHub Apps, and personal access tokens. Configure secrets management with Azure Key Vault and secretless authentication via workload identity federation. Design scanning strategies for dependencies, code, secrets, and licensing. Integrate GitHub Advanced Security with Microsoft Defender for Cloud and automate container scanning with CodeQL analysis.
Sample question from this domain above: Q1
Configure Azure Monitor, Application Insights, and VM/Container Insights for telemetry collection. Set up GitHub and Azure Pipelines alerting for pipeline events. Analyze performance metrics including CPU, memory, disk, and network indicators. Use Application Insights distributed tracing and Kusto Query Language for log analysis.
Common questions about the exam itself