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 67

Question 660

Before changing the pipeline or service, engineers find: A build must reach private package infrastructure inaccessible from Microsoft-hosted agents. Which evidence should the engineer inspect FIRST?

  1. Inspect library permissions, pipeline authorization, variable source and consumer identities.
  2. Inspect firewall paths, private DNS, hosted-agent restrictions and required build tools.
  3. Review stage condition expressions, dependency status and test results.
  4. Inspect endpoint authorization, service principal federation subject and Azure RBAC scope.

Explanation

Correct Answer

B:

Inspect firewall paths, private DNS, hosted-agent restrictions and required build tools. This directly checks the uncertain behavior or control before changing production. Agent placement should satisfy network access and security constraints without overprivilege. The resulting targeted action is: Deploy a governed self-hosted Azure Pipelines agent with controlled network connectivity.

Incorrect Answers

A:

Inspect library permissions, pipeline authorization, variable source and consumer identities. This would address a different situation, such as: A shared variable group contains production connection strings, and every development pipeline can read them. In the present case, the most directly relevant evidence is: Inspect firewall paths, private DNS, hosted-agent restrictions and required build tools. The crucial distinction is: Agent placement should satisfy network access and security constraints without overprivilege.

C:

Review stage condition expressions, dependency status and test results. This would address a different situation, such as: A post-deployment verification job runs even when staging tests fail because its condition overrides the default dependency check. In the present case, the most directly relevant evidence is: Inspect firewall paths, private DNS, hosted-agent restrictions and required build tools. The crucial distinction is: Agent placement should satisfy network access and security constraints without overprivilege.

D:

Inspect endpoint authorization, service principal federation subject and Azure RBAC scope. This would address a different situation, such as: An Azure DevOps pipeline's Azure Resource Manager service connection fails each quarter when its client secret expires. In the present case, the most directly relevant evidence is: Inspect firewall paths, private DNS, hosted-agent restrictions and required build tools. The crucial distinction is: Agent placement should satisfy network access and security constraints without overprivilege.

Question 661

An Azure DevOps engineering team evaluates this condition: New engineers misread a multi-stage release dependency diagram because process documentation uses an obsolete screenshot. Which DevOps principle BEST explains the underlying weakness?

  1. Notifications should reach accountable responders through monitored channels with useful context.
  2. Diagrams should reflect executable workflow dependencies and be maintainable with source.
  3. Architectural knowledge needs attributable change history and accountable reviewer approval.
  4. Cross-platform collaboration requires configured repository and work-item integration.

Explanation

Correct Answer

B:

Diagrams should reflect executable workflow dependencies and be maintainable with source. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect pipeline YAML dependencies, existing diagrams and documentation change records. An appropriate controlled response is: Maintain a reviewed Mermaid diagram generated or updated alongside pipeline changes.

Incorrect Answers

A:

Notifications should reach accountable responders through monitored channels with useful context. This would address a different situation, such as: Critical production deployment failures send only email to an unattended shared mailbox. In the present case, the most directly relevant principle is: Diagrams should reflect executable workflow dependencies and be maintainable with source. The crucial distinction is: Diagrams should reflect executable workflow dependencies and be maintainable with source.

C:

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: Diagrams should reflect executable workflow dependencies and be maintainable with source. The crucial distinction is: Diagrams should reflect executable workflow dependencies and be maintainable with source.

D:

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: Diagrams should reflect executable workflow dependencies and be maintainable with source. The crucial distinction is: Diagrams should reflect executable workflow dependencies and be maintainable with source.

Question 662

After implementing the change, the team verifies: A production VM experiences OOM kills while CPU remains normal and default platform graphs show no guest memory usage. Which result would BEST demonstrate that the issue is corrected?

  1. A deliberately failing workflow raises its failure metric without counting as success.
  2. A simulated failed blob operation is visible despite unchanged storage capacity.
  3. A controlled memory stress event appears in monitored guest memory signals.
  4. A generated test event is queryable with the correct source and timestamp.

Explanation

Correct Answer

C:

