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 96

Question 950

The DevOps team must resolve this situation: A monorepo pipeline skips tests for a common authentication library because its paths filter only includes one service folder. Which engineering action is MOST appropriate?

  1. Optimize test partitions and concurrency to fit approved parallel job capacity.
  2. Expand path filters to cover the service and relevant shared library changes.
  3. Define explicit stage dependencies and artifact handoffs in the YAML pipeline.
  4. Move common steps into approved reusable templates with pinned or governed references.

Explanation

Correct Answer

B:

Expand path filters to cover the service and relevant shared library changes. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A common authentication library change runs the affected service's tests. Path filters must include shared dependencies required by the target service.

Incorrect Answers

A:

Optimize test partitions and concurrency to fit approved parallel job capacity. 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 engineering action is: Expand path filters to cover the service and relevant shared library changes. The crucial distinction is: Path filters must include shared dependencies required by the target service.

C:

Define explicit stage dependencies and artifact handoffs in the YAML pipeline. This would address a different situation, such as: A deployment stage starts before the packaging stage publishes an artifact because stages are configured independently. In the present case, the most directly relevant engineering action is: Expand path filters to cover the service and relevant shared library changes. The crucial distinction is: Path filters must include shared dependencies required by the target service.

D:

Move common steps into approved reusable templates with pinned or governed references. This would address a different situation, such as: Teams each copy a deployment YAML template and security fixes reach only some repositories. In the present case, the most directly relevant engineering action is: Expand path filters to cover the service and relevant shared library changes. The crucial distinction is: Path filters must include shared dependencies required by the target service.

Question 951

The DevOps team must resolve this situation: Two user interface variants are shown, but the team changes both pricing logic and checkout latency simultaneously and cannot attribute outcomes. Which engineering action is MOST appropriate?

  1. Use backward-compatible API rollout and explicit dependent stage ordering.
  2. Isolate the tested change and instrument comparable outcome metrics across randomized cohorts.
  3. Implement staged deployment rings with explicit gates and pause criteria.
  4. Use a controlled migration framework with version tracking and idempotent safeguards.

Explanation

Correct Answer

B:

Isolate the tested change and instrument comparable outcome metrics across randomized cohorts. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A comparison can attribute a measured difference to the controlled feature variant. A/B evaluations require stable cohorts and measurable objective-specific differences.

Incorrect Answers

A:

Use backward-compatible API rollout and explicit dependent stage ordering. This would address a different situation, such as: A frontend release calls an API endpoint introduced only by a backend deployment scheduled later, breaking all sessions. In the present case, the most directly relevant engineering action is: Isolate the tested change and instrument comparable outcome metrics across randomized cohorts. The crucial distinction is: A/B evaluations require stable cohorts and measurable objective-specific differences.

C:

Implement staged deployment rings with explicit gates and pause criteria. This would address a different situation, such as: A desktop client update is rolled out to every employee globally at the same moment, causing a widespread outage. In the present case, the most directly relevant engineering action is: Isolate the tested change and instrument comparable outcome metrics across randomized cohorts. The crucial distinction is: A/B evaluations require stable cohorts and measurable objective-specific differences.

D:

Use a controlled migration framework with version tracking and idempotent safeguards. This would address a different situation, such as: A release database task retries after a timeout and creates duplicate schema objects, causing subsequent deployments to fail. In the present case, the most directly relevant engineering action is: Isolate the tested change and instrument comparable outcome metrics across randomized cohorts. The crucial distinction is: A/B evaluations require stable cohorts and measurable objective-specific differences.

Question 952

An Azure DevOps engineering team evaluates this condition: A half-finished payment feature accidentally activates immediately when its code merges into main. Which DevOps principle BEST explains the underlying weakness?

  1. Deployment slots support staged verification and controlled production swaps where supported.
  2. Feature flag control separates deployment from governed feature activation.
  3. Infrastructure deployment should preview and approve material changes before applying.
  4. Targeting filters can control feature exposure by cohort or percentage.

Explanation

Correct Answer

B:

Feature flag control separates deployment from governed feature activation. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect Azure App Configuration flags, filters, defaults and access rights. An appropriate controlled response is: Deploy behind a disabled flag and enable for an approved targeted cohort after validation.

Incorrect Answers

A:

Deployment slots support staged verification and controlled production swaps where supported. This would address a different situation, such as: A web application must deploy without interruption, but direct production updates restart every active instance. In the present case, the most directly relevant principle is: Feature flag control separates deployment from governed feature activation. The crucial distinction is: Feature flag control separates deployment from governed feature activation.

C:

Infrastructure deployment should preview and approve material changes before applying. This would address a different situation, such as: A Terraform pipeline applies a production plan without showing that a changed resource will be destroyed. In the present case, the most directly relevant principle is: Feature flag control separates deployment from governed feature activation. The crucial distinction is: Feature flag control separates deployment from governed feature activation.

D:

Targeting filters can control feature exposure by cohort or percentage. 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 principle is: Feature flag control separates deployment from governed feature activation. The crucial distinction is: Feature flag control separates deployment from governed feature activation.

Question 953

A Microsoft DevOps team is addressing: A security scorecard shows the total number of alerts but cannot identify overdue critical fixes. Which TWO complementary actions should be taken? Select TWO answers.

  1. Build aging and SLA queries for critical findings with owner and disposition fields.
  2. Define and enforce meaningful Active and Done transitions in the team's process.
  3. Build service-segmented queries and complementary stability metrics.
  4. Inspect vulnerability discovery times, severity classifications, exception approvals and closure evidence.
  5. Review incident start, synthetic transaction recovery, customer impact and closure events.

Explanation

Correct Answers

A:

Build aging and SLA queries for critical findings with owner and disposition fields. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect vulnerability discovery times, severity classifications, exception approvals and closure evidence. Together they address: Security metrics should track severity, exposure, accountable ownership and aging.

D:

Inspect vulnerability discovery times, severity classifications, exception approvals and closure evidence. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Build aging and SLA queries for critical findings with owner and disposition fields. Together they address: Security metrics should track severity, exposure, accountable ownership and aging.

Incorrect Answers

B:

Define and enforce meaningful Active and Done transitions in the team's process. This concerns a different DevOps situation: Azure Boards reports near-zero cycle time because teams move stories to Active only when coding is almost finished. This case instead requires both a targeted investigation (Inspect vulnerability discovery times, severity classifications, exception approvals and closure evidence.) and a controlled change (Build aging and SLA queries for critical findings with owner and disposition fields.).

C:

Build service-segmented queries and complementary stability metrics. This concerns a different DevOps situation: A company combines experimental internal tools and regulated payment services into one deployment-frequency ranking. This case instead requires both a targeted investigation (Inspect vulnerability discovery times, severity classifications, exception approvals and closure evidence.) and a controlled change (Build aging and SLA queries for critical findings with owner and disposition fields.).

E:

Review incident start, synthetic transaction recovery, customer impact and closure events. This concerns a different DevOps situation: An operations dashboard reports recovery time ending when a VM restarts, although customer transactions remain unavailable. This case instead requires both a targeted investigation (Inspect vulnerability discovery times, severity classifications, exception approvals and closure evidence.) and a controlled change (Build aging and SLA queries for critical findings with owner and disposition fields.).

Question 954

After implementing the change, the team verifies: A production deployment depends on a time-limited Azure Policy exemption that was never documented or reviewed. Which result would BEST demonstrate that the issue is corrected?

  1. A newly provisioned VM reports accurate guest configuration compliance.
  2. Production uses the approved digest recorded in the associated pipeline run.
  3. Expired exemptions are surfaced and prohibited deployments resume enforcement.
  4. Running the same deployment twice produces no duplicate workspaces.

Explanation

Correct Answer

C:

Expired exemptions are surfaced and prohibited deployments resume enforcement. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Create a governed scoped exemption with an owner and expiry or redesign for compliance. Policy exemptions need justified owner approval, scope and expiration.

Incorrect Answers

A:

A newly provisioned VM reports accurate guest configuration compliance. This would address a different situation, such as: Production VMs are configured by manual shell changes and new replacement VMs lack required OS baselines. In the present case, the most directly relevant verification is: Expired exemptions are surfaced and prohibited deployments resume enforcement. The crucial distinction is: Policy exemptions need justified owner approval, scope and expiration.

B:

Production uses the approved digest recorded in the associated pipeline run. This would address a different situation, such as: Application images are deployed manually after infra provisioning and the deployed image tag is not recorded in Bicep or the release pipeline. In the present case, the most directly relevant verification is: Expired exemptions are surfaced and prohibited deployments resume enforcement. The crucial distinction is: Policy exemptions need justified owner approval, scope and expiration.

D:

Running the same deployment twice produces no duplicate workspaces. This would address a different situation, such as: A shared Bicep deployment creates a new Log Analytics workspace on each run due to non-deterministic resource names. In the present case, the most directly relevant verification is: Expired exemptions are surfaced and prohibited deployments resume enforcement. The crucial distinction is: Policy exemptions need justified owner approval, scope and expiration.

Question 955

An Azure DevOps engineering team evaluates this condition: A desktop client update is rolled out to every employee globally at the same moment, causing a widespread outage. Which DevOps principle BEST explains the underlying weakness?

  1. Rolling replacement should account for connection draining and readiness transitions.
  2. Infrastructure deployment should preview and approve material changes before applying.
  3. Ring deployment sequences exposure through controlled representative cohorts.
  4. Canary deployments reduce blast radius by validating a small traffic share first.

Explanation

Correct Answer

C:

Ring deployment sequences exposure through controlled representative cohorts. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect endpoint groups, telemetry, rollout schedule and early-ring feedback. An appropriate controlled response is: Implement staged deployment rings with explicit gates and pause criteria.

Incorrect Answers

A:

Rolling replacement should account for connection draining and readiness transitions. This would address a different situation, such as: A deployment removes an application instance while it has open customer sessions, causing dropped purchases. In the present case, the most directly relevant principle is: Ring deployment sequences exposure through controlled representative cohorts. The crucial distinction is: Ring deployment sequences exposure through controlled representative cohorts.

B:

Infrastructure deployment should preview and approve material changes before applying. This would address a different situation, such as: A Terraform pipeline applies a production plan without showing that a changed resource will be destroyed. In the present case, the most directly relevant principle is: Ring deployment sequences exposure through controlled representative cohorts. The crucial distinction is: Ring deployment sequences exposure through controlled representative cohorts.

D:

Canary deployments reduce blast radius by validating a small traffic share first. 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 principle is: Ring deployment sequences exposure through controlled representative cohorts. The crucial distinction is: Ring deployment sequences exposure through controlled representative cohorts.

Question 956

An Azure DevOps engineering team evaluates this condition: Payment processing files require security review, but code owner review is only advisory. Which DevOps principle BEST explains the underlying weakness?

  1. Sensitive paths should have enforced review by designated accountable owners.
  2. External contributions should use constrained write scope and enforced review.
  3. Branch policies should enforce an independent review and required checks for protected code.
  4. Maintenance branching should match support windows and preserve immutable release history.

Explanation

Correct Answer

A:

Sensitive paths should have enforced review by designated accountable owners. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect CODEOWNERS mappings, branch protection and reviewer bypass privileges. An appropriate controlled response is: Enforce code owner approval for sensitive path changes in protected branches.

Incorrect Answers

B:

External contributions should use constrained write scope and enforced review. This would address a different situation, such as: External contributors can directly edit protected organization branches rather than submitting reviewed fork-based changes. In the present case, the most directly relevant principle is: Sensitive paths should have enforced review by designated accountable owners. The crucial distinction is: Sensitive paths should have enforced review by designated accountable owners.

C:

Branch policies should enforce an independent review and required checks for protected code. This would address a different situation, such as: A repository's default branch allows authors to approve their own high-risk changes without independent review. In the present case, the most directly relevant principle is: Sensitive paths should have enforced review by designated accountable owners. The crucial distinction is: Sensitive paths should have enforced review by designated accountable owners.

D:

Maintenance branching should match support windows and preserve immutable release history. This would address a different situation, such as: Old supported product versions receive urgent fixes but the team deletes prior release references after every mainline update. In the present case, the most directly relevant principle is: Sensitive paths should have enforced review by designated accountable owners. The crucial distinction is: Sensitive paths should have enforced review by designated accountable owners.

Question 957

An Azure DevOps engineering team evaluates this condition: A dashboard measures deployment frequency but calculates lead time from the first commit in an unrelated repository. Which DevOps principle BEST explains the underlying weakness?

  1. Time to restore service should reflect verified business-service recovery.
  2. DevOps metrics require precise event definitions and consistent populations.
  3. Operational metrics must be interpreted by service context and business risk.
  4. Flow metrics depend on consistent state-transition definitions and truthful process data.

Explanation

Correct Answer

B:

DevOps metrics require precise event definitions and consistent populations. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect commit timestamps, deployment records, service ownership and calculation filters. An appropriate controlled response is: Calculate lead time for eligible service changes from commit to actual production deployment.

Incorrect Answers

A:

Time to restore service should reflect verified business-service recovery. This would address a different situation, such as: An operations dashboard reports recovery time ending when a VM restarts, although customer transactions remain unavailable. In the present case, the most directly relevant principle is: DevOps metrics require precise event definitions and consistent populations. The crucial distinction is: DevOps metrics require precise event definitions and consistent populations.

C:

Operational metrics must be interpreted by service context and business risk. This would address a different situation, such as: A company combines experimental internal tools and regulated payment services into one deployment-frequency ranking. In the present case, the most directly relevant principle is: DevOps metrics require precise event definitions and consistent populations. The crucial distinction is: DevOps metrics require precise event definitions and consistent populations.

D:

Flow metrics depend on consistent state-transition definitions and truthful process data. This would address a different situation, such as: Azure Boards reports near-zero cycle time because teams move stories to Active only when coding is almost finished. In the present case, the most directly relevant principle is: DevOps metrics require precise event definitions and consistent populations. The crucial distinction is: DevOps metrics require precise event definitions and consistent populations.

Question 958

A Microsoft DevOps team is addressing: A product manager needs to view Azure Boards and submit work items but is given full build administration permissions. Which TWO complementary actions should be taken? Select TWO answers.

  1. Separate pipeline authors from release-approval administrators and audit exceptions.
  2. Disable broad access and explicitly authorize the approved production pipelines.
  3. Inspect project memberships, access level, team role and pipeline permissions.
  4. Use a GitHub App with minimal repository permissions for the workflow.
  5. Use suitable Stakeholder access and restrict code/pipeline administration.

Explanation

Correct Answers

C:

Inspect project memberships, access level, team role and pipeline permissions. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Use suitable Stakeholder access and restrict code/pipeline administration. Together they address: Azure DevOps access levels and security groups should reflect actual job duties.

E:

Use suitable Stakeholder access and restrict code/pipeline administration. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect project memberships, access level, team role and pipeline permissions. Together they address: Azure DevOps access levels and security groups should reflect actual job duties.

Incorrect Answers

A:

Separate pipeline authors from release-approval administrators and audit exceptions. This concerns a different DevOps situation: Developers can edit protected deployment environments and approve their own releases because one group owns all project settings. This case instead requires both a targeted investigation (Inspect project memberships, access level, team role and pipeline permissions.) and a controlled change (Use suitable Stakeholder access and restrict code/pipeline administration.).

B:

Disable broad access and explicitly authorize the approved production pipelines. This concerns a different DevOps situation: An Azure DevOps deployment service connection is authorized for all pipelines, including untrusted test definitions. This case instead requires both a targeted investigation (Inspect project memberships, access level, team role and pipeline permissions.) and a controlled change (Use suitable Stakeholder access and restrict code/pipeline administration.).

D:

Use a GitHub App with minimal repository permissions for the workflow. This concerns a different DevOps situation: An automation bot uses a maintainer's all-repository personal access token to comment on pull requests. This case instead requires both a targeted investigation (Inspect project memberships, access level, team role and pipeline permissions.) and a controlled change (Use suitable Stakeholder access and restrict code/pipeline administration.).

