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 68

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.

Question 671

The DevOps team must resolve this situation: A binary distribution uses open-source dependencies but its release process does not check license obligations. Which engineering action is MOST appropriate?

  1. Add software composition/license policy checks and reviewed exceptions to CI.
  2. Use risk-based triage with owners, remediation SLAs and documented waivers.
  3. Enable supported secret, dependency and code scanning for target Azure Repos repositories.
  4. Connect supported Azure DevOps/GitHub resources to Defender for Cloud DevOps Security.

Explanation

Correct Answer

A:

Add software composition/license policy checks and reviewed exceptions to CI. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A policy-incompatible dependency prevents publication until disposition. Compliance scanning should identify licensing constraints before external software distribution.

Incorrect Answers

B:

Use risk-based triage with owners, remediation SLAs and documented waivers. This would address a different situation, such as: Hundreds of low-severity dependency alerts crowd out a critical exploitable issue in production. In the present case, the most directly relevant engineering action is: Add software composition/license policy checks and reviewed exceptions to CI. The crucial distinction is: Compliance scanning should identify licensing constraints before external software distribution.

C:

Enable supported secret, dependency and code scanning for target Azure Repos repositories. This would address a different situation, such as: An Azure Repos project has GitHub Advanced Security licensed but required code and secret scanning were never enabled for key repos. In the present case, the most directly relevant engineering action is: Add software composition/license policy checks and reviewed exceptions to CI. The crucial distinction is: Compliance scanning should identify licensing constraints before external software distribution.

D:

Connect supported Azure DevOps/GitHub resources to Defender for Cloud DevOps Security. This would address a different situation, such as: Security findings in Azure DevOps repositories never appear in the organization's central Defender for Cloud dashboard. In the present case, the most directly relevant engineering action is: Add software composition/license policy checks and reviewed exceptions to CI. The crucial distinction is: Compliance scanning should identify licensing constraints before external software distribution.

Question 672

An engineering design review identifies: A platform dependency blocks three application teams, but each Azure Boards team tracks a separate unrelated task. Which shortcut should the team MOST specifically avoid for this case?

  1. Use a single generic in-progress label for approvals, tests and deployments.
  2. Treat the work item's Closed state as proof that its code is in production.
  3. Duplicate the same task without linkage in each team's backlog and mark all as independent.
  4. Ask support staff to maintain a private unversioned list of customer complaints.

Explanation

Correct Answer

C:

Duplicate the same task without linkage in each team's backlog and mark all as independent. This shortcut directly undermines the stated control or workflow. A safer action is: Link dependent work items across teams and use delivery plans to visualize blockers. Explanation: Shared delivery dependencies must be visible across team backlogs with responsible ownership.

Incorrect Answers

A:

Use a single generic in-progress label for approvals, tests and deployments. This would address a different situation, such as: A team cannot tell when a pull request is waiting for security approval versus failed tests. In the present case, the most directly relevant unsafe shortcut is: Duplicate the same task without linkage in each team's backlog and mark all as independent. The crucial distinction is: Shared delivery dependencies must be visible across team backlogs with responsible ownership.

B:

Treat the work item's Closed state as proof that its code is in production. This would address a different situation, such as: Azure Boards shows completed user stories, but there is no way to identify the commits and deployments delivering each story. In the present case, the most directly relevant unsafe shortcut is: Duplicate the same task without linkage in each team's backlog and mark all as independent. The crucial distinction is: Shared delivery dependencies must be visible across team backlogs with responsible ownership.

D:

Ask support staff to maintain a private unversioned list of customer complaints. 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 unsafe shortcut is: Duplicate the same task without linkage in each team's backlog and mark all as independent. The crucial distinction is: Shared delivery dependencies must be visible across team backlogs with responsible ownership.

Question 673

After implementing the change, the team verifies: An automation bot uses a maintainer's all-repository personal access token to comment on pull requests. Which result would BEST demonstrate that the issue is corrected?

  1. The app posts required status comments but cannot access unauthorized repositories.
  2. The auditor views the specified repo but cannot inspect unrelated private repositories.
  3. An untrusted pipeline cannot use the production connection while approved release works.
  4. The app accesses its authorized container after the account key is revoked.

Explanation

Correct Answer

A:

The app posts required status comments but cannot access unauthorized repositories. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Use a GitHub App with minimal repository permissions for the workflow. App-based automation can use narrow installation permissions and accountable identity.

Incorrect Answers

B:

The auditor views the specified repo but cannot inspect unrelated private repositories. This would address a different situation, such as: An external auditor needs read access to one private repository, but is added as an owner of the whole organization. In the present case, the most directly relevant verification is: The app posts required status comments but cannot access unauthorized repositories. The crucial distinction is: App-based automation can use narrow installation permissions and accountable identity.

C:

An untrusted pipeline cannot use the production connection while approved release works. This would address a different situation, such as: An Azure DevOps deployment service connection is authorized for all pipelines, including untrusted test definitions. In the present case, the most directly relevant verification is: The app posts required status comments but cannot access unauthorized repositories. The crucial distinction is: App-based automation can use narrow installation permissions and accountable identity.

D:

The app accesses its authorized container after the account key is revoked. This would address a different situation, such as: An App Service accesses Azure Storage using a connection string containing an account key in source control. In the present case, the most directly relevant verification is: The app posts required status comments but cannot access unauthorized repositories. The crucial distinction is: App-based automation can use narrow installation permissions and accountable identity.

Question 674

Before changing the pipeline or service, engineers find: A web application must deploy without interruption, but direct production updates restart every active instance. Which evidence should the engineer inspect FIRST?

  1. Inspect incident severity, release branch plan, mandatory checks and approver availability.
  2. Review component versions, release dependencies, API contracts and pipeline stage graph.
  3. Inspect Key Vault references, version transitions, rotation timing and runtime caches.
  4. Inspect slot configuration, sticky settings, warmup endpoints and swap history.

Explanation

Correct Answer

D:

Inspect slot configuration, sticky settings, warmup endpoints and swap history. This directly checks the uncertain behavior or control before changing production. Deployment slots support staged verification and controlled production swaps where supported. The resulting targeted action is: Deploy the candidate to a staging slot, validate health, then perform a controlled swap.

Incorrect Answers

A:

Inspect incident severity, release branch plan, mandatory checks and approver availability. This would address a different situation, such as: A security vulnerability needs same-day correction but the organization’s normal three-week release train blocks all fixes. In the present case, the most directly relevant evidence is: Inspect slot configuration, sticky settings, warmup endpoints and swap history. The crucial distinction is: Deployment slots support staged verification and controlled production swaps where supported.

B:

Review component versions, release dependencies, API contracts and pipeline stage graph. This would address a different situation, such as: A frontend release calls an API endpoint introduced only by a backend deployment scheduled later, breaking all sessions. In the present case, the most directly relevant evidence is: Inspect slot configuration, sticky settings, warmup endpoints and swap history. The crucial distinction is: Deployment slots support staged verification and controlled production swaps where supported.

C:

Inspect Key Vault references, version transitions, rotation timing and runtime caches. This would address a different situation, such as: A production release references an unversioned shared secret and breaks when a different team rotates it mid-deployment. In the present case, the most directly relevant evidence is: Inspect slot configuration, sticky settings, warmup endpoints and swap history. The crucial distinction is: Deployment slots support staged verification and controlled production swaps where supported.

Question 675

After implementing the change, the team verifies: A Terraform pipeline applies a production plan without showing that a changed resource will be destroyed. Which result would BEST demonstrate that the issue is corrected?

  1. A rehearsal keeps the user journey working throughout both component deployments.
  2. A comparison can attribute a measured difference to the controlled feature variant.
  3. The feature remains off for ordinary users until a governed activation occurs.
  4. An unintended destroy action blocks execution until authorized disposition.

Explanation

Correct Answer

D:

An unintended destroy action blocks execution until authorized disposition. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Publish a reviewed Terraform plan and apply the exact approved plan under controls. Infrastructure deployment should preview and approve material changes before applying.

Incorrect Answers

A:

A rehearsal keeps the user journey working throughout both component deployments. This would address a different situation, such as: A frontend release calls an API endpoint introduced only by a backend deployment scheduled later, breaking all sessions. In the present case, the most directly relevant verification is: An unintended destroy action blocks execution until authorized disposition. The crucial distinction is: Infrastructure deployment should preview and approve material changes before applying.

B:

A comparison can attribute a measured difference to the controlled feature variant. This would address a different situation, such as: Two user interface variants are shown, but the team changes both pricing logic and checkout latency simultaneously and cannot attribute outcomes. In the present case, the most directly relevant verification is: An unintended destroy action blocks execution until authorized disposition. The crucial distinction is: Infrastructure deployment should preview and approve material changes before applying.