A controlled memory stress event appears in monitored guest memory signals. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Configure supported VM Insights or guest-memory collection and meaningful alerts. Guest memory observability requires supported collection beyond basic host CPU metrics.

Incorrect Answers

A:

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 memory stress event appears in monitored guest memory signals. The crucial distinction is: Guest memory observability requires supported collection beyond basic host CPU metrics.

B:

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 memory stress event appears in monitored guest memory signals. The crucial distinction is: Guest memory observability requires supported collection beyond basic host CPU metrics.

D:

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 memory stress event appears in monitored guest memory signals. The crucial distinction is: Guest memory observability requires supported collection beyond basic host CPU metrics.

Question 663

A Microsoft DevOps team is addressing: A build references a Git submodule by moving branch and occasionally acquires incompatible dependency changes. Which TWO complementary actions should be taken? Select TWO answers.

  1. Review code duplication, package provenance, semver constraints and release history.
  2. Pin the submodule to an approved commit and update it through reviewed changes.
  3. Inspect superproject gitlinks, submodule branch settings and build input records.
  4. Normalize names and case-correct imports with cross-platform validation in PR checks.
  5. Inspect tag protection rules, release digests and commit-signature requirements.

Explanation

Correct Answers

B:

Pin the submodule to an approved commit and update it through reviewed changes. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect superproject gitlinks, submodule branch settings and build input records. Together they address: Submodules should resolve to reviewed immutable commits for reproducible builds.

C:

Inspect superproject gitlinks, submodule branch settings and build input records. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Pin the submodule to an approved commit and update it through reviewed changes. Together they address: Submodules should resolve to reviewed immutable commits for reproducible builds.

Incorrect Answers

A:

Review code duplication, package provenance, semver constraints and release history. This concerns a different DevOps situation: Two separate repositories copy and edit a common authentication library independently, producing inconsistent fixes. This case instead requires both a targeted investigation (Inspect superproject gitlinks, submodule branch settings and build input records.) and a controlled change (Pin the submodule to an approved commit and update it through reviewed changes.).

D:

Normalize names and case-correct imports with cross-platform validation in PR checks. This concerns a different DevOps situation: A service builds on a Windows workstation but fails on Linux CI because a source import differs only in filename case. This case instead requires both a targeted investigation (Inspect superproject gitlinks, submodule branch settings and build input records.) and a controlled change (Pin the submodule to an approved commit and update it through reviewed changes.).

E:

Inspect tag protection rules, release digests and commit-signature requirements. This concerns a different DevOps situation: A release build uses a mutable tag name that engineers can retarget to a different unreviewed commit. This case instead requires both a targeted investigation (Inspect superproject gitlinks, submodule branch settings and build input records.) and a controlled change (Pin the submodule to an approved commit and update it through reviewed changes.).

Question 664

Before changing the pipeline or service, engineers find: A pipeline reports repeated deployment failures but no team receives notifications because the original owner left the company. Which evidence should the engineer inspect FIRST?

  1. Inspect retry counts, per-test historical failure rates, queue and execution time.
  2. Inspect run triggers, change events, consumption and mandated scheduled security scans.
  3. Review alert subscriptions, team ownership, failure history and escalation paths.
  4. Review cache key configuration, lockfile hash, package restore logs and unexpected results.

Explanation

Correct Answer

C:

Review alert subscriptions, team ownership, failure history and escalation paths. This directly checks the uncertain behavior or control before changing production. Pipeline operational health needs assigned responders and maintained notification routing. The resulting targeted action is: Assign accountable pipeline owners and route critical failures to current responders.

Incorrect Answers

A:

Inspect retry counts, per-test historical failure rates, queue and execution time. This would address a different situation, such as: Pipeline duration grows because a flaky test is retried eight times but the dashboard still shows every build as green. In the present case, the most directly relevant evidence is: Review alert subscriptions, team ownership, failure history and escalation paths. The crucial distinction is: Pipeline operational health needs assigned responders and maintained notification routing.

B:

