cert
cert-1
cert-2

Pass Microsoft AZ-400 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AZ-400 Exam - Verified By Experts
AZ-400 Premium Bundle
$29.98

AZ-400 Premium Bundle

$79.99
$109.97
  • Premium File 398 Questions & Answers. Last update: Oct 30, 2026
  • Training Course 27 Video Lectures
  • Study Guide 784 Pages
 
$109.97
$79.99
accept 56 downloads in last 7 days
block-screenshots
Purchase Microsoft AZ-400 Exam Training Products Individually
Microsoft AZ-400 Premium File
Premium File 398 Q&A
$76.99$69.99
Microsoft AZ-400 Video Training Course
Training Course 27 Lectures
$21.99 $19.99
Microsoft AZ-400 PDF Study Guide
Study Guide 784 Pages
$21.99 $19.99
Microsoft AZ-400 Practice Test 8

Question 70

After implementing the change, the team verifies: An organization uses calendar-versioned nightly internal tools but deployments cannot distinguish two builds made on the same day. Which result would BEST demonstrate that the issue is corrected?

  1. Two same-day builds remain separately traceable to their source commits.
  2. The production artifact SHA matches the artifact that completed staging verification.
  3. A clean hosted agent resolves the approved package without a developer workstation.
  4. A replaced object fails the manifest digest check and cannot silently deploy.

Explanation

Correct Answer

A:

Two same-day builds remain separately traceable to their source commits. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Add a consistent unique build identifier to the approved CalVer scheme. Date-based versions need an unambiguous unique revision component and provenance.

Incorrect Answers

B:

The production artifact SHA matches the artifact that completed staging verification. This would address a different situation, such as: A release pipeline downloads the latest build artifact by name instead of the approved artifact from staging. In the present case, the most directly relevant verification is: Two same-day builds remain separately traceable to their source commits. The crucial distinction is: Date-based versions need an unambiguous unique revision component and provenance.

C:

A clean hosted agent resolves the approved package without a developer workstation. This would address a different situation, such as: A.NET service pulls internal NuGet libraries from a developer laptop because no shared feed exists. In the present case, the most directly relevant verification is: Two same-day builds remain separately traceable to their source commits. The crucial distinction is: Date-based versions need an unambiguous unique revision component and provenance.

D:

A replaced object fails the manifest digest check and cannot silently deploy. This would address a different situation, such as: A build pipeline uploads a ZIP under a stable filename and a later build overwrites it before deployment. In the present case, the most directly relevant verification is: Two same-day builds remain separately traceable to their source commits. The crucial distinction is: Date-based versions need an unambiguous unique revision component and provenance.

Question 71

Before changing the pipeline or service, engineers find: Two production deployments target the same App Service slot simultaneously and the earlier one overwrites the newer release. Which evidence should the engineer inspect FIRST?

  1. Inspect queue times, licensing capacity, job dependency graph and build duration.
  2. Inspect workflow permission scopes, reusable call contracts and job operations.
  3. Review pipeline execution settings, resource locks and deployment timestamps.
  4. Inspect task output names, stage dependencies and variable references.

Explanation

Correct Answer

C:

Review pipeline execution settings, resource locks and deployment timestamps. This directly checks the uncertain behavior or control before changing production. Concurrent deployments require serialization or controlled exclusive access to shared environments. The resulting targeted action is: Configure appropriate exclusive locks or deployment concurrency controls per environment.

Incorrect Answers

A:

Inspect queue times, licensing capacity, job dependency graph and build duration. This would address a different situation, such as: A large repository launches 100 independent test jobs though the organization owns only 10 paid parallel agent slots. In the present case, the most directly relevant evidence is: Review pipeline execution settings, resource locks and deployment timestamps. The crucial distinction is: Concurrent deployments require serialization or controlled exclusive access to shared environments.

B:

Inspect workflow permission scopes, reusable call contracts and job operations. This would address a different situation, such as: A reusable GitHub Actions workflow grants write permissions to every job although most only compile and test. In the present case, the most directly relevant evidence is: Review pipeline execution settings, resource locks and deployment timestamps. The crucial distinction is: Concurrent deployments require serialization or controlled exclusive access to shared environments.

D:

Inspect task output names, stage dependencies and variable references. This would address a different situation, such as: A downstream stage cannot determine the storage endpoint created by an infrastructure provisioning stage. In the present case, the most directly relevant evidence is: Review pipeline execution settings, resource locks and deployment timestamps. The crucial distinction is: Concurrent deployments require serialization or controlled exclusive access to shared environments.

Question 72

A Microsoft DevOps team is addressing: A critical production fix is committed to an old release branch and never reaches the mainline, so the bug returns next month. Which TWO complementary actions should be taken? Select TWO answers.

  1. Adopt short-lived feature branches with required tests and frequent mainline integration.
  2. Require reviewed back-merges or cherry-picks of hotfixes into active branches.
  3. Require fresh passing checks after updates to the protected pull request.
  4. Compare release branch commits, mainline history and subsequent deployment tags.
  5. Use fork-and-pull-request contributions with least-privilege branch access.

Explanation

Correct Answers

B:

Require reviewed back-merges or cherry-picks of hotfixes into active branches. This supplies the controlled implementation needed for the scenario. Its complementary step is: Compare release branch commits, mainline history and subsequent deployment tags. Together they address: Hotfix processes must propagate tested corrections to every maintained affected line.

D:

Compare release branch commits, mainline history and subsequent deployment tags. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Require reviewed back-merges or cherry-picks of hotfixes into active branches. Together they address: Hotfix processes must propagate tested corrections to every maintained affected line.

Incorrect Answers

A:

Adopt short-lived feature branches with required tests and frequent mainline integration. This concerns a different DevOps situation: An organization merges changes only at the end of a six-week release branch, creating hundreds of conflicts. This case instead requires both a targeted investigation (Compare release branch commits, mainline history and subsequent deployment tags.) and a controlled change (Require reviewed back-merges or cherry-picks of hotfixes into active branches.).

C:

Require fresh passing checks after updates to the protected pull request. This concerns a different DevOps situation: A pull request passes security tests, then receives new commits but can merge without rerunning required checks. This case instead requires both a targeted investigation (Compare release branch commits, mainline history and subsequent deployment tags.) and a controlled change (Require reviewed back-merges or cherry-picks of hotfixes into active branches.).

E:

Use fork-and-pull-request contributions with least-privilege branch access. This concerns a different DevOps situation: External contributors can directly edit protected organization branches rather than submitting reviewed fork-based changes. This case instead requires both a targeted investigation (Compare release branch commits, mainline history and subsequent deployment tags.) and a controlled change (Require reviewed back-merges or cherry-picks of hotfixes into active branches.).

Question 73

An Azure DevOps engineering team evaluates this condition: An API passes functional tests for one user but violates latency objectives under 1,000 concurrent clients. Which DevOps principle BEST explains the underlying weakness?

  1. Database deployment tests should validate backward compatibility throughout rollout.
  2. Load tests should measure realistic concurrency against explicit performance thresholds.
  3. Unit test gates should complete successfully against the proposed change before merge.
  4. Test stages must declare prerequisite environment and schema dependencies explicitly.

Explanation

Correct Answer

B:

Load tests should measure realistic concurrency against explicit performance thresholds. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Review load profile, Azure Load Testing results, request percentiles and capacity metrics. An appropriate controlled response is: Add an Azure Load Testing stage with approved throughput and latency pass criteria.

Incorrect Answers

A:

Database deployment tests should validate backward compatibility throughout rollout. This would address a different situation, such as: A release adds a non-null column while old and new application versions temporarily operate together. In the present case, the most directly relevant principle is: Load tests should measure realistic concurrency against explicit performance thresholds. The crucial distinction is: Load tests should measure realistic concurrency against explicit performance thresholds.

C:

Unit test gates should complete successfully against the proposed change before merge. This would address a different situation, such as: A protected mainline accepts pull requests before a required unit test suite finishes, causing broken packages. In the present case, the most directly relevant principle is: Load tests should measure realistic concurrency against explicit performance thresholds. The crucial distinction is: Load tests should measure realistic concurrency against explicit performance thresholds.

D:

Test stages must declare prerequisite environment and schema dependencies explicitly. This would address a different situation, such as: A pipeline starts integration tests before deploying the dependent database migration, causing intermittent failures. In the present case, the most directly relevant principle is: Load tests should measure realistic concurrency against explicit performance thresholds. The crucial distinction is: Load tests should measure realistic concurrency against explicit performance thresholds.

Question 74

