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 22

Question 210

An Azure DevOps engineering team evaluates this condition: A microservice changes a JSON field name while a downstream consumer still relies on the old name. Which DevOps principle BEST explains the underlying weakness?

  1. Test stages must declare prerequisite environment and schema dependencies explicitly.
  2. Database deployment tests should validate backward compatibility throughout rollout.
  3. Consumer contract tests should detect interface-breaking changes before coordinated release.
  4. Security policy gates should prevent release of unapproved critical vulnerabilities.

Explanation

Correct Answer

C:

Consumer contract tests should detect interface-breaking changes before coordinated release. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect producer schemas, consumer tests, artifact versions and failure logs. An appropriate controlled response is: Run automated producer-consumer contract checks with backward-compatible staging.

Incorrect Answers

A:

Test stages must declare prerequisite environment and schema dependencies explicitly. This would address a different situation, such as: A pipeline starts integration tests before deploying the dependent database migration, causing intermittent failures. In the present case, the most directly relevant principle is: Consumer contract tests should detect interface-breaking changes before coordinated release. The crucial distinction is: Consumer contract tests should detect interface-breaking changes before coordinated release.

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: Consumer contract tests should detect interface-breaking changes before coordinated release. The crucial distinction is: Consumer contract tests should detect interface-breaking changes before coordinated release.

D:

Security policy gates should prevent release of unapproved critical vulnerabilities. This would address a different situation, such as: A container image with a known critical vulnerability passes all unit tests and is promoted to production. In the present case, the most directly relevant principle is: Consumer contract tests should detect interface-breaking changes before coordinated release. The crucial distinction is: Consumer contract tests should detect interface-breaking changes before coordinated release.

Question 211

After implementing the change, the team verifies: A deployment receives approval even when a required penetration-test issue remains unresolved and unaccepted. Which result would BEST demonstrate that the issue is corrected?

  1. A test release exceeding the approved regression allowance fails the gate.
  2. A deliberately unresolved critical issue prevents production promotion until authorized disposition.
  3. Repeated runs produce stable results without masking functional failures.
  4. A destructive test cannot modify the protected production storage account.

Explanation

Correct Answer

B:

A deliberately unresolved critical issue prevents production promotion until authorized disposition. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Require accountable acceptance or closure of critical security blockers before promotion. Release gates must evaluate approved risk exceptions and mandatory security criteria.

Incorrect Answers

A:

A test release exceeding the approved regression allowance fails the gate. 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 verification is: A deliberately unresolved critical issue prevents production promotion until authorized disposition. The crucial distinction is: Release gates must evaluate approved risk exceptions and mandatory security criteria.

C:

Repeated runs produce stable results without masking functional failures. 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 verification is: A deliberately unresolved critical issue prevents production promotion until authorized disposition. The crucial distinction is: Release gates must evaluate approved risk exceptions and mandatory security criteria.

D:

A destructive test cannot modify the protected production storage account. This would address a different situation, such as: A test pipeline reuses a production storage account and occasionally deletes customer fixtures. In the present case, the most directly relevant verification is: A deliberately unresolved critical issue prevents production promotion until authorized disposition. The crucial distinction is: Release gates must evaluate approved risk exceptions and mandatory security criteria.

Question 212

After implementing the change, the team verifies: A self-hosted agent fails after months because workspace and Docker layer caches exhaust disk space. Which result would BEST demonstrate that the issue is corrected?

  1. The agent handles repeated builds without losing required artifacts or filling disks.
  2. An intentionally failed release reaches the active on-call group with diagnostic context.
  3. A historical release can be reconstructed within the mandated retention period.
  4. The same full test suite finishes faster without skipped checks.

Explanation

Correct Answer

A:

The agent handles repeated builds without losing required artifacts or filling disks. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Implement safe workspace cleanup and monitored cache eviction consistent with rollback needs. Self-hosted agent maintenance requires bounded workspace cleanup and cache retention.

Incorrect Answers

B:

An intentionally failed release reaches the active on-call group with diagnostic context. 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 verification is: The agent handles repeated builds without losing required artifacts or filling disks. The crucial distinction is: Self-hosted agent maintenance requires bounded workspace cleanup and cache retention.

C:

A historical release can be reconstructed within the mandated retention period. 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 verification is: The agent handles repeated builds without losing required artifacts or filling disks. The crucial distinction is: Self-hosted agent maintenance requires bounded workspace cleanup and cache retention.

D:

The same full test suite finishes faster without skipped checks. This would address a different situation, such as: A large build spends most of its time serially running three independent test suites. In the present case, the most directly relevant verification is: The agent handles repeated builds without losing required artifacts or filling disks. The crucial distinction is: Self-hosted agent maintenance requires bounded workspace cleanup and cache retention.

Question 213

A Microsoft DevOps team is addressing: An API dashboard shows acceptable average response time even though the slowest 5% of requests exceed the customer SLA. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect Heartbeat records, ingestion timestamps, agent status and alert behavior.
  2. Inspect sign-in records, principal IDs, resource IDs, times and failure causes.
  3. Inspect request duration distribution, service cohorts, and p95/p99 KQL queries.
  4. Measure and alert on relevant latency percentiles with suitable dimensions.
  5. Add release annotations and traceable version properties to Application Insights.

Explanation

Correct Answers

C:

Inspect request duration distribution, service cohorts, and p95/p99 KQL queries. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Measure and alert on relevant latency percentiles with suitable dimensions. Together they address: Performance analysis should include tail latency percentiles rather than mean alone.

D:

Measure and alert on relevant latency percentiles with suitable dimensions. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect request duration distribution, service cohorts, and p95/p99 KQL queries. Together they address: Performance analysis should include tail latency percentiles rather than mean alone.

Incorrect Answers

A:

Inspect Heartbeat records, ingestion timestamps, agent status and alert behavior. This concerns a different DevOps situation: A VM's monitoring dashboard reports no errors because its telemetry agent stopped sending data three days ago. This case instead requires both a targeted investigation (Inspect request duration distribution, service cohorts, and p95/p99 KQL queries.) and a controlled change (Measure and alert on relevant latency percentiles with suitable dimensions.).

B:

Inspect sign-in records, principal IDs, resource IDs, times and failure causes. This concerns a different DevOps situation: Azure resource logs show unusual production service principal sign-ins, but a dashboard aggregates all identities together. This case instead requires both a targeted investigation (Inspect request duration distribution, service cohorts, and p95/p99 KQL queries.) and a controlled change (Measure and alert on relevant latency percentiles with suitable dimensions.).

E:

Add release annotations and traceable version properties to Application Insights. This concerns a different DevOps situation: A new release increases HTTP 500s, but the team cannot match failures to deployment timestamps. This case instead requires both a targeted investigation (Inspect request duration distribution, service cohorts, and p95/p99 KQL queries.) and a controlled change (Measure and alert on relevant latency percentiles with suitable dimensions.).

Question 214

An Azure DevOps engineering team evaluates this condition: A compatible optional SDK feature is added, but release automation increments the major version for every change. Which DevOps principle BEST explains the underlying weakness?

  1. Semantic versioning should reflect compatibility impact rather than commit count.
  2. Cross-project feeds require authorized build-service identities and scope settings.
  3. Package views can separate promoted stable packages from unapproved candidates.
  4. Retention must preserve artifacts and dependencies required for defined rollback windows.

Explanation

Correct Answer

A:

Semantic versioning should reflect compatibility impact rather than commit count. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Review API surface change, dependency constraints, version bump rules and changelog. An appropriate controlled response is: Classify the nonbreaking feature under an appropriate minor release with validation.

Incorrect Answers

B:

Cross-project feeds require authorized build-service identities and scope settings. This would address a different situation, such as: A central deployment pipeline cannot restore a package from another Azure DevOps project although the feed works locally. In the present case, the most directly relevant principle is: Semantic versioning should reflect compatibility impact rather than commit count. The crucial distinction is: Semantic versioning should reflect compatibility impact rather than commit count.

C:

Package views can separate promoted stable packages from unapproved candidates. This would address a different situation, such as: A library's prerelease build appears in the same feed view consumed by production services and breaks compatibility. In the present case, the most directly relevant principle is: Semantic versioning should reflect compatibility impact rather than commit count. The crucial distinction is: Semantic versioning should reflect compatibility impact rather than commit count.

D:

Retention must preserve artifacts and dependencies required for defined rollback windows. This would address a different situation, such as: Release rollback fails because the pipeline cleaned the package version deployed last week. In the present case, the most directly relevant principle is: Semantic versioning should reflect compatibility impact rather than commit count. The crucial distinction is: Semantic versioning should reflect compatibility impact rather than commit count.

Question 215

The DevOps team must resolve this situation: A pipeline team wants 50 more hosted agent slots even though bottlenecks are serial manual approvals and limited integration environments. Which engineering action is MOST appropriate?

  1. Track flaky test metrics and assign root-cause fixes rather than unconditional retries.
  2. Introduce relevant path/branch conditions and appropriately scheduled validation.
  3. Configure environment-level approvals and checks outside untrusted YAML modification paths.
  4. Remove serial bottlenecks or right-size jobs before purchasing concurrency.

