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 86

Question 850

A Microsoft DevOps team is addressing: A release adds a non-null column while old and new application versions temporarily operate together. Which TWO complementary actions should be taken? Select TWO answers.

  1. Install or select the approved SDK version in the pipeline before test execution.
  2. Improve boundary-value assertions and use mutation or targeted fault tests as appropriate.
  3. Inspect schema migration scripts, live app versions, default values and rollback plans.
  4. Test expand-and-contract schema changes against concurrent old and new application instances.
  5. Review process exit codes, PublishTestResults task settings and test XML files.

Explanation

Correct Answers

C:

Inspect schema migration scripts, live app versions, default values and rollback plans. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Test expand-and-contract schema changes against concurrent old and new application instances. Together they address: Database deployment tests should validate backward compatibility throughout rollout.

D:

Test expand-and-contract schema changes against concurrent old and new application instances. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect schema migration scripts, live app versions, default values and rollback plans. Together they address: Database deployment tests should validate backward compatibility throughout rollout.

Incorrect Answers

A:

Install or select the approved SDK version in the pipeline before test execution. This concerns a different DevOps situation: An Azure Pipeline fails only on hosted agents because tests require an uninstalled legacy.NET SDK. This case instead requires both a targeted investigation (Inspect schema migration scripts, live app versions, default values and rollback plans.) and a controlled change (Test expand-and-contract schema changes against concurrent old and new application instances.).

B:

Improve boundary-value assertions and use mutation or targeted fault tests as appropriate. This concerns a different DevOps situation: A business rule has 100% line coverage, but tests still pass when its comparison operator is reversed. This case instead requires both a targeted investigation (Inspect schema migration scripts, live app versions, default values and rollback plans.) and a controlled change (Test expand-and-contract schema changes against concurrent old and new application instances.).

E:

Review process exit codes, PublishTestResults task settings and test XML files. This concerns a different DevOps situation: A pipeline script prints a test failure but exits with zero, leaving no test results visible in Azure Pipelines. This case instead requires both a targeted investigation (Inspect schema migration scripts, live app versions, default values and rollback plans.) and a controlled change (Test expand-and-contract schema changes against concurrent old and new application instances.).

Question 851

An Azure DevOps engineering team evaluates this condition: An internal library ships monthly but its changelog omits breaking changes unless one maintainer remembers to edit it. Which DevOps principle BEST explains the underlying weakness?

  1. API documentation must be published from the approved version and checked for compatibility.
  2. Release documentation should reconcile source changes with versioning and consumer impact.
  3. Cross-platform collaboration requires configured repository and work-item integration.
  4. Architectural knowledge needs attributable change history and accountable reviewer approval.

Explanation

Correct Answer

B:

Release documentation should reconcile source changes with versioning and consumer impact. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Review commit labels, semantic versions, pull request metadata and changelog history. An appropriate controlled response is: Generate draft release notes from structured commits and require review of breaking changes.

Incorrect Answers

A:

API documentation must be published from the approved version and checked for compatibility. This would address a different situation, such as: A versioned REST API deploys successfully but its consumer documentation still lists removed fields. In the present case, the most directly relevant principle is: Release documentation should reconcile source changes with versioning and consumer impact. The crucial distinction is: Release documentation should reconcile source changes with versioning and consumer impact.

C:

Cross-platform collaboration requires configured repository and work-item integration. This would address a different situation, such as: A team uses GitHub for code and Azure Boards for planning, but pull requests never appear in its work items. In the present case, the most directly relevant principle is: Release documentation should reconcile source changes with versioning and consumer impact. The crucial distinction is: Release documentation should reconcile source changes with versioning and consumer impact.

D:

Architectural knowledge needs attributable change history and accountable reviewer approval. This would address a different situation, such as: An architecture decision record is stored in a shared folder where anyone can overwrite approved design rationale without review. In the present case, the most directly relevant principle is: Release documentation should reconcile source changes with versioning and consumer impact. The crucial distinction is: Release documentation should reconcile source changes with versioning and consumer impact.