A Microsoft DevOps team is addressing: An App Service slot swap puts new code online while old instances still write to a shared Azure SQL schema. Which TWO complementary actions should be taken? Select TWO answers.

  1. Use slot-sticky settings and suppress staging triggers until explicitly authorized.
  2. Inspect generated plan actions, state lock, resource dependencies and change policy.
  3. Review schema changes, client versions, deployment order and rollback requirements.
  4. Inspect Key Vault references, version transitions, rotation timing and runtime caches.
  5. Use expand-and-contract database changes before traffic migration.

Explanation

Correct Answers

C:

Review schema changes, client versions, deployment order and rollback requirements. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Use expand-and-contract database changes before traffic migration. Together they address: Blue-green rollout must preserve shared database compatibility during transition.

E:

Use expand-and-contract database changes before traffic migration. This supplies the controlled implementation needed for the scenario. Its complementary step is: Review schema changes, client versions, deployment order and rollback requirements. Together they address: Blue-green rollout must preserve shared database compatibility during transition.

Incorrect Answers

A:

Use slot-sticky settings and suppress staging triggers until explicitly authorized. This concerns a different DevOps situation: An Azure Functions staging slot unexpectedly processes production queue messages before its swap because a trigger configuration was not isolated. This case instead requires both a targeted investigation (Review schema changes, client versions, deployment order and rollback requirements.) and a controlled change (Use expand-and-contract database changes before traffic migration.).

B:

Inspect generated plan actions, state lock, resource dependencies and change policy. This concerns a different DevOps situation: A Terraform pipeline applies a production plan without showing that a changed resource will be destroyed. This case instead requires both a targeted investigation (Review schema changes, client versions, deployment order and rollback requirements.) and a controlled change (Use expand-and-contract database changes before traffic migration.).

D:

Inspect Key Vault references, version transitions, rotation timing and runtime caches. This concerns a different DevOps situation: A production release references an unversioned shared secret and breaks when a different team rotates it mid-deployment. This case instead requires both a targeted investigation (Review schema changes, client versions, deployment order and rollback requirements.) and a controlled change (Use expand-and-contract database changes before traffic migration.).

Question 75

The DevOps team must resolve this situation: A repository's default branch allows authors to approve their own high-risk changes without independent review. Which engineering action is MOST appropriate?

  1. Record the final mainline commit and linked PR/work item in deployment provenance.
  2. Apply equivalent required reviews and test gates to all protected release branches.
  3. Define clear branch purposes and deploy from approved immutable tagged or hashed revisions.
  4. Require independent pull request reviews and passing automated checks on main.

Explanation

Correct Answer

D:

Require independent pull request reviews and passing automated checks on main. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A self-approved risky test change is blocked while reviewed passing changes merge. Branch policies should enforce an independent review and required checks for protected code.

Incorrect Answers

A:

Record the final mainline commit and linked PR/work item in deployment provenance. This would address a different situation, such as: An audit team cannot associate production features with reviewed pull requests after squash merging because release metadata records only original feature SHAs. In the present case, the most directly relevant engineering action is: Require independent pull request reviews and passing automated checks on main. The crucial distinction is: Branch policies should enforce an independent review and required checks for protected code.

B:

Apply equivalent required reviews and test gates to all protected release branches. This would address a different situation, such as: A company protects main but permits unrestricted direct commits to an unprotected release branch deployed to production. In the present case, the most directly relevant engineering action is: Require independent pull request reviews and passing automated checks on main. The crucial distinction is: Branch policies should enforce an independent review and required checks for protected code.

C:

Define clear branch purposes and deploy from approved immutable tagged or hashed revisions. This would address a different situation, such as: Teams use dozens of release branches with ambiguous names, and automation often deploys the wrong branch. In the present case, the most directly relevant engineering action is: Require independent pull request reviews and passing automated checks on main. The crucial distinction is: Branch policies should enforce an independent review and required checks for protected code.

Question 76

After implementing the change, the team verifies: A deployment pipeline uses complete mode unintentionally and deletes resources omitted from an updated ARM template. Which result would BEST demonstrate that the issue is corrected?

  1. A deliberately altered setting triggers the intended compliance detection and correction process.
  2. A test template omission cannot delete an unrelated protected storage resource.
  3. Expired exemptions are surfaced and prohibited deployments resume enforcement.
  4. A deliberately broad assignment fails the CI gate before deployment.

Explanation

