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 87

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.

Question 861

An Azure DevOps engineering team evaluates this condition: A cost-reduction retention rule deletes the last known-good container image before the rollback period ends. Which DevOps principle BEST explains the underlying weakness?

  1. Self-hosted agent maintenance requires bounded workspace cleanup and cache retention.
  2. Duration analysis should distinguish human wait stages and task execution bottlenecks.
  3. Artifact retention needs business-approved rollback and forensic windows.
  4. Pipelines should declare supported tooling instead of depending on incidental agent image contents.

Explanation

Correct Answer

C:

Artifact retention needs business-approved rollback and forensic windows. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect release references, retention rules, ACR manifests and recovery requirements. An appropriate controlled response is: Protect recent deployed digests and remove only eligible unreferenced artifacts.

Incorrect Answers

A:

Self-hosted agent maintenance requires bounded workspace cleanup and cache retention. This would address a different situation, such as: A self-hosted agent fails after months because workspace and Docker layer caches exhaust disk space. In the present case, the most directly relevant principle is: Artifact retention needs business-approved rollback and forensic windows. The crucial distinction is: Artifact retention needs business-approved rollback and forensic windows.

B:

Duration analysis should distinguish human wait stages and task execution bottlenecks. 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 principle is: Artifact retention needs business-approved rollback and forensic windows. The crucial distinction is: Artifact retention needs business-approved rollback and forensic windows.

D:

Pipelines should declare supported tooling instead of depending on incidental agent image contents. This would address a different situation, such as: Builds fail after an Azure Pipelines hosted image update because a legacy runtime was implicitly available before. In the present case, the most directly relevant principle is: Artifact retention needs business-approved rollback and forensic windows. The crucial distinction is: Artifact retention needs business-approved rollback and forensic windows.

Question 862

The DevOps team must resolve this situation: A Bicep parameter file stores database administrator passwords in plaintext committed to Git. Which engineering action is MOST appropriate?

  1. Publish approved reusable templates with governed versioning and service-specific parameters.
  2. Reference protected secrets via governed Key Vault/identity patterns without logging values.
  3. Pass verified immutable image identifiers through a controlled IaC deployment interface.
  4. Run Bicep validation and reviewed security rules with blocking policy for critical findings.

Explanation

Correct Answer

B:

Reference protected secrets via governed Key Vault/identity patterns without logging values. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A clean pipeline deploys securely without a password appearing in source or logs. Secrets should be supplied through protected identity and secret stores rather than committed IaC inputs.

Incorrect Answers

A:

Publish approved reusable templates with governed versioning and service-specific parameters. This would address a different situation, such as: Each team's pipeline provisions Azure Container Apps independently, with inconsistent health probes and identity. In the present case, the most directly relevant engineering action is: Reference protected secrets via governed Key Vault/identity patterns without logging values. The crucial distinction is: Secrets should be supplied through protected identity and secret stores rather than committed IaC inputs.

C:

Pass verified immutable image identifiers through a controlled IaC deployment interface. 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 engineering action is: Reference protected secrets via governed Key Vault/identity patterns without logging values. The crucial distinction is: Secrets should be supplied through protected identity and secret stores rather than committed IaC inputs.

D:

Run Bicep validation and reviewed security rules with blocking policy for critical findings. 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 engineering action is: Reference protected secrets via governed Key Vault/identity patterns without logging values. The crucial distinction is: Secrets should be supplied through protected identity and secret stores rather than committed IaC inputs.

Question 863

A Microsoft DevOps team is addressing: An Azure DevOps webhook creates duplicate change tickets whenever the receiving service retries a timeout. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect document edit rights, source history, code review ownership and decision status.
  2. Inspect webhook delivery IDs, response codes, receiver transaction IDs and retry rules.
  3. Route deployment and failure events to the approved Microsoft Teams operations channel.
  4. Use stable event IDs and idempotent ticket creation with failure monitoring.
  5. Review commit labels, semantic versions, pull request metadata and changelog history.

Explanation

Correct Answers

B:

Inspect webhook delivery IDs, response codes, receiver transaction IDs and retry rules. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Use stable event IDs and idempotent ticket creation with failure monitoring. Together they address: Cross-tool event integrations need idempotent handling and observability.

D:

Use stable event IDs and idempotent ticket creation with failure monitoring. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect webhook delivery IDs, response codes, receiver transaction IDs and retry rules. Together they address: Cross-tool event integrations need idempotent handling and observability.

