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 13

Question 120

Before changing the pipeline or service, engineers find: After migrating to YAML, a production release skips mandatory human approval that existed in a classic release stage. Which evidence should the engineer inspect FIRST?

  1. Inventory classic tasks, approvals, variables, environments and artifact inputs.
  2. Compare classic stage approvals with YAML environment checks and service-connection authorization.
  3. Inspect output variables, task logs, masking controls and newly added debug flags.
  4. Inspect retention defaults, legal requirements, approval records and storage cost.

Explanation

Correct Answer

B:

Compare classic stage approvals with YAML environment checks and service-connection authorization. This directly checks the uncertain behavior or control before changing production. Migration must preserve policy-enforced approvals through supported protected resources. The resulting targeted action is: Configure environment-level approvals and checks outside untrusted YAML modification paths.

Incorrect Answers

A:

Inventory classic tasks, approvals, variables, environments and artifact inputs. This would address a different situation, such as: A legacy classic Azure Release pipeline hides deployment steps in the UI and new teams cannot peer-review changes. In the present case, the most directly relevant evidence is: Compare classic stage approvals with YAML environment checks and service-connection authorization. The crucial distinction is: Migration must preserve policy-enforced approvals through supported protected resources.

C:

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: Compare classic stage approvals with YAML environment checks and service-connection authorization. The crucial distinction is: Migration must preserve policy-enforced approvals through supported protected resources.

D:

Inspect retention defaults, legal requirements, approval records and storage cost. This would address a different situation, such as: An organization deletes pipeline logs within a day even though deployment approvals must be auditable for a year. In the present case, the most directly relevant evidence is: Compare classic stage approvals with YAML environment checks and service-connection authorization. The crucial distinction is: Migration must preserve policy-enforced approvals through supported protected resources.

Question 121

A Microsoft DevOps team is addressing: A release build uses a mutable tag name that engineers can retarget to a different unreviewed commit. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect file types, object sizes, clone profiles and LFS availability.
  2. Protect release tags and record immutable commit or artifact digests in release manifests.
  3. Inspect archive settings, organization memberships, permissions and recent pushes.
  4. Pin the submodule to an approved commit and update it through reviewed changes.
  5. Inspect tag protection rules, release digests and commit-signature requirements.

Explanation

Correct Answers

B:

Protect release tags and record immutable commit or artifact digests in release manifests. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect tag protection rules, release digests and commit-signature requirements. Together they address: Release references must be protected or cryptographically verified to preserve provenance.

E:

Inspect tag protection rules, release digests and commit-signature requirements. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Protect release tags and record immutable commit or artifact digests in release manifests. Together they address: Release references must be protected or cryptographically verified to preserve provenance.

Incorrect Answers

A:

Inspect file types, object sizes, clone profiles and LFS availability. This concerns a different DevOps situation: Designers repeatedly commit multi-gigabyte video assets as normal Git blobs and cloning takes hours. This case instead requires both a targeted investigation (Inspect tag protection rules, release digests and commit-signature requirements.) and a controlled change (Protect release tags and record immutable commit or artifact digests in release manifests.).

C:

Inspect archive settings, organization memberships, permissions and recent pushes. This concerns a different DevOps situation: An archived security-sensitive repository remains writable by former project members and receives unreviewed commits. This case instead requires both a targeted investigation (Inspect tag protection rules, release digests and commit-signature requirements.) and a controlled change (Protect release tags and record immutable commit or artifact digests in release manifests.).

D:

Pin the submodule to an approved commit and update it through reviewed changes. This concerns a different DevOps situation: A build references a Git submodule by moving branch and occasionally acquires incompatible dependency changes. This case instead requires both a targeted investigation (Inspect tag protection rules, release digests and commit-signature requirements.) and a controlled change (Protect release tags and record immutable commit or artifact digests in release manifests.).

Question 122

The DevOps team must resolve this situation: A production stage sometimes downloads an artifact from a different branch due to an ambiguous pipeline resource definition. Which engineering action is MOST appropriate?

  1. Configure environment-level approvals and checks outside untrusted YAML modification paths.
  2. Report approval wait separately and optimize only the relevant bottleneck.
  3. Pin or govern the consumed artifact to the approved pipeline run and branch.
  4. Migrate to workload identity federation or controlled rotation with alerting.

Explanation

Correct Answer

C:

Pin or govern the consumed artifact to the approved pipeline run and branch. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A production run uses exactly the tested artifact regardless of newer branch builds. Pipeline resource references should bind to intended verified source and build run.

Incorrect Answers

A:

Configure environment-level approvals and checks outside untrusted YAML modification paths. 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 engineering action is: Pin or govern the consumed artifact to the approved pipeline run and branch. The crucial distinction is: Pipeline resource references should bind to intended verified source and build run.

B:

Report approval wait separately and optimize only the relevant bottleneck. 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 engineering action is: Pin or govern the consumed artifact to the approved pipeline run and branch. The crucial distinction is: Pipeline resource references should bind to intended verified source and build run.

D:

Migrate to workload identity federation or controlled rotation with alerting. 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 engineering action is: Pin or govern the consumed artifact to the approved pipeline run and branch. The crucial distinction is: Pipeline resource references should bind to intended verified source and build run.

Question 123

Before changing the pipeline or service, engineers find: A platform team thinks an Azure Policy Audit effect blocks deployment of unencrypted storage, but noncompliant accounts continue being created. Which evidence should the engineer inspect FIRST?

  1. Inspect backend settings, state access policy, encryption and concurrent writes.
  2. Inspect policy assignment parameters, effect, scope and compliance states.
  3. Inspect environment definitions, project catalog, role assignments and teardown process.
  4. Inspect existing VNet templates, module interfaces, policy results and configuration drift.

Explanation

Correct Answer

B:

Inspect policy assignment parameters, effect, scope and compliance states. This directly checks the uncertain behavior or control before changing production. Policy effects differ between reporting and preventive enforcement. The resulting targeted action is: Use a reviewed Deny policy where prevention is required and remediate existing noncompliance separately.

Incorrect Answers

A:

Inspect backend settings, state access policy, encryption and concurrent writes. This would address a different situation, such as: A Terraform workflow stores its state file in an unencrypted shared file share accessible to all developers. In the present case, the most directly relevant evidence is: Inspect policy assignment parameters, effect, scope and compliance states. The crucial distinction is: Policy effects differ between reporting and preventive enforcement.

C:

Inspect environment definitions, project catalog, role assignments and teardown process. 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 evidence is: Inspect policy assignment parameters, effect, scope and compliance states. The crucial distinction is: Policy effects differ between reporting and preventive enforcement.

D:

Inspect existing VNet templates, module interfaces, policy results and configuration drift. This would address a different situation, such as: Six teams manually create nearly identical VNets with inconsistent NSG defaults and missing diagnostics. In the present case, the most directly relevant evidence is: Inspect policy assignment parameters, effect, scope and compliance states. The crucial distinction is: Policy effects differ between reporting and preventive enforcement.

Question 124

An Azure DevOps engineering team evaluates this condition: A pipeline script prints a test failure but exits with zero, leaving no test results visible in Azure Pipelines. Which DevOps principle BEST explains the underlying weakness?

  1. CI test reporting must propagate failure status and publish actionable test results.
  2. Database deployment tests should validate backward compatibility throughout rollout.
  3. Consumer contract tests should detect interface-breaking changes before coordinated release.
  4. Release validation should test critical business journeys rather than only process liveness.

Explanation

Correct Answer

A:

CI test reporting must propagate failure status and publish actionable test results. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Review process exit codes, PublishTestResults task settings and test XML files. An appropriate controlled response is: Correct failure handling and publish supported JUnit/TRX results with fail-on-test-failure behavior.

Incorrect Answers

B:

Database deployment tests should validate backward compatibility throughout rollout. This would address a different situation, such as: A release adds a non-null column while old and new application versions temporarily operate together. In the present case, the most directly relevant principle is: CI test reporting must propagate failure status and publish actionable test results. The crucial distinction is: CI test reporting must propagate failure status and publish actionable test results.

C:

Consumer contract tests should detect interface-breaking changes before coordinated release. This would address a different situation, such as: A microservice changes a JSON field name while a downstream consumer still relies on the old name. In the present case, the most directly relevant principle is: CI test reporting must propagate failure status and publish actionable test results. The crucial distinction is: CI test reporting must propagate failure status and publish actionable test results.

D:

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: CI test reporting must propagate failure status and publish actionable test results. The crucial distinction is: CI test reporting must propagate failure status and publish actionable test results.

Question 125

The DevOps team must resolve this situation: A team reports excellent developer experience based only on responses from its three most active maintainers. Which engineering action is MOST appropriate?

  1. Publish excluded and flaky test counts with test trends and actionable owner assignments.
  2. Gather representative developer feedback and combine it with observed flow telemetry.
  3. Define and enforce meaningful Active and Done transitions in the team's process.
  4. Build aging and SLA queries for critical findings with owner and disposition fields.

Explanation

Correct Answer

B:

Gather representative developer feedback and combine it with observed flow telemetry. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: The report states response coverage and captures previously omitted contributor feedback. Process metrics should disclose sampling limitations and actionable qualitative context.

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: Gather representative developer feedback and combine it with observed flow telemetry. The crucial distinction is: Process metrics should disclose sampling limitations and actionable qualitative context.

C:

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: Gather representative developer feedback and combine it with observed flow telemetry. The crucial distinction is: Process metrics should disclose sampling limitations and actionable qualitative context.