Correct Answer

B:

A test template omission cannot delete an unrelated protected storage resource. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Use a safe scoped deployment strategy with reviewed change previews and deletion protections. Deployment mode and scope determine whether absent resources may be removed.

Incorrect Answers

A:

A deliberately altered setting triggers the intended compliance detection and correction process. This would address a different situation, such as: A legacy fleet uses Azure Automation State Configuration but receives no reliable reports of drift or node registration. In the present case, the most directly relevant verification is: A test template omission cannot delete an unrelated protected storage resource. The crucial distinction is: Deployment mode and scope determine whether absent resources may be removed.

C:

Expired exemptions are surfaced and prohibited deployments resume enforcement. This would address a different situation, such as: A production deployment depends on a time-limited Azure Policy exemption that was never documented or reviewed. In the present case, the most directly relevant verification is: A test template omission cannot delete an unrelated protected storage resource. The crucial distinction is: Deployment mode and scope determine whether absent resources may be removed.

D:

A deliberately broad assignment fails the CI gate before deployment. This would address a different situation, such as: A Bicep pipeline deploys wildcard role assignments despite a known rule requiring narrowly scoped access. In the present case, the most directly relevant verification is: A test template omission cannot delete an unrelated protected storage resource. The crucial distinction is: Deployment mode and scope determine whether absent resources may be removed.

Question 77

A Microsoft DevOps team is addressing: Production pipeline deployments fail overnight, but engineers notice only when checking the Azure DevOps portal the next morning. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership.
  2. Configure storage request/error monitoring with service-specific thresholds.
  3. Enable an approved connection monitor for the critical private network path.
  4. Configure monitored failure notifications and an actionable operations escalation path.
  5. Inspect Azure Monitor Agent, VM insights settings, counters and related crash logs.

Explanation

Correct Answers

A:

Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Configure monitored failure notifications and an actionable operations escalation path. Together they address: Operational monitoring should route significant pipeline failures to accountable responders.

D:

Configure monitored failure notifications and an actionable operations escalation path. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership. Together they address: Operational monitoring should route significant pipeline failures to accountable responders.

Incorrect Answers

B:

Configure storage request/error monitoring with service-specific thresholds. This concerns a different DevOps situation: Blob transaction failures increase, but dashboards track only storage account capacity in bytes. This case instead requires both a targeted investigation (Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership.) and a controlled change (Configure monitored failure notifications and an actionable operations escalation path.).

C:

Enable an approved connection monitor for the critical private network path. This concerns a different DevOps situation: Intermittent API failures occur across a private network, but monitoring uses only application exception counts. This case instead requires both a targeted investigation (Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership.) and a controlled change (Configure monitored failure notifications and an actionable operations escalation path.).

E:

Inspect Azure Monitor Agent, VM insights settings, counters and related crash logs. This concerns a different DevOps situation: A production VM experiences OOM kills while CPU remains normal and default platform graphs show no guest memory usage. This case instead requires both a targeted investigation (Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership.) and a controlled change (Configure monitored failure notifications and an actionable operations escalation path.).

Question 78

After implementing the change, the team verifies: A release detects elevated errors but cannot roll back because the prior verified package was deleted. Which result would BEST demonstrate that the issue is corrected?

  1. A faulty canary triggers rollback while most production traffic remains on healthy pods.
  2. A deliberately invalid chart cannot leave the cluster on an unapproved broken release.
  3. The test cohort receives the new flow while excluded users retain the original flow.
  4. A simulated error reverts to the exact previously healthy artifact.

Explanation

Correct Answer

D:

A simulated error reverts to the exact previously healthy artifact. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Retain a protected previous release and automate monitored rollback upon failure. Deployment strategy must preserve known-good artifacts and tested rollback paths.

Incorrect Answers

A:

A faulty canary triggers rollback while most production traffic remains on healthy pods. This would address a different situation, such as: A new AKS container image may affect payments, but the team wants to limit customer exposure during rollout. In the present case, the most directly relevant verification is: A simulated error reverts to the exact previously healthy artifact. The crucial distinction is: Deployment strategy must preserve known-good artifacts and tested rollback paths.

B:

A deliberately invalid chart cannot leave the cluster on an unapproved broken release. This would address a different situation, such as: An AKS Helm upgrade fails after rendering a misconfigured resource, leaving pods partially updated. In the present case, the most directly relevant verification is: A simulated error reverts to the exact previously healthy artifact. The crucial distinction is: Deployment strategy must preserve known-good artifacts and tested rollback paths.