Incorrect Answers

A:

Inspect document edit rights, source history, code review ownership and decision status. This concerns a different DevOps situation: An architecture decision record is stored in a shared folder where anyone can overwrite approved design rationale without review. This case instead requires both a targeted investigation (Inspect webhook delivery IDs, response codes, receiver transaction IDs and retry rules.) and a controlled change (Use stable event IDs and idempotent ticket creation with failure monitoring.).

C:

Route deployment and failure events to the approved Microsoft Teams operations channel. This concerns a different DevOps situation: Critical production deployment failures send only email to an unattended shared mailbox. This case instead requires both a targeted investigation (Inspect webhook delivery IDs, response codes, receiver transaction IDs and retry rules.) and a controlled change (Use stable event IDs and idempotent ticket creation with failure monitoring.).

E:

Review commit labels, semantic versions, pull request metadata and changelog history. This concerns a different DevOps situation: An internal library ships monthly but its changelog omits breaking changes unless one maintainer remembers to edit it. This case instead requires both a targeted investigation (Inspect webhook delivery IDs, response codes, receiver transaction IDs and retry rules.) and a controlled change (Use stable event IDs and idempotent ticket creation with failure monitoring.).

Question 864

Before changing the pipeline or service, engineers find: A .NET service pulls internal NuGet libraries from a developer laptop because no shared feed exists. Which evidence should the engineer inspect FIRST?

  1. Inspect feed role assignments, delete permissions, package history and retention.
  2. Inspect package sources, feed permissions, dependency versions and build logs.
  3. Inspect build timestamps, package versions, artifact digests and update metadata.
  4. Inspect public API diffs, release notes, versioning rules and downstream tests.

Explanation

Correct Answer

B:

Inspect package sources, feed permissions, dependency versions and build logs. This directly checks the uncertain behavior or control before changing production. Internal dependencies should be published to an authenticated, versioned package feed. The resulting targeted action is: Publish versioned internal packages to Azure Artifacts and grant scoped pipeline feed access.

Incorrect Answers

A:

Inspect feed role assignments, delete permissions, package history and retention. 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 evidence is: Inspect package sources, feed permissions, dependency versions and build logs. The crucial distinction is: Internal dependencies should be published to an authenticated, versioned package feed.

C:

Inspect build timestamps, package versions, artifact digests and update metadata. This would address a different situation, such as: An organization uses calendar-versioned nightly internal tools but deployments cannot distinguish two builds made on the same day. In the present case, the most directly relevant evidence is: Inspect package sources, feed permissions, dependency versions and build logs. The crucial distinction is: Internal dependencies should be published to an authenticated, versioned package feed.

D:

Inspect public API diffs, release notes, versioning rules and downstream tests. This would address a different situation, such as: An internal SDK removes a public method yet publishes the next build as a patch release, breaking consumers. In the present case, the most directly relevant evidence is: Inspect package sources, feed permissions, dependency versions and build logs. The crucial distinction is: Internal dependencies should be published to an authenticated, versioned package feed.

Question 865

After implementing the change, the team verifies: A team cannot tell when a pull request is waiting for security approval versus failed tests. Which result would BEST demonstrate that the issue is corrected?

  1. The shared platform dependency appears before downstream releases in an integrated plan.
  2. A sample release note lists the actual included fixes without unrelated pending changes.
  3. A sampled production report has an owner and traces to a tested correction.
  4. An intentionally blocked security review is visible to the correct owner before merge.

Explanation

Correct Answer

D:

An intentionally blocked security review is visible to the correct owner before merge. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Configure meaningful status checks, reviewer ownership and notification routing. Delivery flow status must distinguish actionable approval, test and dependency bottlenecks.

Incorrect Answers

A:

The shared platform dependency appears before downstream releases in an integrated plan. This would address a different situation, such as: A platform dependency blocks three application teams, but each Azure Boards team tracks a separate unrelated task. In the present case, the most directly relevant verification is: An intentionally blocked security review is visible to the correct owner before merge. The crucial distinction is: Delivery flow status must distinguish actionable approval, test and dependency bottlenecks.

B:

A sample release note lists the actual included fixes without unrelated pending changes. This would address a different situation, such as: Release notes are composed from memory and routinely omit merged security improvements. In the present case, the most directly relevant verification is: An intentionally blocked security review is visible to the correct owner before merge. The crucial distinction is: Delivery flow status must distinguish actionable approval, test and dependency bottlenecks.