Inspect run triggers, change events, consumption and mandated scheduled security scans. This would address a different situation, such as: Hundreds of nightly builds run when source code is unchanged, consuming expensive hosted parallel minutes. In the present case, the most directly relevant evidence is: Review alert subscriptions, team ownership, failure history and escalation paths. The crucial distinction is: Pipeline operational health needs assigned responders and maintained notification routing.

D:

Review cache key configuration, lockfile hash, package restore logs and unexpected results. This would address a different situation, such as: A pipeline caches packages under one global key even after lockfile changes, causing inconsistent builds. In the present case, the most directly relevant evidence is: Review alert subscriptions, team ownership, failure history and escalation paths. The crucial distinction is: Pipeline operational health needs assigned responders and maintained notification routing.

Question 665

After implementing the change, the team verifies: A reusable GitHub Actions workflow grants write permissions to every job although most only compile and test. Which result would BEST demonstrate that the issue is corrected?

  1. A test pipeline deploys after the old secret is revoked and stays least-privileged.
  2. A production deployment succeeds with a short-lived token and no stored client secret.
  3. A test-only job cannot mutate repository releases while publish job remains authorized.
  4. A job restores the private dependency while agent access remains restricted.

Explanation

Correct Answer

C:

A test-only job cannot mutate repository releases while publish job remains authorized. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Restrict default GITHUB_TOKEN permissions and grant write scopes only to required jobs. Job-level token permissions should match each workflow task's minimum needs.

Incorrect Answers

A:

A test pipeline deploys after the old secret is revoked and stays least-privileged. This would address a different situation, such as: An Azure DevOps pipeline's Azure Resource Manager service connection fails each quarter when its client secret expires. In the present case, the most directly relevant verification is: A test-only job cannot mutate repository releases while publish job remains authorized. The crucial distinction is: Job-level token permissions should match each workflow task's minimum needs.

B:

A production deployment succeeds with a short-lived token and no stored client secret. This would address a different situation, such as: A GitHub Actions release stores a long-lived Azure service principal password in repository secrets for every deployment. In the present case, the most directly relevant verification is: A test-only job cannot mutate repository releases while publish job remains authorized. The crucial distinction is: Job-level token permissions should match each workflow task's minimum needs.

D:

A job restores the private dependency while agent access remains restricted. 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 verification is: A test-only job cannot mutate repository releases while publish job remains authorized. The crucial distinction is: Job-level token permissions should match each workflow task's minimum needs.

Question 666

A Microsoft DevOps team is addressing: A legacy fleet uses Azure Automation State Configuration but receives no reliable reports of drift or node registration. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect DSC node enrollment, configuration compilations and reporting logs.
  2. Apply an approved Azure Machine Configuration baseline with compliance evaluation.
  3. Add explicit dependency and readiness checks where Azure role propagation needs validation.
  4. Inspect backend settings, state access policy, encryption and concurrent writes.
  5. Review the legacy DSC setup and plan a supported configuration management transition or remediation.

Explanation

Correct Answers

A:

Inspect DSC node enrollment, configuration compilations and reporting logs. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Review the legacy DSC setup and plan a supported configuration management transition or remediation. Together they address: Desired state governance needs verified registration, pull frequency and compliance feedback.

E:

Review the legacy DSC setup and plan a supported configuration management transition or remediation. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect DSC node enrollment, configuration compilations and reporting logs. Together they address: Desired state governance needs verified registration, pull frequency and compliance feedback.

Incorrect Answers

B:

Apply an approved Azure Machine Configuration baseline with compliance evaluation. This concerns a different DevOps situation: Production VMs are configured by manual shell changes and new replacement VMs lack required OS baselines. This case instead requires both a targeted investigation (Inspect DSC node enrollment, configuration compilations and reporting logs.) and a controlled change (Review the legacy DSC setup and plan a supported configuration management transition or remediation.).

C:

Add explicit dependency and readiness checks where Azure role propagation needs validation. This concerns a different DevOps situation: A Bicep deployment creates an application before the required Key Vault access is effective, causing startup failures. This case instead requires both a targeted investigation (Inspect DSC node enrollment, configuration compilations and reporting logs.) and a controlled change (Review the legacy DSC setup and plan a supported configuration management transition or remediation.).

