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 57

Question 560

An Azure DevOps engineering team evaluates this condition: A shared variable group contains production connection strings, and every development pipeline can read them. Which DevOps principle BEST explains the underlying weakness?

  1. Shared templates should be centrally governed and versioned for compatible consumers.
  2. Matrix job strategies can validate supported platforms from one pipeline definition.
  3. Path filters must include shared dependencies required by the target service.
  4. Variable groups must have environment-specific authorization and secret access controls.

Explanation

Correct Answer

D:

Variable groups must have environment-specific authorization and secret access controls. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect library permissions, pipeline authorization, variable source and consumer identities. An appropriate controlled response is: Separate production variables and restrict group use to approved production pipelines.

Incorrect Answers

A:

Shared templates should be centrally governed and versioned for compatible consumers. 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 principle is: Variable groups must have environment-specific authorization and secret access controls. The crucial distinction is: Variable groups must have environment-specific authorization and secret access controls.

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: Variable groups must have environment-specific authorization and secret access controls. The crucial distinction is: Variable groups must have environment-specific authorization and secret access controls.

C:

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: Variable groups must have environment-specific authorization and secret access controls. The crucial distinction is: Variable groups must have environment-specific authorization and secret access controls.

Question 561

After implementing the change, the team verifies: An Azure DevOps pipeline uses a GitHub repository but cannot run pull-request validation because its repository connection is misconfigured. Which result would BEST demonstrate that the issue is corrected?

  1. A test-only job cannot mutate repository releases while publish job remains authorized.
  2. A sample GitHub pull request launches a traceable Azure Pipeline check.
  3. An unauthorized run cannot access the production deployment until approval completes.
  4. A failed package stage prevents promotion and no missing-artifact deployment begins.

Explanation

Correct Answer

B:

A sample GitHub pull request launches a traceable Azure Pipeline check. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Configure approved GitHub connection permissions and required PR build validation. Azure Pipelines GitHub integration requires scoped access and appropriate PR triggers.

Incorrect Answers

A:

A test-only job cannot mutate repository releases while publish job remains authorized. 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 verification is: A sample GitHub pull request launches a traceable Azure Pipeline check. The crucial distinction is: Azure Pipelines GitHub integration requires scoped access and appropriate PR triggers.

C:

An unauthorized run cannot access the production deployment until approval completes. This would address a different situation, such as: A YAML pipeline references a production environment but deploys through an unprotected job that never uses the environment resource. In the present case, the most directly relevant verification is: A sample GitHub pull request launches a traceable Azure Pipeline check. The crucial distinction is: Azure Pipelines GitHub integration requires scoped access and appropriate PR triggers.

D:

A failed package stage prevents promotion and no missing-artifact deployment begins. 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 verification is: A sample GitHub pull request launches a traceable Azure Pipeline check. The crucial distinction is: Azure Pipelines GitHub integration requires scoped access and appropriate PR triggers.

Question 562

After implementing the change, the team verifies: A Log Analytics workspace stores application exceptions, but engineers cannot identify which deployment revision triggered a spike. Which result would BEST demonstrate that the issue is corrected?

  1. A test bad revision appears as a distinct error-rate group in the query.
  2. The controlled rare failure produces a discoverable correlated trace.
  3. A controlled unexpected identity event is distinguishable from authorized automation.
  4. An injected failing release creates a visible change-linked error cluster.

Explanation

Correct Answer

A:

A test bad revision appears as a distinct error-rate group in the query. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Use a Kusto summarize query grouped by deployment version and appropriate time bins. KQL grouping by revision and time can separate release regressions from background failures.

Incorrect Answers

B:

The controlled rare failure produces a discoverable correlated trace. This would address a different situation, such as: A low-volume payment failure disappears from diagnostic traces because sampling drops all relevant requests. In the present case, the most directly relevant verification is: A test bad revision appears as a distinct error-rate group in the query. The crucial distinction is: KQL grouping by revision and time can separate release regressions from background failures.

C:

A controlled unexpected identity event is distinguishable from authorized automation. This would address a different situation, such as: Azure resource logs show unusual production service principal sign-ins, but a dashboard aggregates all identities together. In the present case, the most directly relevant verification is: A test bad revision appears as a distinct error-rate group in the query. The crucial distinction is: KQL grouping by revision and time can separate release regressions from background failures.

D:

An injected failing release creates a visible change-linked error cluster. This would address a different situation, such as: A new release increases HTTP 500s, but the team cannot match failures to deployment timestamps. In the present case, the most directly relevant verification is: A test bad revision appears as a distinct error-rate group in the query. The crucial distinction is: KQL grouping by revision and time can separate release regressions from background failures.