C:

A sampled production report has an owner and traces to a tested correction. This would address a different situation, such as: Customer-reported bugs arrive in chat messages and are never consistently recorded for the development team. In the present case, the most directly relevant verification is: An intentionally blocked security review is visible to the correct owner before merge. The crucial distinction is: Delivery flow status must distinguish actionable approval, test and dependency bottlenecks.

Question 866

The DevOps team must resolve this situation: A GitHub Actions workflow receives 403 when installing a private package owned by another organization repository. Which engineering action is MOST appropriate?

  1. Integrate license policy checks into feed promotion and release approval.
  2. Pin approved package ranges with lockfiles and deterministic restore settings.
  3. Authorize the consuming repository and assign minimum packages:read access.
  4. Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access.

Explanation

Correct Answer

C:

Authorize the consuming repository and assign minimum packages:read access. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A fresh workflow installs the private package without a long-lived personal token. Private package access requires scoped workflow identity and authorized repository permissions.

Incorrect Answers

A:

Integrate license policy checks into feed promotion and release approval. This would address a different situation, such as: A development team uses a package with licensing obligations incompatible with a proprietary distribution without checking the transitive tree. In the present case, the most directly relevant engineering action is: Authorize the consuming repository and assign minimum packages:read access. The crucial distinction is: Private package access requires scoped workflow identity and authorized repository permissions.

B:

Pin approved package ranges with lockfiles and deterministic restore settings. 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 engineering action is: Authorize the consuming repository and assign minimum packages:read access. The crucial distinction is: Private package access requires scoped workflow identity and authorized repository permissions.

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: Authorize the consuming repository and assign minimum packages:read access. The crucial distinction is: Private package access requires scoped workflow identity and authorized repository permissions.

Question 867

Before changing the pipeline or service, engineers find: A production VM experiences OOM kills while CPU remains normal and default platform graphs show no guest memory usage. Which evidence should the engineer inspect FIRST?

  1. Inspect Azure Monitor Agent, VM insights settings, counters and related crash logs.
  2. Inspect GitHub Actions run history, job timing, failure causes and usage trends.
  3. Inspect Azure Monitor Container Insights, pod events, collection coverage and retention.
  4. Review Azure Monitor Storage transaction metrics, response codes and client diagnostics.

Explanation

Correct Answer

A:

Inspect Azure Monitor Agent, VM insights settings, counters and related crash logs. This directly checks the uncertain behavior or control before changing production. Guest memory observability requires supported collection beyond basic host CPU metrics. The resulting targeted action is: Configure supported VM Insights or guest-memory collection and meaningful alerts.

Incorrect Answers

B:

Inspect GitHub Actions run history, job timing, failure causes and usage trends. 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 evidence is: Inspect Azure Monitor Agent, VM insights settings, counters and related crash logs. The crucial distinction is: Guest memory observability requires supported collection beyond basic host CPU metrics.

C:

Inspect Azure Monitor Container Insights, pod events, collection coverage and retention. This would address a different situation, such as: AKS pods restart frequently but the team captures only the last running pod's console output. In the present case, the most directly relevant evidence is: Inspect Azure Monitor Agent, VM insights settings, counters and related crash logs. The crucial distinction is: Guest memory observability requires supported collection beyond basic host CPU metrics.

D:

Review Azure Monitor Storage transaction metrics, response codes and client diagnostics. 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 evidence is: Inspect Azure Monitor Agent, VM insights settings, counters and related crash logs. The crucial distinction is: Guest memory observability requires supported collection beyond basic host CPU metrics.

Question 868

The DevOps team must resolve this situation: A dashboard measures deployment frequency but calculates lead time from the first commit in an unrelated repository. Which engineering action is MOST appropriate?

  1. Publish excluded and flaky test counts with test trends and actionable owner assignments.
  2. Define and enforce meaningful Active and Done transitions in the team's process.
  3. Build service-segmented queries and complementary stability metrics.
  4. Calculate lead time for eligible service changes from commit to actual production deployment.

Explanation

Correct Answer

D:

Calculate lead time for eligible service changes from commit to actual production deployment. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A traced sample change reconciles to dashboard start and end timestamps. DevOps metrics require precise event definitions and consistent populations.

Incorrect Answers

A:

Publish excluded and flaky test counts with test trends and actionable owner assignments. This would address a different situation, such as: A build dashboard reports 100% passing tests by excluding quarantined integration suites without disclosing the exclusions. In the present case, the most directly relevant engineering action is: Calculate lead time for eligible service changes from commit to actual production deployment. The crucial distinction is: DevOps metrics require precise event definitions and consistent populations.

B:

Define and enforce meaningful Active and Done transitions in the team's process. 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 engineering action is: Calculate lead time for eligible service changes from commit to actual production deployment. The crucial distinction is: DevOps metrics require precise event definitions and consistent populations.

C:

Build service-segmented queries and complementary stability metrics. 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 engineering action is: Calculate lead time for eligible service changes from commit to actual production deployment. The crucial distinction is: DevOps metrics require precise event definitions and consistent populations.

Question 869

Before changing the pipeline or service, engineers find: A GitHub Actions release stores a long-lived Azure service principal password in repository secrets for every deployment. Which evidence should the engineer inspect FIRST?

  1. Inspect deployment jobs, environment references, resource checks and service connection access.
  2. Review folder ownership, trigger patterns, dependency graph and missed commits.
  3. Inspect firewall paths, private DNS, hosted-agent restrictions and required build tools.
  4. Inspect GitHub workflow permissions, Entra federated identity credentials, scopes and token audience.

Explanation

Correct Answer

D:

Inspect GitHub workflow permissions, Entra federated identity credentials, scopes and token audience. This directly checks the uncertain behavior or control before changing production. Workload identity federation reduces dependence on persistent credentials for Azure deployment. The resulting targeted action is: Configure trusted GitHub OIDC federation and least-privilege Azure roles for the deployment.

Incorrect Answers

A:

Inspect deployment jobs, environment references, resource checks and service connection access. 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 evidence is: Inspect GitHub workflow permissions, Entra federated identity credentials, scopes and token audience. The crucial distinction is: Workload identity federation reduces dependence on persistent credentials for Azure deployment.

B:

Review folder ownership, trigger patterns, dependency graph and missed commits. 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 evidence is: Inspect GitHub workflow permissions, Entra federated identity credentials, scopes and token audience. The crucial distinction is: Workload identity federation reduces dependence on persistent credentials for Azure deployment.

C:

Inspect firewall paths, private DNS, hosted-agent restrictions and required build tools. This would address a different situation, such as: A build must reach private package infrastructure inaccessible from Microsoft-hosted agents. In the present case, the most directly relevant evidence is: Inspect GitHub workflow permissions, Entra federated identity credentials, scopes and token audience. The crucial distinction is: Workload identity federation reduces dependence on persistent credentials for Azure deployment.

Question 870

An Azure DevOps engineering team evaluates this condition: Engineers create temporary load-test environments manually but never remove costly public IP addresses. Which DevOps principle BEST explains the underlying weakness?

  1. Infrastructure templates should codify consistent application platform controls.
  2. Secrets should be supplied through protected identity and secret stores rather than committed IaC inputs.
  3. Ephemeral environments need automated lifecycle, cost and access controls.
  4. Self-service environment catalogs can standardize provisioning and lifecycle governance.

Explanation

Correct Answer

C:

Ephemeral environments need automated lifecycle, cost and access controls. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect environment provisioning logs, resource tags, TTL and cleanup policies. An appropriate controlled response is: Provision short-lived sandbox environments through approved IaC with automatic expiration.

Incorrect Answers

A:

Infrastructure templates should codify consistent application platform controls. This would address a different situation, such as: Each team's pipeline provisions Azure Container Apps independently, with inconsistent health probes and identity. In the present case, the most directly relevant principle is: Ephemeral environments need automated lifecycle, cost and access controls. The crucial distinction is: Ephemeral environments need automated lifecycle, cost and access controls.

B:

Secrets should be supplied through protected identity and secret stores rather than committed IaC inputs. This would address a different situation, such as: A Bicep parameter file stores database administrator passwords in plaintext committed to Git. In the present case, the most directly relevant principle is: Ephemeral environments need automated lifecycle, cost and access controls. The crucial distinction is: Ephemeral environments need automated lifecycle, cost and access controls.

D:

Self-service environment catalogs can standardize provisioning and lifecycle governance. This would address a different situation, such as: Developers need consistent temporary test environments, but each manually provisions expensive subscriptions and forgets cleanup. In the present case, the most directly relevant principle is: Ephemeral environments need automated lifecycle, cost and access controls. The crucial distinction is: Ephemeral environments need automated lifecycle, cost and access controls.

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