D:

Inspect backend settings, state access policy, encryption and concurrent writes. This concerns a different DevOps situation: A Terraform workflow stores its state file in an unencrypted shared file share accessible to all developers. This case instead requires both a targeted investigation (Inspect DSC node enrollment, configuration compilations and reporting logs.) and a controlled change (Review the legacy DSC setup and plan a supported configuration management transition or remediation.).

Question 667

A Microsoft DevOps team is addressing: A pipeline prints a database password stored in a plain YAML variable during environment deployment. Which TWO complementary actions should be taken? Select TWO answers.

  1. Deploy the appropriately authorized certificate material through supported bindings and managed access.
  2. Use an authorized Azure Key Vault-backed secret reference with protected variable handling.
  3. Inspect blob access, SAS lifetime, logs and secret-bearing file handling.
  4. Review certificate exposure, pipeline YAML, secure-file permissions and task usage.
  5. Inspect YAML variables, task output, Key Vault references and secret access scope.

Explanation

Correct Answers

B:

Use an authorized Azure Key Vault-backed secret reference with protected variable handling. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect YAML variables, task output, Key Vault references and secret access scope. Together they address: Pipeline secrets should be retrieved from controlled stores and kept out of source and logs.

E:

Inspect YAML variables, task output, Key Vault references and secret access scope. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Use an authorized Azure Key Vault-backed secret reference with protected variable handling. Together they address: Pipeline secrets should be retrieved from controlled stores and kept out of source and logs.

Incorrect Answers

A:

Deploy the appropriately authorized certificate material through supported bindings and managed access. This concerns a different DevOps situation: An Azure service uses a TLS certificate uploaded to Key Vault, but the deployment copies only the public certificate without the private-key binding. This case instead requires both a targeted investigation (Inspect YAML variables, task output, Key Vault references and secret access scope.) and a controlled change (Use an authorized Azure Key Vault-backed secret reference with protected variable handling.).

C:

Inspect blob access, SAS lifetime, logs and secret-bearing file handling. This concerns a different DevOps situation: A deployment downloads a private configuration file from a public blob URL before replacing placeholders. This case instead requires both a targeted investigation (Inspect YAML variables, task output, Key Vault references and secret access scope.) and a controlled change (Use an authorized Azure Key Vault-backed secret reference with protected variable handling.).

D:

Review certificate exposure, pipeline YAML, secure-file permissions and task usage. This concerns a different DevOps situation: A mobile signing certificate is embedded as Base64 directly in a public pipeline YAML file. This case instead requires both a targeted investigation (Inspect YAML variables, task output, Key Vault references and secret access scope.) and a controlled change (Use an authorized Azure Key Vault-backed secret reference with protected variable handling.).

Question 668

The DevOps team must resolve this situation: A team cannot tell when a pull request is waiting for security approval versus failed tests. Which engineering action is MOST appropriate?

  1. Configure meaningful status checks, reviewer ownership and notification routing.
  2. Relate production bugs to failing or missing tests and preventive backlog work.
  3. Update related GitHub Issues from protected workflow events with release status and error context.
  4. Use a structured GitHub Issues intake process with ownership, labels and linked fixes.

Explanation

Correct Answer

A:

Configure meaningful status checks, reviewer ownership and notification routing. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: An intentionally blocked security review is visible to the correct owner before merge. Delivery flow status must distinguish actionable approval, test and dependency bottlenecks.

Incorrect Answers

B:

Relate production bugs to failing or missing tests and preventive backlog work. This would address a different situation, such as: Several production defects were fixed, but QA cannot determine which automated test gaps allowed them to escape. In the present case, the most directly relevant engineering action is: Configure meaningful status checks, reviewer ownership and notification routing. The crucial distinction is: Delivery flow status must distinguish actionable approval, test and dependency bottlenecks.

C:

Update related GitHub Issues from protected workflow events with release status and error context. This would address a different situation, such as: A deployment job fails but the failure is not associated with the GitHub issue that requested the release. In the present case, the most directly relevant engineering action is: Configure meaningful status checks, reviewer ownership and notification routing. The crucial distinction is: Delivery flow status must distinguish actionable approval, test and dependency bottlenecks.