Explanation

Correct Answer

D:

Remove serial bottlenecks or right-size jobs before purchasing concurrency. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A trial optimization improves completion time at acceptable agent cost. Capacity changes should be justified by measured critical-path improvements and cost.

Incorrect Answers

A:

Track flaky test metrics and assign root-cause fixes rather than unconditional retries. 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 engineering action is: Remove serial bottlenecks or right-size jobs before purchasing concurrency. The crucial distinction is: Capacity changes should be justified by measured critical-path improvements and cost.

B:

Introduce relevant path/branch conditions and appropriately scheduled validation. 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 engineering action is: Remove serial bottlenecks or right-size jobs before purchasing concurrency. The crucial distinction is: Capacity changes should be justified by measured critical-path improvements and cost.

C:

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: Remove serial bottlenecks or right-size jobs before purchasing concurrency. The crucial distinction is: Capacity changes should be justified by measured critical-path improvements and cost.

Question 216

The DevOps team must resolve this situation: Critical production deployment failures send only email to an unattended shared mailbox. Which engineering action is MOST appropriate?

  1. Generate and publish versioned API documentation as a release-gated artifact.
  2. Route deployment and failure events to the approved Microsoft Teams operations channel.
  3. Configure the authorized Azure Boards-GitHub integration and linking conventions.
  4. Generate draft release notes from structured commits and require review of breaking changes.

Explanation

Correct Answer

B:

Route deployment and failure events to the approved Microsoft Teams operations channel. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: An intentionally failed test deployment alerts the responsible team with release identity. Notifications should reach accountable responders through monitored channels with useful context.

Incorrect Answers

A:

Generate and publish versioned API documentation as a release-gated artifact. 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 engineering action is: Route deployment and failure events to the approved Microsoft Teams operations channel. The crucial distinction is: Notifications should reach accountable responders through monitored channels with useful context.

C:

Configure the authorized Azure Boards-GitHub integration and linking conventions. 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 engineering action is: Route deployment and failure events to the approved Microsoft Teams operations channel. The crucial distinction is: Notifications should reach accountable responders through monitored channels with useful context.

D:

Generate draft release notes from structured commits and require review of breaking changes. This would address a different situation, such as: An internal library ships monthly but its changelog omits breaking changes unless one maintainer remembers to edit it. In the present case, the most directly relevant engineering action is: Route deployment and failure events to the approved Microsoft Teams operations channel. The crucial distinction is: Notifications should reach accountable responders through monitored channels with useful context.

Question 217

An engineering design review identifies: An AKS Helm upgrade fails after rendering a misconfigured resource, leaving pods partially updated. Which shortcut should the team MOST specifically avoid for this case?

  1. Trust the most recently pushed latest image to match the reviewed build.
  2. Delete the Helm history to make the failed release disappear.
  3. Disable readiness checks so Kubernetes reports every new pod healthy immediately.
  4. Copy the secret into a container layer to prevent future runtime changes.

Explanation

Correct Answer

B:

Delete the Helm history to make the failed release disappear. This shortcut directly undermines the stated control or workflow. A safer action is: Use chart lint/templates, guarded upgrade behavior and supported rollback to a tested revision. Explanation: Helm release operations need validated charts and controlled rollback behavior.

Incorrect Answers

A:

Trust the most recently pushed latest image to match the reviewed build. This would address a different situation, such as: A release manifest references an ACR latest tag that was replaced after QA approval. In the present case, the most directly relevant unsafe shortcut is: Delete the Helm history to make the failed release disappear. The crucial distinction is: Helm release operations need validated charts and controlled rollback behavior.

C:

Disable readiness checks so Kubernetes reports every new pod healthy immediately. This would address a different situation, such as: An AKS update removes every API pod simultaneously because maxUnavailable equals the full replica count. In the present case, the most directly relevant unsafe shortcut is: Delete the Helm history to make the failed release disappear. The crucial distinction is: Helm release operations need validated charts and controlled rollback behavior.

D:

Copy the secret into a container layer to prevent future runtime changes. 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 unsafe shortcut is: Delete the Helm history to make the failed release disappear. The crucial distinction is: Helm release operations need validated charts and controlled rollback behavior.

Question 218