D:

Build aging and SLA queries for critical findings with owner and disposition fields. This would address a different situation, such as: A security scorecard shows the total number of alerts but cannot identify overdue critical fixes. In the present case, the most directly relevant engineering action is: Gather representative developer feedback and combine it with observed flow telemetry. The crucial distinction is: Process metrics should disclose sampling limitations and actionable qualitative context.

Question 126

A Microsoft DevOps team is addressing: A team overwrites the same image tag in Azure Container Registry for every build and loses reproducible deployment history. Which TWO complementary actions should be taken? Select TWO answers.

  1. Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access.
  2. Promote and deploy verified image digests with approved version labels.
  3. Inspect ACR manifests, tag mutation rights, deployment records and source mapping.
  4. Compare project version ranges, lockfiles, feed updates and restore output.
  5. Pin the release to the verified pipeline run and immutable artifact identifier.

Explanation

Correct Answers

B:

Promote and deploy verified image digests with approved version labels. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect ACR manifests, tag mutation rights, deployment records and source mapping. Together they address: Release images should be identified by immutable digests or protected version tags.

C:

Inspect ACR manifests, tag mutation rights, deployment records and source mapping. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Promote and deploy verified image digests with approved version labels. Together they address: Release images should be identified by immutable digests or protected version tags.

Incorrect Answers

A:

Publish the CLI as a versioned Azure Artifacts Universal Package with controlled access. This concerns a different DevOps situation: An organization distributes a proprietary CLI as email attachments so engineering teams run inconsistent versions. This case instead requires both a targeted investigation (Inspect ACR manifests, tag mutation rights, deployment records and source mapping.) and a controlled change (Promote and deploy verified image digests with approved version labels.).

D:

Compare project version ranges, lockfiles, feed updates and restore output. This concerns a different DevOps situation: The same Git commit restores different NuGet package versions one week apart and intermittently fails tests. This case instead requires both a targeted investigation (Inspect ACR manifests, tag mutation rights, deployment records and source mapping.) and a controlled change (Promote and deploy verified image digests with approved version labels.).

E:

Pin the release to the verified pipeline run and immutable artifact identifier. This concerns a different DevOps situation: A release pipeline downloads the latest build artifact by name instead of the approved artifact from staging. This case instead requires both a targeted investigation (Inspect ACR manifests, tag mutation rights, deployment records and source mapping.) and a controlled change (Promote and deploy verified image digests with approved version labels.).

Question 127

After implementing the change, the team verifies: A Terraform workflow stores its state file in an unencrypted shared file share accessible to all developers. Which result would BEST demonstrate that the issue is corrected?

  1. A test environment creates approved resources and deprovisions under the policy.
  2. Expired exemptions are surfaced and prohibited deployments resume enforcement.
  3. Unauthorized reads fail and concurrent plans cannot corrupt state.
  4. A test template omission cannot delete an unrelated protected storage resource.

Explanation

Correct Answer

C:

Unauthorized reads fail and concurrent plans cannot corrupt state. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Use secured remote state with least-privilege identity and locking support. IaC state may contain sensitive values and requires protected remote storage and controlled locking.

Incorrect Answers

A:

A test environment creates approved resources and deprovisions under the policy. 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 verification is: Unauthorized reads fail and concurrent plans cannot corrupt state. The crucial distinction is: IaC state may contain sensitive values and requires protected remote storage and controlled locking.

B:

Expired exemptions are surfaced and prohibited deployments resume enforcement. This would address a different situation, such as: A production deployment depends on a time-limited Azure Policy exemption that was never documented or reviewed. In the present case, the most directly relevant verification is: Unauthorized reads fail and concurrent plans cannot corrupt state. The crucial distinction is: IaC state may contain sensitive values and requires protected remote storage and controlled locking.

D:

A test template omission cannot delete an unrelated protected storage resource. This would address a different situation, such as: A deployment pipeline uses complete mode unintentionally and deletes resources omitted from an updated ARM template. In the present case, the most directly relevant verification is: Unauthorized reads fail and concurrent plans cannot corrupt state. The crucial distinction is: IaC state may contain sensitive values and requires protected remote storage and controlled locking.

Question 128

Before changing the pipeline or service, engineers find: A payment workflow completes an HTTP health check but fails after users submit the checkout form. Which evidence should the engineer inspect FIRST?

  1. Inspect parallel execution order, shared fixtures, timing and test retry patterns.
  2. Review prior performance runs, cost metrics, current profile and thresholds.
  3. Inspect schema migration scripts, live app versions, default values and rollback plans.
  4. Inspect browser-test steps, authentication dependencies and failure traces.

Explanation

Correct Answer

D:

Inspect browser-test steps, authentication dependencies and failure traces. This directly checks the uncertain behavior or control before changing production. Release validation should test critical business journeys rather than only process liveness. The resulting targeted action is: Add guarded end-to-end UI tests for checkout and payment confirmation.