Question 563

After implementing the change, the team verifies: Intermittent API failures occur across a private network, but monitoring uses only application exception counts. Which result would BEST demonstrate that the issue is corrected?

  1. A simulated failed blob operation is visible despite unchanged storage capacity.
  2. A controlled path disruption is visible with source/destination context.
  3. A generated test event is queryable with the correct source and timestamp.
  4. A deliberately failing workflow raises its failure metric without counting as success.

Explanation

Correct Answer

B:

A controlled path disruption is visible with source/destination context. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Enable an approved connection monitor for the critical private network path. Network telemetry should complement application logs to locate connectivity failure.

Incorrect Answers

A:

A simulated failed blob operation is visible despite unchanged storage capacity. This would address a different situation, such as: Blob transaction failures increase, but dashboards track only storage account capacity in bytes. In the present case, the most directly relevant verification is: A controlled path disruption is visible with source/destination context. The crucial distinction is: Network telemetry should complement application logs to locate connectivity failure.

C:

A generated test event is queryable with the correct source and timestamp. This would address a different situation, such as: A VM sends no logs to Log Analytics because its Azure Monitor Agent data collection rule targets another resource group. In the present case, the most directly relevant verification is: A controlled path disruption is visible with source/destination context. The crucial distinction is: Network telemetry should complement application logs to locate connectivity failure.

D:

A deliberately failing workflow raises its failure metric without counting as success. This would address a different situation, such as: A GitHub project has rising CI failures, but maintainers monitor only total completed workflow counts. In the present case, the most directly relevant verification is: A controlled path disruption is visible with source/destination context. The crucial distinction is: Network telemetry should complement application logs to locate connectivity failure.

Question 564

An engineering design review identifies: A maintainer rebases a shared release branch and force pushes, invalidating teammates' commit references. Which shortcut should the team MOST specifically avoid for this case?

  1. Make force push the default method for updating every shared release branch.
  2. Assume original feature branch SHA always equals the squash commit SHA.
  3. Grant administrator rights to all contractors for ease of contributions.
  4. Tag the old branch as released and assume other branches inherited the fix.

Explanation

Correct Answer

A:

Make force push the default method for updating every shared release branch. This shortcut directly undermines the stated control or workflow. A safer action is: Restrict force pushes on shared branches and use approved non-destructive integration. Explanation: History rewriting on shared branches requires explicit governance to protect provenance.

Incorrect Answers

B:

Assume original feature branch SHA always equals the squash commit SHA. 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 unsafe shortcut is: Make force push the default method for updating every shared release branch. The crucial distinction is: History rewriting on shared branches requires explicit governance to protect provenance.

C:

Grant administrator rights to all contractors for ease of contributions. 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 unsafe shortcut is: Make force push the default method for updating every shared release branch. The crucial distinction is: History rewriting on shared branches requires explicit governance to protect provenance.

D:

Tag the old branch as released and assume other branches inherited the fix. This would address a different situation, such as: A critical production fix is committed to an old release branch and never reaches the mainline, so the bug returns next month. In the present case, the most directly relevant unsafe shortcut is: Make force push the default method for updating every shared release branch. The crucial distinction is: History rewriting on shared branches requires explicit governance to protect provenance.

Question 565

An Azure DevOps engineering team evaluates this condition: A deployment removes an application instance while it has open customer sessions, causing dropped purchases. Which DevOps principle BEST explains the underlying weakness?

  1. Rolling replacement should account for connection draining and readiness transitions.
  2. Cross-service deployment order must respect compatibility and dependency contracts.
  3. Deployments should reference the exact verified image digest or protected immutable tag.
  4. Deployment strategy must preserve known-good artifacts and tested rollback paths.

Explanation

Correct Answer

A:

Rolling replacement should account for connection draining and readiness transitions. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect load balancer deregistration delay, pod termination and request lifetimes. An appropriate controlled response is: Configure graceful shutdown and appropriate draining before removing active targets.

Incorrect Answers

B:

Cross-service deployment order must respect compatibility and dependency contracts. 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 principle is: Rolling replacement should account for connection draining and readiness transitions. The crucial distinction is: Rolling replacement should account for connection draining and readiness transitions.

C:

Deployments should reference the exact verified image digest or protected immutable tag. This would address a different situation, such as: A release manifest references an ACR latest tag that was replaced after QA approval. In the present case, the most directly relevant principle is: Rolling replacement should account for connection draining and readiness transitions. The crucial distinction is: Rolling replacement should account for connection draining and readiness transitions.

D:

Deployment strategy must preserve known-good artifacts and tested rollback paths. This would address a different situation, such as: A release detects elevated errors but cannot roll back because the prior verified package was deleted. In the present case, the most directly relevant principle is: Rolling replacement should account for connection draining and readiness transitions. The crucial distinction is: Rolling replacement should account for connection draining and readiness transitions.

Question 566

A Microsoft DevOps team is addressing: Service unit tests pass but integration fails because Azure SQL connectivity differs between staging and production. Which TWO complementary actions should be taken? Select TWO answers.

  1. Use a dedicated test subscription or resource group with restricted identity permissions.
  2. Run isolated integration tests against approved representative Azure SQL dependencies.
  3. Add guarded end-to-end UI tests for checkout and payment confirmation.
  4. Inspect connection policy, test-stage service connections, database logs and environment settings.
  5. Require verified unit test checks as part of protected pull request policy.

Explanation

Correct Answers

B:

Run isolated integration tests against approved representative Azure SQL dependencies. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect connection policy, test-stage service connections, database logs and environment settings. Together they address: Integration tests must exercise representative dependent services and configuration.

D:

Inspect connection policy, test-stage service connections, database logs and environment settings. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Run isolated integration tests against approved representative Azure SQL dependencies. Together they address: Integration tests must exercise representative dependent services and configuration.

Incorrect Answers

A:

Use a dedicated test subscription or resource group with restricted identity permissions. This concerns a different DevOps situation: A test pipeline reuses a production storage account and occasionally deletes customer fixtures. This case instead requires both a targeted investigation (Inspect connection policy, test-stage service connections, database logs and environment settings.) and a controlled change (Run isolated integration tests against approved representative Azure SQL dependencies.).

C:

Add guarded end-to-end UI tests for checkout and payment confirmation. This concerns a different DevOps situation: A payment workflow completes an HTTP health check but fails after users submit the checkout form. This case instead requires both a targeted investigation (Inspect connection policy, test-stage service connections, database logs and environment settings.) and a controlled change (Run isolated integration tests against approved representative Azure SQL dependencies.).

E:

Require verified unit test checks as part of protected pull request policy. This concerns a different DevOps situation: A protected mainline accepts pull requests before a required unit test suite finishes, causing broken packages. This case instead requires both a targeted investigation (Inspect connection policy, test-stage service connections, database logs and environment settings.) and a controlled change (Run isolated integration tests against approved representative Azure SQL dependencies.).

Question 567

A Microsoft DevOps team is addressing: Release rollback fails because the pipeline cleaned the package version deployed last week. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect release history, retention settings, artifact references and support policy.
  2. Authorize the consuming repository and assign minimum packages:read access.
  3. Inspect artifact store versioning, write policy, source SHA and release logs.
  4. Protect deployed and rollback-candidate artifacts with defined retention exceptions.
  5. Inspect public API diffs, release notes, versioning rules and downstream tests.

Explanation

Correct Answers

A:

Inspect release history, retention settings, artifact references and support policy. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Protect deployed and rollback-candidate artifacts with defined retention exceptions. Together they address: Retention must preserve artifacts and dependencies required for defined rollback windows.

D:

Protect deployed and rollback-candidate artifacts with defined retention exceptions. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect release history, retention settings, artifact references and support policy. Together they address: Retention must preserve artifacts and dependencies required for defined rollback windows.

Incorrect Answers

B:

Authorize the consuming repository and assign minimum packages:read access. This concerns a different DevOps situation: A GitHub Actions workflow receives 403 when installing a private package owned by another organization repository. This case instead requires both a targeted investigation (Inspect release history, retention settings, artifact references and support policy.) and a controlled change (Protect deployed and rollback-candidate artifacts with defined retention exceptions.).

C:

Inspect artifact store versioning, write policy, source SHA and release logs. This concerns a different DevOps situation: A build pipeline uploads a ZIP under a stable filename and a later build overwrites it before deployment. This case instead requires both a targeted investigation (Inspect release history, retention settings, artifact references and support policy.) and a controlled change (Protect deployed and rollback-candidate artifacts with defined retention exceptions.).

E:

Inspect public API diffs, release notes, versioning rules and downstream tests. This concerns a different DevOps situation: An internal SDK removes a public method yet publishes the next build as a patch release, breaking consumers. This case instead requires both a targeted investigation (Inspect release history, retention settings, artifact references and support policy.) and a controlled change (Protect deployed and rollback-candidate artifacts with defined retention exceptions.).

Question 568

An Azure DevOps engineering team evaluates this condition: Production pipeline deployments fail overnight, but engineers notice only when checking the Azure DevOps portal the next morning. Which DevOps principle BEST explains the underlying weakness?

  1. Network telemetry should complement application logs to locate connectivity failure.
  2. Operational monitoring should route significant pipeline failures to accountable responders.
  3. Guest memory observability requires supported collection beyond basic host CPU metrics.
  4. Distributed telemetry should correlate requests and dependencies across application boundaries.