Question 852

An Azure DevOps engineering team evaluates this condition: A pull request passes security tests, then receives new commits but can merge without rerunning required checks. Which DevOps principle BEST explains the underlying weakness?

  1. Required checks must apply to the head commit actually being merged.
  2. Maintenance branching should match support windows and preserve immutable release history.
  3. Frequent integration into a protected trunk reduces accumulated merge risk.
  4. Branch policies should enforce an independent review and required checks for protected code.

Explanation

Correct Answer

A:

Required checks must apply to the head commit actually being merged. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect check run SHAs, policy settings, new commits and merge event history. An appropriate controlled response is: Require fresh passing checks after updates to the protected pull request.

Incorrect Answers

B:

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: Required checks must apply to the head commit actually being merged. The crucial distinction is: Required checks must apply to the head commit actually being merged.

C:

Frequent integration into a protected trunk reduces accumulated merge risk. This would address a different situation, such as: An organization merges changes only at the end of a six-week release branch, creating hundreds of conflicts. In the present case, the most directly relevant principle is: Required checks must apply to the head commit actually being merged. The crucial distinction is: Required checks must apply to the head commit actually being merged.

D:

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: Required checks must apply to the head commit actually being merged. The crucial distinction is: Required checks must apply to the head commit actually being merged.

Question 853

The DevOps team must resolve this situation: A development team uses a package with licensing obligations incompatible with a proprietary distribution without checking the transitive tree. Which engineering action is MOST appropriate?

  1. Integrate license policy checks into feed promotion and release approval.
  2. Use unique versioned paths and verify digest before deployment.
  3. Grant read, publish and administration only to the appropriate separate identities.
  4. Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access.

Explanation

Correct Answer

A:

Integrate license policy checks into feed promotion and release approval. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A policy-prohibited dependency blocks promotion with a reviewable report. Package approval must consider legal and licensing obligations alongside technical vulnerabilities.

Incorrect Answers

B:

Use unique versioned paths and verify digest before deployment. 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 engineering action is: Integrate license policy checks into feed promotion and release approval. The crucial distinction is: Package approval must consider legal and licensing obligations alongside technical vulnerabilities.

C:

Grant read, publish and administration only to the appropriate separate identities. This would address a different situation, such as: Every developer can delete the versions of a private production library that other teams depend on. In the present case, the most directly relevant engineering action is: Integrate license policy checks into feed promotion and release approval. The crucial distinction is: Package approval must consider legal and licensing obligations alongside technical vulnerabilities.

D:

Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access. This would address a different situation, such as: An organization distributes a proprietary CLI as email attachments so engineering teams run inconsistent versions. In the present case, the most directly relevant engineering action is: Integrate license policy checks into feed promotion and release approval. The crucial distinction is: Package approval must consider legal and licensing obligations alongside technical vulnerabilities.

Question 854

An engineering design review identifies: A project enables Git LFS but build agents repeatedly fail because downloads exceed the organization's storage bandwidth quota. Which shortcut should the team MOST specifically avoid for this case?

  1. Depend on the README saying archived while leaving write permissions unchanged.
  2. Disable checksum verification and download every historical asset on each build.
  3. Delete unrelated projects from the shared monorepo before every local build.
  4. Share the organization owner's personal access token with the QA vendor.

Explanation

Correct Answer

B:

Disable checksum verification and download every historical asset on each build. This shortcut directly undermines the stated control or workflow. A safer action is: Govern large-file retention, selective downloads and authorized capacity increases. Explanation: Repository strategies must monitor large-file storage limits and build consumption patterns.

Incorrect Answers

A:

Depend on the README saying archived while leaving write permissions unchanged. This would address a different situation, such as: An archived security-sensitive repository remains writable by former project members and receives unreviewed commits. In the present case, the most directly relevant unsafe shortcut is: Disable checksum verification and download every historical asset on each build. The crucial distinction is: Repository strategies must monitor large-file storage limits and build consumption patterns.

C:

Delete unrelated projects from the shared monorepo before every local build. This would address a different situation, such as: A developer needs one service from a huge monorepo, but each checkout transfers every unrelated project and binary. In the present case, the most directly relevant unsafe shortcut is: Disable checksum verification and download every historical asset on each build. The crucial distinction is: Repository strategies must monitor large-file storage limits and build consumption patterns.

D:

Share the organization owner's personal access token with the QA vendor. 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 unsafe shortcut is: Disable checksum verification and download every historical asset on each build. The crucial distinction is: Repository strategies must monitor large-file storage limits and build consumption patterns.

Question 855

An Azure DevOps engineering team evaluates this condition: A .NET service pulls internal NuGet libraries from a developer laptop because no shared feed exists. Which DevOps principle BEST explains the underlying weakness?

  1. Versioned universal packages provide reproducible distribution of nonlanguage build outputs.
  2. Reproducible builds require controlled package versions and lockfile inputs.
  3. Internal dependencies should be published to an authenticated, versioned package feed.
  4. Artifact promotion must bind deployment to the exact tested build.

Explanation

Correct Answer

C:

Internal dependencies should be published to an authenticated, versioned package feed. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect package sources, feed permissions, dependency versions and build logs. An appropriate controlled response is: Publish versioned internal packages to Azure Artifacts and grant scoped pipeline feed access.

Incorrect Answers

A:

Versioned universal packages provide reproducible distribution of nonlanguage build outputs. This would address a different situation, such as: An organization distributes a proprietary CLI as email attachments so engineering teams run inconsistent versions. In the present case, the most directly relevant principle is: Internal dependencies should be published to an authenticated, versioned package feed. The crucial distinction is: Internal dependencies should be published to an authenticated, versioned package feed.

B:

Reproducible builds require controlled package versions and lockfile inputs. This would address a different situation, such as: The same Git commit restores different NuGet package versions one week apart and intermittently fails tests. In the present case, the most directly relevant principle is: Internal dependencies should be published to an authenticated, versioned package feed. The crucial distinction is: Internal dependencies should be published to an authenticated, versioned package feed.

D:

Artifact promotion must bind deployment to the exact tested build. 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 principle is: Internal dependencies should be published to an authenticated, versioned package feed. The crucial distinction is: Internal dependencies should be published to an authenticated, versioned package feed.

Question 856

Before changing the pipeline or service, engineers find: Hundreds of nightly builds run when source code is unchanged, consuming expensive hosted parallel minutes. Which evidence should the engineer inspect FIRST?

  1. Inspect package restore sources, build manifests, feed versions and migration schedule.
  2. Inspect output variables, task logs, masking controls and newly added debug flags.
  3. Inspect run triggers, change events, consumption and mandated scheduled security scans.
  4. Compare classic stage approvals with YAML environment checks and service-connection authorization.

Explanation

Correct Answer

C:

Inspect run triggers, change events, consumption and mandated scheduled security scans. This directly checks the uncertain behavior or control before changing production. Pipeline cost optimization should remove redundant executions without weakening required checks. The resulting targeted action is: Introduce relevant path/branch conditions and appropriately scheduled validation.

Incorrect Answers

A:

Inspect package restore sources, build manifests, feed versions and migration schedule. 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 evidence is: Inspect run triggers, change events, consumption and mandated scheduled security scans. The crucial distinction is: Pipeline cost optimization should remove redundant executions without weakening required checks.

B:

Inspect output variables, task logs, masking controls and newly added debug flags. 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 evidence is: Inspect run triggers, change events, consumption and mandated scheduled security scans. The crucial distinction is: Pipeline cost optimization should remove redundant executions without weakening required checks.