Before changing the pipeline or service, engineers find: A Terraform workflow stores its state file in an unencrypted shared file share accessible to all developers. Which evidence should the engineer inspect FIRST?

  1. Inspect backend settings, state access policy, encryption and concurrent writes.
  2. Inspect existing VNet templates, module interfaces, policy results and configuration drift.
  3. Inspect resource references, role assignments, provisioning order and propagation behavior.
  4. Inspect policy assignment parameters, effect, scope and compliance states.

Explanation

Correct Answer

A:

Inspect backend settings, state access policy, encryption and concurrent writes. This directly checks the uncertain behavior or control before changing production. IaC state may contain sensitive values and requires protected remote storage and controlled locking. The resulting targeted action is: Use secured remote state with least-privilege identity and locking support.

Incorrect Answers

B:

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 backend settings, state access policy, encryption and concurrent writes. The crucial distinction is: IaC state may contain sensitive values and requires protected remote storage and controlled locking.

C:

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 backend settings, state access policy, encryption and concurrent writes. The crucial distinction is: IaC state may contain sensitive values and requires protected remote storage and controlled locking.

D:

Inspect policy assignment parameters, effect, scope and compliance states. 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 evidence is: Inspect backend settings, state access policy, encryption and concurrent writes. The crucial distinction is: IaC state may contain sensitive values and requires protected remote storage and controlled locking.

Question 219

A Microsoft DevOps team is addressing: Every developer can delete the versions of a private production library that other teams depend on. Which TWO complementary actions should be taken? Select TWO answers.

  1. Grant read, publish and administration only to the appropriate separate identities.
  2. Protect deployed and rollback-candidate artifacts with defined retention exceptions.
  3. Inspect feed role assignments, delete permissions, package history and retention.
  4. Grant the consuming build service read access at the appropriate feed scope.
  5. Review API surface change, dependency constraints, version bump rules and changelog.

Explanation

Correct Answers

A:

Grant read, publish and administration only to the appropriate separate identities. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect feed role assignments, delete permissions, package history and retention. Together they address: Package feed roles should separate consumer, publisher and administrative permissions.

C:

Inspect feed role assignments, delete permissions, package history and retention. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Grant read, publish and administration only to the appropriate separate identities. Together they address: Package feed roles should separate consumer, publisher and administrative permissions.

Incorrect Answers

B:

Protect deployed and rollback-candidate artifacts with defined retention exceptions. This concerns a different DevOps situation: Release rollback fails because the pipeline cleaned the package version deployed last week. This case instead requires both a targeted investigation (Inspect feed role assignments, delete permissions, package history and retention.) and a controlled change (Grant read, publish and administration only to the appropriate separate identities.).

D:

Grant the consuming build service read access at the appropriate feed scope. This concerns a different DevOps situation: A central deployment pipeline cannot restore a package from another Azure DevOps project although the feed works locally. This case instead requires both a targeted investigation (Inspect feed role assignments, delete permissions, package history and retention.) and a controlled change (Grant read, publish and administration only to the appropriate separate identities.).

E:

Review API surface change, dependency constraints, version bump rules and changelog. This concerns a different DevOps situation: A compatible optional SDK feature is added, but release automation increments the major version for every change. This case instead requires both a targeted investigation (Inspect feed role assignments, delete permissions, package history and retention.) and a controlled change (Grant read, publish and administration only to the appropriate separate identities.).

Question 220

Before changing the pipeline or service, engineers find: AKS pods restart frequently but the team captures only the last running pod's console output. Which evidence should the engineer inspect FIRST?

  1. Inspect Application Insights request/dependency telemetry, correlation IDs and trace configuration.
  2. Inspect VM agent health, DCR association, scope, endpoint and ingestion diagnostics.
  3. Inspect Azure Monitor Container Insights, pod events, collection coverage and retention.
  4. Inspect GitHub Actions run history, job timing, failure causes and usage trends.

Explanation

Correct Answer

C:

Inspect Azure Monitor Container Insights, pod events, collection coverage and retention. This directly checks the uncertain behavior or control before changing production. Container observability should preserve workload logs and restart context centrally. The resulting targeted action is: Enable supported AKS container telemetry with resource labels and actionable alerts.

Incorrect Answers

A:

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 Monitor Container Insights, pod events, collection coverage and retention. The crucial distinction is: Container observability should preserve workload logs and restart context centrally.

B:

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 Monitor Container Insights, pod events, collection coverage and retention. The crucial distinction is: Container observability should preserve workload logs and restart context centrally.

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 Monitor Container Insights, pod events, collection coverage and retention. The crucial distinction is: Container observability should preserve workload logs and restart context centrally.

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