Explanation

Correct Answer

B:

Operational monitoring should route significant pipeline failures to accountable responders. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership. An appropriate controlled response is: Configure monitored failure notifications and an actionable operations escalation path.

Incorrect Answers

A:

Network telemetry should complement application logs to locate connectivity failure. This would address a different situation, such as: Intermittent API failures occur across a private network, but monitoring uses only application exception counts. In the present case, the most directly relevant principle is: Operational monitoring should route significant pipeline failures to accountable responders. The crucial distinction is: Operational monitoring should route significant pipeline failures to accountable responders.

C:

Guest memory observability requires supported collection beyond basic host CPU metrics. This would address a different situation, such as: A production VM experiences OOM kills while CPU remains normal and default platform graphs show no guest memory usage. In the present case, the most directly relevant principle is: Operational monitoring should route significant pipeline failures to accountable responders. The crucial distinction is: Operational monitoring should route significant pipeline failures to accountable responders.

D:

Distributed telemetry should correlate requests and dependencies across application boundaries. This would address a different situation, such as: A shopping application logs HTTP failures but does not show which downstream payment call caused the response delay. In the present case, the most directly relevant principle is: Operational monitoring should route significant pipeline failures to accountable responders. The crucial distinction is: Operational monitoring should route significant pipeline failures to accountable responders.

Question 569

An Azure DevOps engineering team evaluates this condition: After migrating to YAML, a production release skips mandatory human approval that existed in a classic release stage. Which DevOps principle BEST explains the underlying weakness?

  1. Pipeline monitoring must detect credential disclosure while retaining useful logs.
  2. Pipeline migration must account for external dependencies and supported retention.
  3. Migration must preserve policy-enforced approvals through supported protected resources.
  4. Pipeline operational health needs assigned responders and maintained notification routing.

Explanation

Correct Answer

C:

Migration must preserve policy-enforced approvals through supported protected resources. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Compare classic stage approvals with YAML environment checks and service-connection authorization. An appropriate controlled response is: Configure environment-level approvals and checks outside untrusted YAML modification paths.

Incorrect Answers

A:

Pipeline monitoring must detect credential disclosure while retaining useful logs. This would address a different situation, such as: Verbose diagnostic logging starts printing deployment tokens after a new task version update. In the present case, the most directly relevant principle is: Migration must preserve policy-enforced approvals through supported protected resources. The crucial distinction is: Migration must preserve policy-enforced approvals through supported protected resources.

B:

Pipeline migration must account for external dependencies and supported retention. This would address a different situation, such as: A package registry is scheduled for migration, but retired feeds still contain dependencies used by maintained builds. In the present case, the most directly relevant principle is: Migration must preserve policy-enforced approvals through supported protected resources. The crucial distinction is: Migration must preserve policy-enforced approvals through supported protected resources.

D:

Pipeline operational health needs assigned responders and maintained notification routing. 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 principle is: Migration must preserve policy-enforced approvals through supported protected resources. The crucial distinction is: Migration must preserve policy-enforced approvals through supported protected resources.

Question 570

After implementing the change, the team verifies: A pipeline team wants 50 more hosted agent slots even though bottlenecks are serial manual approvals and limited integration environments. Which result would BEST demonstrate that the issue is corrected?

  1. An intentionally failed release reaches the active on-call group with diagnostic context.
  2. A new deployment succeeds after retiring the old secret while preserving permissions.
  3. A trial optimization improves completion time at acceptable agent cost.
  4. A test report identifies approval latency independently of execution time.

Explanation

Correct Answer

C:

A trial optimization improves completion time at acceptable agent cost. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Remove serial bottlenecks or right-size jobs before purchasing concurrency. Capacity changes should be justified by measured critical-path improvements and cost.

Incorrect Answers

A:

An intentionally failed release reaches the active on-call group with diagnostic context. 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 verification is: A trial optimization improves completion time at acceptable agent cost. The crucial distinction is: Capacity changes should be justified by measured critical-path improvements and cost.

B:

A new deployment succeeds after retiring the old secret while preserving permissions. 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 verification is: A trial optimization improves completion time at acceptable agent cost. The crucial distinction is: Capacity changes should be justified by measured critical-path improvements and cost.

D:

A test report identifies approval latency independently of execution time. 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 verification is: A trial optimization improves completion time at acceptable agent cost. The crucial distinction is: Capacity changes should be justified by measured critical-path improvements and cost.

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