D:

Use a structured GitHub Issues intake process with ownership, labels and linked fixes. 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 engineering action is: Configure meaningful status checks, reviewer ownership and notification routing. The crucial distinction is: Delivery flow status must distinguish actionable approval, test and dependency bottlenecks.

Question 669

A Microsoft DevOps team is addressing: An archived security-sensitive repository remains writable by former project members and receives unreviewed commits. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect archive settings, organization memberships, permissions and recent pushes.
  2. Archive the repository or lock write access with audited exception handling.
  3. Recover the intended commit using the recorded reflog SHA and a safe new branch.
  4. Inspect historical blobs, generated folders, .gitignore rules and clone sizes.
  5. Configure supported sparse checkout or Scalar/partial clone for constrained workflows.

Explanation

Correct Answers

A:

Inspect archive settings, organization memberships, permissions and recent pushes. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Archive the repository or lock write access with audited exception handling. Together they address: Repository lifecycle controls should remove stale rights and enforce appropriate archival state.

B:

Archive the repository or lock write access with audited exception handling. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect archive settings, organization memberships, permissions and recent pushes. Together they address: Repository lifecycle controls should remove stale rights and enforce appropriate archival state.

Incorrect Answers

C:

Recover the intended commit using the recorded reflog SHA and a safe new branch. This concerns a different DevOps situation: A developer accidentally removes an important local commit during an interactive rebase, but it is still reachable from Git reflog. This case instead requires both a targeted investigation (Inspect archive settings, organization memberships, permissions and recent pushes.) and a controlled change (Archive the repository or lock write access with audited exception handling.).

D:

Inspect historical blobs, generated folders,.gitignore rules and clone sizes. This concerns a different DevOps situation: A project accidentally committed generated build outputs and its repository history grew by several gigabytes. This case instead requires both a targeted investigation (Inspect archive settings, organization memberships, permissions and recent pushes.) and a controlled change (Archive the repository or lock write access with audited exception handling.).

E:

Configure supported sparse checkout or Scalar/partial clone for constrained workflows. This concerns a different DevOps situation: A developer needs one service from a huge monorepo, but each checkout transfers every unrelated project and binary. This case instead requires both a targeted investigation (Inspect archive settings, organization memberships, permissions and recent pushes.) and a controlled change (Archive the repository or lock write access with audited exception handling.).

Question 670

Before changing the pipeline or service, engineers find: A build dashboard reports 100% passing tests by excluding quarantined integration suites without disclosing the exclusions. Which evidence should the engineer inspect FIRST?

  1. Review service classifications, deployment events, reliability targets and cohort selection.
  2. Review pipeline test publications, excluded suites, flaky test logs and quality thresholds.
  3. Inspect workflow states, audit logs, start-of-work criteria and board queries.
  4. Review incident start, synthetic transaction recovery, customer impact and closure events.

Explanation

Correct Answer

B:

Review pipeline test publications, excluded suites, flaky test logs and quality thresholds. This directly checks the uncertain behavior or control before changing production. Quality dashboards should show scope, omissions and relevant risk alongside pass rates. The resulting targeted action is: Publish excluded and flaky test counts with test trends and actionable owner assignments.

Incorrect Answers

A:

Review service classifications, deployment events, reliability targets and cohort selection. 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 evidence is: Review pipeline test publications, excluded suites, flaky test logs and quality thresholds. The crucial distinction is: Quality dashboards should show scope, omissions and relevant risk alongside pass rates.

C:

Inspect workflow states, audit logs, start-of-work criteria and board queries. 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 evidence is: Review pipeline test publications, excluded suites, flaky test logs and quality thresholds. The crucial distinction is: Quality dashboards should show scope, omissions and relevant risk alongside pass rates.

D:

Review incident start, synthetic transaction recovery, customer impact and closure events. 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 evidence is: Review pipeline test publications, excluded suites, flaky test logs and quality thresholds. The crucial distinction is: Quality dashboards should show scope, omissions and relevant risk alongside pass rates.

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