C:

The feature remains off for ordinary users until a governed activation occurs. This would address a different situation, such as: A half-finished payment feature accidentally activates immediately when its code merges into main. In the present case, the most directly relevant verification is: An unintended destroy action blocks execution until authorized disposition. The crucial distinction is: Infrastructure deployment should preview and approve material changes before applying.

Question 676

The DevOps team must resolve this situation: A GitHub Actions release stores a long-lived Azure service principal password in repository secrets for every deployment. Which engineering action is MOST appropriate?

  1. Move common steps into approved reusable templates with pinned or governed references.
  2. Migrate the service connection to supported workload identity federation with scoped access.
  3. Configure trusted GitHub OIDC federation and least-privilege Azure roles for the deployment.
  4. Limit production deployment to permitted protected refs and validated build artifacts.

Explanation

Correct Answer

C:

Configure trusted GitHub OIDC federation and least-privilege Azure roles for the deployment. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A production deployment succeeds with a short-lived token and no stored client secret. Workload identity federation reduces dependence on persistent credentials for Azure deployment.

Incorrect Answers

A:

Move common steps into approved reusable templates with pinned or governed references. This would address a different situation, such as: Teams each copy a deployment YAML template and security fixes reach only some repositories. In the present case, the most directly relevant engineering action is: Configure trusted GitHub OIDC federation and least-privilege Azure roles for the deployment. The crucial distinction is: Workload identity federation reduces dependence on persistent credentials for Azure deployment.

B:

Migrate the service connection to supported workload identity federation with scoped access. 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 engineering action is: Configure trusted GitHub OIDC federation and least-privilege Azure roles for the deployment. The crucial distinction is: Workload identity federation reduces dependence on persistent credentials for Azure deployment.

D:

Limit production deployment to permitted protected refs and validated build artifacts. This would address a different situation, such as: A deployment pipeline runs on feature-branch pushes despite a policy requiring releases only from protected main. In the present case, the most directly relevant engineering action is: Configure trusted GitHub OIDC federation and least-privilege Azure roles for the deployment. The crucial distinction is: Workload identity federation reduces dependence on persistent credentials for Azure deployment.

Question 677

After implementing the change, the team verifies: A shared Bicep deployment creates a new Log Analytics workspace on each run due to non-deterministic resource names. Which result would BEST demonstrate that the issue is corrected?

  1. A new prohibited test storage deployment is rejected while approved configurations succeed.
  2. Running the same deployment twice produces no duplicate workspaces.
  3. Two new applications deploy consistent approved network controls from the shared module.
  4. A test environment creates approved resources and deprovisions under the policy.

Explanation

Correct Answer

B:

Running the same deployment twice produces no duplicate workspaces. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Use deterministic names and scope-aware existing resource references. Declarative deployments should converge to consistent named resources across repeated runs.

Incorrect Answers

A:

A new prohibited test storage deployment is rejected while approved configurations succeed. This would address a different situation, such as: A platform team thinks an Azure Policy Audit effect blocks deployment of unencrypted storage, but noncompliant accounts continue being created. In the present case, the most directly relevant verification is: Running the same deployment twice produces no duplicate workspaces. The crucial distinction is: Declarative deployments should converge to consistent named resources across repeated runs.

C:

Two new applications deploy consistent approved network controls from the shared module. 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 verification is: Running the same deployment twice produces no duplicate workspaces. The crucial distinction is: Declarative deployments should converge to consistent named resources across repeated runs.

D:

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: Running the same deployment twice produces no duplicate workspaces. The crucial distinction is: Declarative deployments should converge to consistent named resources across repeated runs.

Question 678

Before changing the pipeline or service, engineers find: A new AKS container image may affect payments, but the team wants to limit customer exposure during rollout. Which evidence should the engineer inspect FIRST?

  1. Inspect endpoint groups, telemetry, rollout schedule and early-ring feedback.
  2. Inspect ingress traffic splitting, pod health, business error metrics and rollback triggers.
  3. Inspect generated plan actions, state lock, resource dependencies and change policy.
  4. Inspect incident severity, release branch plan, mandatory checks and approver availability.

Explanation

Correct Answer

B:

Inspect ingress traffic splitting, pod health, business error metrics and rollback triggers. This directly checks the uncertain behavior or control before changing production. Canary deployments reduce blast radius by validating a small traffic share first. The resulting targeted action is: Route a bounded canary share to new pods and expand only after acceptance checks.