D:

Compare classic stage approvals with YAML environment checks and service-connection authorization. This would address a different situation, such as: After migrating to YAML, a production release skips mandatory human approval that existed in a classic release stage. In the present case, the most directly relevant evidence is: Inspect run triggers, change events, consumption and mandated scheduled security scans. The crucial distinction is: Pipeline cost optimization should remove redundant executions without weakening required checks.

Question 857

A Microsoft DevOps team is addressing: An approval gate makes a release appear to take two hours, but actual deployment work takes five minutes. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect free disk, workspace lifecycle, container images and failure records.
  2. Inspect retention defaults, legal requirements, approval records and storage cost.
  3. Assign accountable pipeline owners and route critical failures to current responders.
  4. Inspect run timelines, environment approval events and task durations.
  5. Report approval wait separately and optimize only the relevant bottleneck.

Explanation

Correct Answers

D:

Inspect run timelines, environment approval events and task durations. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Report approval wait separately and optimize only the relevant bottleneck. Together they address: Duration analysis should distinguish human wait stages and task execution bottlenecks.

E:

Report approval wait separately and optimize only the relevant bottleneck. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect run timelines, environment approval events and task durations. Together they address: Duration analysis should distinguish human wait stages and task execution bottlenecks.

Incorrect Answers

A:

Inspect free disk, workspace lifecycle, container images and failure records. This concerns a different DevOps situation: A self-hosted agent fails after months because workspace and Docker layer caches exhaust disk space. This case instead requires both a targeted investigation (Inspect run timelines, environment approval events and task durations.) and a controlled change (Report approval wait separately and optimize only the relevant bottleneck.).

B:

Inspect retention defaults, legal requirements, approval records and storage cost. This concerns a different DevOps situation: An organization deletes pipeline logs within a day even though deployment approvals must be auditable for a year. This case instead requires both a targeted investigation (Inspect run timelines, environment approval events and task durations.) and a controlled change (Report approval wait separately and optimize only the relevant bottleneck.).

C:

Assign accountable pipeline owners and route critical failures to current responders. This concerns a different DevOps situation: A pipeline reports repeated deployment failures but no team receives notifications because the original owner left the company. This case instead requires both a targeted investigation (Inspect run timelines, environment approval events and task durations.) and a controlled change (Report approval wait separately and optimize only the relevant bottleneck.).

Question 858

After implementing the change, the team verifies: A project relies entirely on container image vulnerability scanning while application source contains an authorization flaw. Which result would BEST demonstrate that the issue is corrected?

  1. A harmless test token pattern triggers the expected prevention or review workflow.
  2. The known authorization weakness is identified despite a clean base-image scan.
  3. A known critical test image is blocked while a remediated digest deploys.
  4. A policy-incompatible dependency prevents publication until disposition.

Explanation

Correct Answer

B:

The known authorization weakness is identified despite a clean base-image scan. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Combine appropriate code, dependency, secret and container scanning with tested authorization scenarios. Different scanning methods cover different classes of weakness and require complementary controls.

Incorrect Answers

A:

A harmless test token pattern triggers the expected prevention or review workflow. This would address a different situation, such as: A developer accidentally commits a cloud token, but the repository has no automated alerting on leaked credentials. In the present case, the most directly relevant verification is: The known authorization weakness is identified despite a clean base-image scan. The crucial distinction is: Different scanning methods cover different classes of weakness and require complementary controls.

C:

A known critical test image is blocked while a remediated digest deploys. This would address a different situation, such as: An ACR pipeline pushes vulnerable base images and deploys without considering scan results. In the present case, the most directly relevant verification is: The known authorization weakness is identified despite a clean base-image scan. The crucial distinction is: Different scanning methods cover different classes of weakness and require complementary controls.

D:

A policy-incompatible dependency prevents publication until disposition. This would address a different situation, such as: A binary distribution uses open-source dependencies but its release process does not check license obligations. In the present case, the most directly relevant verification is: The known authorization weakness is identified despite a clean base-image scan. The crucial distinction is: Different scanning methods cover different classes of weakness and require complementary controls.

Question 859

A Microsoft DevOps team is addressing: A deployment receives approval even when a required penetration-test issue remains unresolved and unaccepted. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect issue severity, gate criteria, exception owners and evidence attachments.
  2. Inspect task arguments, secret masking, logs, scope and token issuance.
  3. Review PR check policies, test job dependencies and build result timing.
  4. Require accountable acceptance or closure of critical security blockers before promotion.
  5. Correct failure handling and publish supported JUnit/TRX results with fail-on-test-failure behavior.

Explanation

Correct Answers

A:

Inspect issue severity, gate criteria, exception owners and evidence attachments. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Require accountable acceptance or closure of critical security blockers before promotion. Together they address: Release gates must evaluate approved risk exceptions and mandatory security criteria.

D:

Require accountable acceptance or closure of critical security blockers before promotion. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect issue severity, gate criteria, exception owners and evidence attachments. Together they address: Release gates must evaluate approved risk exceptions and mandatory security criteria.

Incorrect Answers

B:

Inspect task arguments, secret masking, logs, scope and token issuance. This concerns a different DevOps situation: A test task writes its service principal secret into verbose logs on every failing run. This case instead requires both a targeted investigation (Inspect issue severity, gate criteria, exception owners and evidence attachments.) and a controlled change (Require accountable acceptance or closure of critical security blockers before promotion.).

C:

Review PR check policies, test job dependencies and build result timing. 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 issue severity, gate criteria, exception owners and evidence attachments.) and a controlled change (Require accountable acceptance or closure of critical security blockers before promotion.).

E:

Correct failure handling and publish supported JUnit/TRX results with fail-on-test-failure behavior. This concerns a different DevOps situation: A pipeline script prints a test failure but exits with zero, leaving no test results visible in Azure Pipelines. This case instead requires both a targeted investigation (Inspect issue severity, gate criteria, exception owners and evidence attachments.) and a controlled change (Require accountable acceptance or closure of critical security blockers before promotion.).

Question 860

An Azure DevOps engineering team evaluates this condition: A team's claimed 90% code coverage includes only generated code and excludes its core authorization module. Which DevOps principle BEST explains the underlying weakness?

  1. Test environments must provision declared toolchains rather than depend on developer machines.
  2. Test stages must declare prerequisite environment and schema dependencies explicitly.
  3. Release validation should test critical business journeys rather than only process liveness.
  4. Coverage gates must reflect relevant tested production code and disclose exclusions.

Explanation

Correct Answer

D:

Coverage gates must reflect relevant tested production code and disclose exclusions. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Review coverage collection filters, included assemblies and security-sensitive modules. An appropriate controlled response is: Collect meaningful coverage with transparent exclusions and enforce reviewed thresholds.

Incorrect Answers

A:

Test environments must provision declared toolchains rather than depend on developer machines. This would address a different situation, such as: An Azure Pipeline fails only on hosted agents because tests require an uninstalled legacy.NET SDK. In the present case, the most directly relevant principle is: Coverage gates must reflect relevant tested production code and disclose exclusions. The crucial distinction is: Coverage gates must reflect relevant tested production code and disclose exclusions.

B:

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: Coverage gates must reflect relevant tested production code and disclose exclusions. The crucial distinction is: Coverage gates must reflect relevant tested production code and disclose exclusions.

C:

Release validation should test critical business journeys rather than only process liveness. This would address a different situation, such as: A payment workflow completes an HTTP health check but fails after users submit the checkout form. In the present case, the most directly relevant principle is: Coverage gates must reflect relevant tested production code and disclose exclusions. The crucial distinction is: Coverage gates must reflect relevant tested production code and disclose exclusions.

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