Incorrect Answers

A:

Inspect parallel execution order, shared fixtures, timing and test retry patterns. This would address a different situation, such as: A nightly integration suite fails intermittently because test data is shared between parallel jobs. In the present case, the most directly relevant evidence is: Inspect browser-test steps, authentication dependencies and failure traces. The crucial distinction is: Release validation should test critical business journeys rather than only process liveness.

B:

Review prior performance runs, cost metrics, current profile and thresholds. This would address a different situation, such as: An API's new release increases CPU costs by 60%, but the load test reports green because no baseline exists. In the present case, the most directly relevant evidence is: Inspect browser-test steps, authentication dependencies and failure traces. The crucial distinction is: Release validation should test critical business journeys rather than only process liveness.

C:

Inspect schema migration scripts, live app versions, default values and rollback plans. This would address a different situation, such as: A release adds a non-null column while old and new application versions temporarily operate together. In the present case, the most directly relevant evidence is: Inspect browser-test steps, authentication dependencies and failure traces. The crucial distinction is: Release validation should test critical business journeys rather than only process liveness.

Question 129

An Azure DevOps engineering team evaluates this condition: A shopping application logs HTTP failures but does not show which downstream payment call caused the response delay. Which DevOps principle BEST explains the underlying weakness?

  1. Guest memory observability requires supported collection beyond basic host CPU metrics.
  2. Workflow insight metrics should distinguish failed jobs, timing and relevant branches.
  3. Distributed telemetry should correlate requests and dependencies across application boundaries.
  4. Network telemetry should complement application logs to locate connectivity failure.

Explanation

Correct Answer

C:

Distributed telemetry should correlate requests and dependencies across application boundaries. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect Application Insights request/dependency telemetry, correlation IDs and trace configuration. An appropriate controlled response is: Instrument supported Application Insights distributed tracing with context propagation.

Incorrect Answers

A:

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: Distributed telemetry should correlate requests and dependencies across application boundaries. The crucial distinction is: Distributed telemetry should correlate requests and dependencies across application boundaries.

B:

Workflow insight metrics should distinguish failed jobs, timing and relevant branches. 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 principle is: Distributed telemetry should correlate requests and dependencies across application boundaries. The crucial distinction is: Distributed telemetry should correlate requests and dependencies across application boundaries.

D:

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: Distributed telemetry should correlate requests and dependencies across application boundaries. The crucial distinction is: Distributed telemetry should correlate requests and dependencies across application boundaries.

Question 130

A Microsoft DevOps team is addressing: A GitHub self-hosted runner accepts workflows from untrusted forks and shares its workspace with production credentials. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect task output names, stage dependencies and variable references.
  2. Move common steps into approved reusable templates with pinned or governed references.
  3. Inspect repository runner group rules, fork workflow triggers and credential persistence.
  4. Restrict runner access to trusted workflows and use ephemeral isolated runners for sensitive jobs.
  5. Inspect dependsOn, output artifacts, stage conditions and run timelines.

Explanation

Correct Answers

C:

Inspect repository runner group rules, fork workflow triggers and credential persistence. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Restrict runner access to trusted workflows and use ephemeral isolated runners for sensitive jobs. Together they address: Self-hosted runners require trust boundaries and workload-specific isolation.

D:

Restrict runner access to trusted workflows and use ephemeral isolated runners for sensitive jobs. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect repository runner group rules, fork workflow triggers and credential persistence. Together they address: Self-hosted runners require trust boundaries and workload-specific isolation.

Incorrect Answers

A:

Inspect task output names, stage dependencies and variable references. This concerns a different DevOps situation: A downstream stage cannot determine the storage endpoint created by an infrastructure provisioning stage. This case instead requires both a targeted investigation (Inspect repository runner group rules, fork workflow triggers and credential persistence.) and a controlled change (Restrict runner access to trusted workflows and use ephemeral isolated runners for sensitive jobs.).

B:

Move common steps into approved reusable templates with pinned or governed references. This concerns a different DevOps situation: Teams each copy a deployment YAML template and security fixes reach only some repositories. This case instead requires both a targeted investigation (Inspect repository runner group rules, fork workflow triggers and credential persistence.) and a controlled change (Restrict runner access to trusted workflows and use ephemeral isolated runners for sensitive jobs.).

E:

Inspect dependsOn, output artifacts, stage conditions and run timelines. This concerns a different DevOps situation: A deployment stage starts before the packaging stage publishes an artifact because stages are configured independently. This case instead requires both a targeted investigation (Inspect repository runner group rules, fork workflow triggers and credential persistence.) and a controlled change (Restrict runner access to trusted workflows and use ephemeral isolated runners for sensitive jobs.).

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