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 9

Question 80

The DevOps team must resolve this situation: A package registry is scheduled for migration, but retired feeds still contain dependencies used by maintained builds. Which engineering action is MOST appropriate?

  1. Mirror or migrate required immutable package versions before switching consumers.
  2. Assign accountable pipeline owners and route critical failures to current responders.
  3. Migrate to workload identity federation or controlled rotation with alerting.
  4. Report approval wait separately and optimize only the relevant bottleneck.

Explanation

Correct Answer

A:

Mirror or migrate required immutable package versions before switching consumers. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: Maintained releases build correctly after old feed access is withdrawn. Pipeline migration must account for external dependencies and supported retention.

Incorrect Answers

B:

Assign accountable pipeline owners and route critical failures to current responders. This would address a different situation, such as: A pipeline reports repeated deployment failures but no team receives notifications because the original owner left the company. In the present case, the most directly relevant engineering action is: Mirror or migrate required immutable package versions before switching consumers. The crucial distinction is: Pipeline migration must account for external dependencies and supported retention.

C:

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: Mirror or migrate required immutable package versions before switching consumers. The crucial distinction is: Pipeline migration must account for external dependencies and supported retention.

D:

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: Mirror or migrate required immutable package versions before switching consumers. The crucial distinction is: Pipeline migration must account for external dependencies and supported retention.

Question 81

After implementing the change, the team verifies: New engineers misread a multi-stage release dependency diagram because process documentation uses an obsolete screenshot. Which result would BEST demonstrate that the issue is corrected?

  1. A proposed architecture revision requires review and preserves earlier decision history.
  2. A sample published API description matches the deployed response schema.
  3. A pipeline stage change triggers corresponding diagram review and accurate dependency display.
  4. Repeated delivery of the same event results in one linked change ticket.

Explanation

Correct Answer

C:

A pipeline stage change triggers corresponding diagram review and accurate dependency display. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Maintain a reviewed Mermaid diagram generated or updated alongside pipeline changes. Diagrams should reflect executable workflow dependencies and be maintainable with source.

Incorrect Answers

A:

A proposed architecture revision requires review and preserves earlier decision history. 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 verification is: A pipeline stage change triggers corresponding diagram review and accurate dependency display. The crucial distinction is: Diagrams should reflect executable workflow dependencies and be maintainable with source.

B:

A sample published API description matches the deployed response schema. This would address a different situation, such as: A versioned REST API deploys successfully but its consumer documentation still lists removed fields. In the present case, the most directly relevant verification is: A pipeline stage change triggers corresponding diagram review and accurate dependency display. The crucial distinction is: Diagrams should reflect executable workflow dependencies and be maintainable with source.

D:

Repeated delivery of the same event results in one linked change ticket. This would address a different situation, such as: An Azure DevOps webhook creates duplicate change tickets whenever the receiving service retries a timeout. In the present case, the most directly relevant verification is: A pipeline stage change triggers corresponding diagram review and accurate dependency display. The crucial distinction is: Diagrams should reflect executable workflow dependencies and be maintainable with source.

Question 82

A Microsoft DevOps team is addressing: A downstream stage cannot determine the storage endpoint created by an infrastructure provisioning stage. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect GitHub workflow permissions, Entra federated identity credentials, scopes and token audience.
  2. Inspect endpoint authorization, service principal federation subject and Azure RBAC scope.
  3. Emit a named output variable and consume it through the appropriate dependency expression.
  4. Deploy a governed self-hosted Azure Pipelines agent with controlled network connectivity.
  5. Inspect task output names, stage dependencies and variable references.

Explanation

Correct Answers

C:

Emit a named output variable and consume it through the appropriate dependency expression. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect task output names, stage dependencies and variable references. Together they address: Cross-stage values must be explicitly published and referenced through supported output syntax.

E:

Inspect task output names, stage dependencies and variable references. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Emit a named output variable and consume it through the appropriate dependency expression. Together they address: Cross-stage values must be explicitly published and referenced through supported output syntax.

Incorrect Answers

A:

Inspect GitHub workflow permissions, Entra federated identity credentials, scopes and token audience. This concerns a different DevOps situation: A GitHub Actions release stores a long-lived Azure service principal password in repository secrets for every deployment. This case instead requires both a targeted investigation (Inspect task output names, stage dependencies and variable references.) and a controlled change (Emit a named output variable and consume it through the appropriate dependency expression.).

B:

Inspect endpoint authorization, service principal federation subject and Azure RBAC scope. This concerns a different DevOps situation: An Azure DevOps pipeline's Azure Resource Manager service connection fails each quarter when its client secret expires. This case instead requires both a targeted investigation (Inspect task output names, stage dependencies and variable references.) and a controlled change (Emit a named output variable and consume it through the appropriate dependency expression.).

D:

Deploy a governed self-hosted Azure Pipelines agent with controlled network connectivity. This concerns a different DevOps situation: A build must reach private package infrastructure inaccessible from Microsoft-hosted agents. This case instead requires both a targeted investigation (Inspect task output names, stage dependencies and variable references.) and a controlled change (Emit a named output variable and consume it through the appropriate dependency expression.).

Question 83

After implementing the change, the team verifies: A cross-platform CLI is built only on Windows and fails later when customers run it on Linux. Which result would BEST demonstrate that the issue is corrected?

  1. A shared security fix is adopted through a reviewed template update in each consumer.
  2. A sample GitHub pull request launches a traceable Azure Pipeline check.
  3. A deliberately Linux-only failure is detected before package publication.
  4. A production deployment succeeds with a short-lived token and no stored client secret.

Explanation

Correct Answer

C:

A deliberately Linux-only failure is detected before package publication. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Create a controlled matrix over required operating systems and runtime versions. Matrix job strategies can validate supported platforms from one pipeline definition.

Incorrect Answers

A:

A shared security fix is adopted through a reviewed template update in each consumer. 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 verification is: A deliberately Linux-only failure is detected before package publication. The crucial distinction is: Matrix job strategies can validate supported platforms from one pipeline definition.

B:

A sample GitHub pull request launches a traceable Azure Pipeline check. This would address a different situation, such as: An Azure DevOps pipeline uses a GitHub repository but cannot run pull-request validation because its repository connection is misconfigured. In the present case, the most directly relevant verification is: A deliberately Linux-only failure is detected before package publication. The crucial distinction is: Matrix job strategies can validate supported platforms from one pipeline definition.

D:

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 deliberately Linux-only failure is detected before package publication. The crucial distinction is: Matrix job strategies can validate supported platforms from one pipeline definition.

Question 84

After implementing the change, the team verifies: A package feed cannot install vetted public dependencies during a disconnected corporate build unless developers manually copy files. Which result would BEST demonstrate that the issue is corrected?

  1. A fresh workflow installs the private package without a long-lived personal token.
  2. A clean hosted agent resolves the approved package without a developer workstation.
  3. A historic production release resolves to its original image content.
  4. A verified public package version resolves through the governed feed after initial caching.

Explanation

Correct Answer

D:

A verified public package version resolves through the governed feed after initial caching. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Configure an approved upstream source and appropriate package permissions in Azure Artifacts. Upstream sources can cache approved public dependencies through controlled feeds.

Incorrect Answers

A:

A fresh workflow installs the private package without a long-lived personal token. This would address a different situation, such as: A GitHub Actions workflow receives 403 when installing a private package owned by another organization repository. In the present case, the most directly relevant verification is: A verified public package version resolves through the governed feed after initial caching. The crucial distinction is: Upstream sources can cache approved public dependencies through controlled feeds.

B:

A clean hosted agent resolves the approved package without a developer workstation. This would address a different situation, such as: A.NET service pulls internal NuGet libraries from a developer laptop because no shared feed exists. In the present case, the most directly relevant verification is: A verified public package version resolves through the governed feed after initial caching. The crucial distinction is: Upstream sources can cache approved public dependencies through controlled feeds.

C:

A historic production release resolves to its original image content. This would address a different situation, such as: A team overwrites the same image tag in Azure Container Registry for every build and loses reproducible deployment history. In the present case, the most directly relevant verification is: A verified public package version resolves through the governed feed after initial caching. The crucial distinction is: Upstream sources can cache approved public dependencies through controlled feeds.

Question 85

Before changing the pipeline or service, engineers find: Operators modify a production firewall directly, but the Terraform plan assumes its prior values remain in place. Which evidence should the engineer inspect FIRST?

  1. Inspect existing VNet templates, module interfaces, policy results and configuration drift.
  2. Inspect resource references, role assignments, provisioning order and propagation behavior.
  3. Inspect environment definitions, project catalog, role assignments and teardown process.
  4. Inspect provider refresh results, plan drift and authorized manual changes.

Explanation

Correct Answer

D:

Inspect provider refresh results, plan drift and authorized manual changes. This directly checks the uncertain behavior or control before changing production. Desired state must be reconciled with real infrastructure before applying further changes. The resulting targeted action is: Run governed drift detection and reconcile approved changes through IaC.

Incorrect Answers

A:

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 provider refresh results, plan drift and authorized manual changes. The crucial distinction is: Desired state must be reconciled with real infrastructure before applying further changes.

B:

Inspect resource references, role assignments, provisioning order and propagation behavior. This would address a different situation, such as: A Bicep deployment creates an application before the required Key Vault access is effective, causing startup failures. In the present case, the most directly relevant evidence is: Inspect provider refresh results, plan drift and authorized manual changes. The crucial distinction is: Desired state must be reconciled with real infrastructure before applying further changes.

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 provider refresh results, plan drift and authorized manual changes. The crucial distinction is: Desired state must be reconciled with real infrastructure before applying further changes.

Question 86

The DevOps team must resolve this situation: Engineers create temporary load-test environments manually but never remove costly public IP addresses. Which engineering action is MOST appropriate?

  1. Provision short-lived sandbox environments through approved IaC with automatic expiration.
  2. Create a governed scoped exemption with an owner and expiry or redesign for compliance.
  3. Review the legacy DSC setup and plan a supported configuration management transition or remediation.
  4. Run Bicep validation and reviewed security rules with blocking policy for critical findings.

Explanation

Correct Answer

A:

Provision short-lived sandbox environments through approved IaC with automatic expiration. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A completed test leaves no unauthorized residual billable resources. Ephemeral environments need automated lifecycle, cost and access controls.

Incorrect Answers

B:

Create a governed scoped exemption with an owner and expiry or redesign for compliance. 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 engineering action is: Provision short-lived sandbox environments through approved IaC with automatic expiration. The crucial distinction is: Ephemeral environments need automated lifecycle, cost and access controls.

C:

Review the legacy DSC setup and plan a supported configuration management transition or remediation. This would address a different situation, such as: A legacy fleet uses Azure Automation State Configuration but receives no reliable reports of drift or node registration. In the present case, the most directly relevant engineering action is: Provision short-lived sandbox environments through approved IaC with automatic expiration. The crucial distinction is: Ephemeral environments need automated lifecycle, cost and access controls.

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: Provision short-lived sandbox environments through approved IaC with automatic expiration. The crucial distinction is: Ephemeral environments need automated lifecycle, cost and access controls.

Question 87

After implementing the change, the team verifies: An Azure Functions staging slot unexpectedly processes production queue messages before its swap because a trigger configuration was not isolated. Which result would BEST demonstrate that the issue is corrected?

  1. A staged function validates safely without consuming production messages.
  2. A deliberately invalid chart cannot leave the cluster on an unapproved broken release.
  3. The feature remains off for ordinary users until a governed activation occurs.
  4. The test cohort receives the new flow while excluded users retain the original flow.

Explanation

Correct Answer

A:

A staged function validates safely without consuming production messages. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Use slot-sticky settings and suppress staging triggers until explicitly authorized. Slot deployment must isolate environment-specific connection and trigger settings.

Incorrect Answers

B:

A deliberately invalid chart cannot leave the cluster on an unapproved broken release. This would address a different situation, such as: An AKS Helm upgrade fails after rendering a misconfigured resource, leaving pods partially updated. In the present case, the most directly relevant verification is: A staged function validates safely without consuming production messages. The crucial distinction is: Slot deployment must isolate environment-specific connection and trigger settings.

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: A staged function validates safely without consuming production messages. The crucial distinction is: Slot deployment must isolate environment-specific connection and trigger settings.

D:

The test cohort receives the new flow while excluded users retain the original flow. This would address a different situation, such as: A retailer wants to expose a new checkout feature to 5% of customers but its current flag is on or off for everyone. In the present case, the most directly relevant verification is: A staged function validates safely without consuming production messages. The crucial distinction is: Slot deployment must isolate environment-specific connection and trigger settings.

Question 88

An Azure DevOps engineering team evaluates this condition: A container image with a known critical vulnerability passes all unit tests and is promoted to production. Which DevOps principle BEST explains the underlying weakness?

  1. Performance testing should compare measured changes against approved regression budgets.
  2. Integration tests must exercise representative dependent services and configuration.
  3. Unit test gates should complete successfully against the proposed change before merge.
  4. Security policy gates should prevent release of unapproved critical vulnerabilities.

Explanation

Correct Answer

D:

Security policy gates should prevent release of unapproved critical vulnerabilities. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Review image scan findings, severity exceptions, release checks and provenance. An appropriate controlled response is: Add a risk-based container vulnerability scan gate before deployment approval.

Incorrect Answers

A:

Performance testing should compare measured changes against approved regression budgets. 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 principle is: Security policy gates should prevent release of unapproved critical vulnerabilities. The crucial distinction is: Security policy gates should prevent release of unapproved critical vulnerabilities.

B:

Integration tests must exercise representative dependent services and configuration. This would address a different situation, such as: Service unit tests pass but integration fails because Azure SQL connectivity differs between staging and production. In the present case, the most directly relevant principle is: Security policy gates should prevent release of unapproved critical vulnerabilities. The crucial distinction is: Security policy gates should prevent release of unapproved critical vulnerabilities.

C:

Unit test gates should complete successfully against the proposed change before merge. This would address a different situation, such as: A protected mainline accepts pull requests before a required unit test suite finishes, causing broken packages. In the present case, the most directly relevant principle is: Security policy gates should prevent release of unapproved critical vulnerabilities. The crucial distinction is: Security policy gates should prevent release of unapproved critical vulnerabilities.

Question 89

The DevOps team must resolve this situation: A GitHub project has rising CI failures, but maintainers monitor only total completed workflow counts. Which engineering action is MOST appropriate?

  1. Configure insight charts and notifications for failed and slow required workflows.
  2. Enable an approved connection monitor for the critical private network path.
  3. Associate the approved data collection rule and validate required log flow to the workspace.
  4. Enable supported AKS container telemetry with resource labels and actionable alerts.

Explanation

Correct Answer

A:

Configure insight charts and notifications for failed and slow required workflows. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A deliberately failing workflow raises its failure metric without counting as success. Workflow insight metrics should distinguish failed jobs, timing and relevant branches.

Incorrect Answers

B:

Enable an approved connection monitor for the critical private network path. 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 engineering action is: Configure insight charts and notifications for failed and slow required workflows. The crucial distinction is: Workflow insight metrics should distinguish failed jobs, timing and relevant branches.

C:

Associate the approved data collection rule and validate required log flow to the workspace. 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 engineering action is: Configure insight charts and notifications for failed and slow required workflows. The crucial distinction is: Workflow insight metrics should distinguish failed jobs, timing and relevant branches.

D:

Enable supported AKS container telemetry with resource labels and actionable alerts. 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 engineering action is: Configure insight charts and notifications for failed and slow required workflows. The crucial distinction is: Workflow insight metrics should distinguish failed jobs, timing and relevant branches.

Question 90

An Azure DevOps engineering team evaluates this condition: A low-volume payment failure disappears from diagnostic traces because sampling drops all relevant requests. Which DevOps principle BEST explains the underlying weakness?

  1. Telemetry sampling strategy must preserve adequate signal for critical failures.
  2. Missing data must not be interpreted as proof of a healthy resource.
  3. KQL grouping by revision and time can separate release regressions from background failures.
  4. Operational telemetry should correlate errors with release markers and change events.

Explanation

Correct Answer

A:

Telemetry sampling strategy must preserve adequate signal for critical failures. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect Application Insights sampling settings, exceptions, operation IDs and request volumes. An appropriate controlled response is: Adjust sampling and critical-event retention within approved performance and cost limits.

Incorrect Answers

B:

Missing data must not be interpreted as proof of a healthy resource. This would address a different situation, such as: A VM's monitoring dashboard reports no errors because its telemetry agent stopped sending data three days ago. In the present case, the most directly relevant principle is: Telemetry sampling strategy must preserve adequate signal for critical failures. The crucial distinction is: Telemetry sampling strategy must preserve adequate signal for critical failures.

C:

KQL grouping by revision and time can separate release regressions from background failures. This would address a different situation, such as: A Log Analytics workspace stores application exceptions, but engineers cannot identify which deployment revision triggered a spike. In the present case, the most directly relevant principle is: Telemetry sampling strategy must preserve adequate signal for critical failures. The crucial distinction is: Telemetry sampling strategy must preserve adequate signal for critical failures.

D:

Operational telemetry should correlate errors with release markers and change events. This would address a different situation, such as: A new release increases HTTP 500s, but the team cannot match failures to deployment timestamps. In the present case, the most directly relevant principle is: Telemetry sampling strategy must preserve adequate signal for critical failures. The crucial distinction is: Telemetry sampling strategy must preserve adequate signal for critical failures.

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