Incorrect Answers

A:

Inspect endpoint groups, telemetry, rollout schedule and early-ring feedback. This would address a different situation, such as: A desktop client update is rolled out to every employee globally at the same moment, causing a widespread outage. In the present case, the most directly relevant evidence is: Inspect ingress traffic splitting, pod health, business error metrics and rollback triggers. The crucial distinction is: Canary deployments reduce blast radius by validating a small traffic share first.

C:

Inspect generated plan actions, state lock, resource dependencies and change policy. This would address a different situation, such as: A Terraform pipeline applies a production plan without showing that a changed resource will be destroyed. In the present case, the most directly relevant evidence is: Inspect ingress traffic splitting, pod health, business error metrics and rollback triggers. The crucial distinction is: Canary deployments reduce blast radius by validating a small traffic share first.

D:

Inspect incident severity, release branch plan, mandatory checks and approver availability. This would address a different situation, such as: A security vulnerability needs same-day correction but the organization’s normal three-week release train blocks all fixes. In the present case, the most directly relevant evidence is: Inspect ingress traffic splitting, pod health, business error metrics and rollback triggers. The crucial distinction is: Canary deployments reduce blast radius by validating a small traffic share first.

Question 679

Before changing the pipeline or service, engineers find: Developers need consistent temporary test environments, but each manually provisions expensive subscriptions and forgets cleanup. Which evidence should the engineer inspect FIRST?

  1. Inspect Azure what-if operations, storage data dependency, naming constraints and resource references.
  2. Review image digest provenance, deployment parameters and environment history.
  3. Compare YAML and Bicep modules, probes, managed identity choices and review history.
  4. Inspect environment definitions, project catalog, role assignments and teardown process.

Explanation

Correct Answer

D:

Inspect environment definitions, project catalog, role assignments and teardown process. This directly checks the uncertain behavior or control before changing production. Self-service environment catalogs can standardize provisioning and lifecycle governance. The resulting targeted action is: Publish approved Azure Deployment Environments definitions with scoped self-service and expiration.

Incorrect Answers

A:

Inspect Azure what-if operations, storage data dependency, naming constraints and resource references. This would address a different situation, such as: A refactor changes a storage account name while the pipeline applies it directly to production. In the present case, the most directly relevant evidence is: Inspect environment definitions, project catalog, role assignments and teardown process. The crucial distinction is: Self-service environment catalogs can standardize provisioning and lifecycle governance.

B:

Review image digest provenance, deployment parameters and environment history. 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 evidence is: Inspect environment definitions, project catalog, role assignments and teardown process. The crucial distinction is: Self-service environment catalogs can standardize provisioning and lifecycle governance.

C:

Compare YAML and Bicep modules, probes, managed identity choices and review history. 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 evidence is: Inspect environment definitions, project catalog, role assignments and teardown process. The crucial distinction is: Self-service environment catalogs can standardize provisioning and lifecycle governance.

Question 680

Before changing the pipeline or service, engineers find: Production pipeline deployments fail overnight, but engineers notice only when checking the Azure DevOps portal the next morning. Which evidence should the engineer inspect FIRST?

  1. Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership.
  2. Inspect Application Insights request/dependency telemetry, correlation IDs and trace configuration.
  3. Inspect VM agent health, DCR association, scope, endpoint and ingestion diagnostics.
  4. Inspect GitHub Actions run history, job timing, failure causes and usage trends.

Explanation

Correct Answer

A:

Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership. This directly checks the uncertain behavior or control before changing production. Operational monitoring should route significant pipeline failures to accountable responders. The resulting targeted action is: Configure monitored failure notifications and an actionable operations escalation path.

Incorrect Answers

B:

Inspect Application Insights request/dependency telemetry, correlation IDs and trace configuration. This would address a different situation, such as: A shopping application logs HTTP failures but does not show which downstream payment call caused the response delay. In the present case, the most directly relevant evidence is: Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership. The crucial distinction is: Operational monitoring should route significant pipeline failures to accountable responders.

C:

Inspect VM agent health, DCR association, scope, endpoint and ingestion diagnostics. 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 evidence is: Inspect Azure Pipelines notifications, Azure Monitor integration, event routing and team ownership. The crucial distinction is: Operational monitoring should route significant pipeline failures to accountable responders.

D:

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 Pipelines notifications, Azure Monitor integration, event routing and team ownership. The crucial distinction is: Operational monitoring should route significant pipeline failures to accountable responders.

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