Question 959

A Microsoft DevOps team is addressing: A desktop client update is rolled out to every employee globally at the same moment, causing a widespread outage. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect ingress traffic splitting, pod health, business error metrics and rollback triggers.
  2. Use slot-sticky settings and suppress staging triggers until explicitly authorized.
  3. Inspect endpoint groups, telemetry, rollout schedule and early-ring feedback.
  4. Inspect Deployment strategy, replica count, readiness probes and disruption events.
  5. Implement staged deployment rings with explicit gates and pause criteria.

Explanation

Correct Answers

C:

Inspect endpoint groups, telemetry, rollout schedule and early-ring feedback. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Implement staged deployment rings with explicit gates and pause criteria. Together they address: Ring deployment sequences exposure through controlled representative cohorts.

E:

Implement staged deployment rings with explicit gates and pause criteria. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect endpoint groups, telemetry, rollout schedule and early-ring feedback. Together they address: Ring deployment sequences exposure through controlled representative cohorts.

Incorrect Answers

A:

Inspect ingress traffic splitting, pod health, business error metrics and rollback triggers. This concerns a different DevOps situation: A new AKS container image may affect payments, but the team wants to limit customer exposure during rollout. This case instead requires both a targeted investigation (Inspect endpoint groups, telemetry, rollout schedule and early-ring feedback.) and a controlled change (Implement staged deployment rings with explicit gates and pause criteria.).

B:

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 (Inspect endpoint groups, telemetry, rollout schedule and early-ring feedback.) and a controlled change (Implement staged deployment rings with explicit gates and pause criteria.).

D:

Inspect Deployment strategy, replica count, readiness probes and disruption events. This concerns a different DevOps situation: An AKS update removes every API pod simultaneously because maxUnavailable equals the full replica count. This case instead requires both a targeted investigation (Inspect endpoint groups, telemetry, rollout schedule and early-ring feedback.) and a controlled change (Implement staged deployment rings with explicit gates and pause criteria.).

Question 960

Before changing the pipeline or service, engineers find: A developer needs one service from a huge monorepo, but each checkout transfers every unrelated project and binary. Which evidence should the engineer inspect FIRST?

  1. Inspect project access groups, repository ACLs, token grants and vendor responsibilities.
  2. Inspect LFS usage, pointer resolution, CI checkout settings and quota alerts.
  3. Inspect repository layout, dependency graph, clone filters and build requirements.
  4. Review tracked paths, Git case settings, import statements and CI filesystem behavior.

Explanation

Correct Answer

C:

Inspect repository layout, dependency graph, clone filters and build requirements. This directly checks the uncertain behavior or control before changing production. Large repositories can use sparse checkout and partial clone to reduce unnecessary working data. The resulting targeted action is: Configure supported sparse checkout or Scalar/partial clone for constrained workflows.

Incorrect Answers

A:

Inspect project access groups, repository ACLs, token grants and vendor responsibilities. This would address a different situation, such as: A QA vendor needs read-only test access but has been granted repository administration rights. In the present case, the most directly relevant evidence is: Inspect repository layout, dependency graph, clone filters and build requirements. The crucial distinction is: Large repositories can use sparse checkout and partial clone to reduce unnecessary working data.

B:

Inspect LFS usage, pointer resolution, CI checkout settings and quota alerts. This would address a different situation, such as: A project enables Git LFS but build agents repeatedly fail because downloads exceed the organization's storage bandwidth quota. In the present case, the most directly relevant evidence is: Inspect repository layout, dependency graph, clone filters and build requirements. The crucial distinction is: Large repositories can use sparse checkout and partial clone to reduce unnecessary working data.

D:

Review tracked paths, Git case settings, import statements and CI filesystem behavior. This would address a different situation, such as: A service builds on a Windows workstation but fails on Linux CI because a source import differs only in filename case. In the present case, the most directly relevant evidence is: Inspect repository layout, dependency graph, clone filters and build requirements. The crucial distinction is: Large repositories can use sparse checkout and partial clone to reduce unnecessary working data.

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