C:

The test cohort receives the new flow while excluded users retain the original flow. This would address a different situation, such as: A retailer wants to expose a new checkout feature to 5% of customers but its current flag is on or off for everyone. In the present case, the most directly relevant verification is: A simulated error reverts to the exact previously healthy artifact. The crucial distinction is: Deployment strategy must preserve known-good artifacts and tested rollback paths.

Question 79

An Azure DevOps engineering team evaluates this condition: An Azure DevOps pipeline uses a GitHub repository but cannot run pull-request validation because its repository connection is misconfigured. Which DevOps principle BEST explains the underlying weakness?

  1. Azure Pipelines GitHub integration requires scoped access and appropriate PR triggers.
  2. Matrix job strategies can validate supported platforms from one pipeline definition.
  3. Custom YAML conditions must retain required success prerequisites.
  4. Path filters must include shared dependencies required by the target service.

Explanation

Correct Answer

A:

Azure Pipelines GitHub integration requires scoped access and appropriate PR triggers. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect GitHub App installation, service connection, YAML PR settings and branch policy. An appropriate controlled response is: Configure approved GitHub connection permissions and required PR build validation.

Incorrect Answers

B:

Matrix job strategies can validate supported platforms from one pipeline definition. This would address a different situation, such as: A cross-platform CLI is built only on Windows and fails later when customers run it on Linux. In the present case, the most directly relevant principle is: Azure Pipelines GitHub integration requires scoped access and appropriate PR triggers. The crucial distinction is: Azure Pipelines GitHub integration requires scoped access and appropriate PR triggers.

C:

Custom YAML conditions must retain required success prerequisites. This would address a different situation, such as: A post-deployment verification job runs even when staging tests fail because its condition overrides the default dependency check. In the present case, the most directly relevant principle is: Azure Pipelines GitHub integration requires scoped access and appropriate PR triggers. The crucial distinction is: Azure Pipelines GitHub integration requires scoped access and appropriate PR triggers.

D:

Path filters must include shared dependencies required by the target service. This would address a different situation, such as: A monorepo pipeline skips tests for a common authentication library because its paths filter only includes one service folder. In the present case, the most directly relevant principle is: Azure Pipelines GitHub integration requires scoped access and appropriate PR triggers. The crucial distinction is: Azure Pipelines GitHub integration requires scoped access and appropriate PR triggers.

Question 80

The DevOps team must resolve this situation: A package registry is scheduled for migration, but retired feeds still contain dependencies used by maintained builds. Which engineering action is MOST appropriate?

  1. Mirror or migrate required immutable package versions before switching consumers.
  2. Assign accountable pipeline owners and route critical failures to current responders.
  3. Migrate to workload identity federation or controlled rotation with alerting.
  4. Report approval wait separately and optimize only the relevant bottleneck.

Explanation

Correct Answer

A:

Mirror or migrate required immutable package versions before switching consumers. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: Maintained releases build correctly after old feed access is withdrawn. Pipeline migration must account for external dependencies and supported retention.

Incorrect Answers

B:

Assign accountable pipeline owners and route critical failures to current responders. This would address a different situation, such as: A pipeline reports repeated deployment failures but no team receives notifications because the original owner left the company. In the present case, the most directly relevant engineering action is: Mirror or migrate required immutable package versions before switching consumers. The crucial distinction is: Pipeline migration must account for external dependencies and supported retention.

C:

Migrate to workload identity federation or controlled rotation with alerting. This would address a different situation, such as: A legacy release service principal secret is set to expire tomorrow and pipeline maintenance has no automated credential lifecycle. In the present case, the most directly relevant engineering action is: Mirror or migrate required immutable package versions before switching consumers. The crucial distinction is: Pipeline migration must account for external dependencies and supported retention.

D:

Report approval wait separately and optimize only the relevant bottleneck. This would address a different situation, such as: An approval gate makes a release appear to take two hours, but actual deployment work takes five minutes. In the present case, the most directly relevant engineering action is: Mirror or migrate required immutable package versions before switching consumers. The crucial distinction is: Pipeline migration must account for external dependencies and supported retention.

Designing and Implementing Microsoft DevOps Solutions (AZ-400) Practice Tests