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 84

Question 830

A Microsoft DevOps team is addressing: A low-volume payment failure disappears from diagnostic traces because sampling drops all relevant requests. Which TWO complementary actions should be taken? Select TWO answers.

  1. Adjust sampling and critical-event retention within approved performance and cost limits.
  2. Use a Kusto summarize query grouped by deployment version and appropriate time bins.
  3. Inspect sign-in records, principal IDs, resource IDs, times and failure causes.
  4. Inspect requests, dependencies, operation_Id values and time range.
  5. Inspect Application Insights sampling settings, exceptions, operation IDs and request volumes.

Explanation

Correct Answers

A:

Adjust sampling and critical-event retention within approved performance and cost limits. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect Application Insights sampling settings, exceptions, operation IDs and request volumes. Together they address: Telemetry sampling strategy must preserve adequate signal for critical failures.

E:

Inspect Application Insights sampling settings, exceptions, operation IDs and request volumes. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Adjust sampling and critical-event retention within approved performance and cost limits. Together they address: Telemetry sampling strategy must preserve adequate signal for critical failures.

Incorrect Answers

B:

Use a Kusto summarize query grouped by deployment version and appropriate time bins. This concerns a different DevOps situation: A Log Analytics workspace stores application exceptions, but engineers cannot identify which deployment revision triggered a spike. This case instead requires both a targeted investigation (Inspect Application Insights sampling settings, exceptions, operation IDs and request volumes.) and a controlled change (Adjust sampling and critical-event retention within approved performance and cost limits.).

C:

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 Application Insights sampling settings, exceptions, operation IDs and request volumes.) and a controlled change (Adjust sampling and critical-event retention within approved performance and cost limits.).

D:

Inspect requests, dependencies, operation_Id values and time range. This concerns a different DevOps situation: Application requests and dependency spans share an operation ID but engineers compare two unrelated totals instead of correlating affected calls. This case instead requires both a targeted investigation (Inspect Application Insights sampling settings, exceptions, operation IDs and request volumes.) and a controlled change (Adjust sampling and critical-event retention within approved performance and cost limits.).

Question 831

An Azure DevOps engineering team evaluates this condition: A pipeline prints a database password stored in a plain YAML variable during environment deployment. Which DevOps principle BEST explains the underlying weakness?

  1. Secretless authentication still requires careful handling of temporary token output.
  2. Secret rotation must coordinate client update, version retention and recovery.
  3. Pipeline secrets should be retrieved from controlled stores and kept out of source and logs.
  4. Certificate deployment must match required private-key access and target service configuration.

Explanation

Correct Answer

C:

Pipeline secrets should be retrieved from controlled stores and kept out of source and logs. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect YAML variables, task output, Key Vault references and secret access scope. An appropriate controlled response is: Use an authorized Azure Key Vault-backed secret reference with protected variable handling.

Incorrect Answers

A:

Secretless authentication still requires careful handling of temporary token output. This would address a different situation, such as: An Azure CLI task runs with set -x and echoes bearer tokens in the pipeline console log. In the present case, the most directly relevant principle is: Pipeline secrets should be retrieved from controlled stores and kept out of source and logs. The crucial distinction is: Pipeline secrets should be retrieved from controlled stores and kept out of source and logs.

B:

Secret rotation must coordinate client update, version retention and recovery. This would address a different situation, such as: An application release references a database secret version that was deleted during automatic rotation, causing downtime. In the present case, the most directly relevant principle is: Pipeline secrets should be retrieved from controlled stores and kept out of source and logs. The crucial distinction is: Pipeline secrets should be retrieved from controlled stores and kept out of source and logs.

D:

Certificate deployment must match required private-key access and target service configuration. This would address a different situation, such as: An Azure service uses a TLS certificate uploaded to Key Vault, but the deployment copies only the public certificate without the private-key binding. In the present case, the most directly relevant principle is: Pipeline secrets should be retrieved from controlled stores and kept out of source and logs. The crucial distinction is: Pipeline secrets should be retrieved from controlled stores and kept out of source and logs.

Question 832

An Azure DevOps engineering team evaluates this condition: Release notes are composed from memory and routinely omit merged security improvements. Which DevOps principle BEST explains the underlying weakness?

  1. Feedback must enter an owned trackable workflow with prioritization and resolution evidence.
  2. Closed-loop delivery needs automated status updates connected to the requesting work.
  3. Release summaries should be derived from verified source and work-item changes.
  4. Short-lived branches and reviewed pull requests reduce integration drift and make changes traceable.

Explanation

Correct Answer

C:

Release summaries should be derived from verified source and work-item changes. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Compare release tags, merged pull requests, linked work items and note generation rules. An appropriate controlled response is: Generate reviewed release notes from the changes between immutable release references.

Incorrect Answers

A:

Feedback must enter an owned trackable workflow with prioritization and resolution evidence. 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 principle is: Release summaries should be derived from verified source and work-item changes. The crucial distinction is: Release summaries should be derived from verified source and work-item changes.

B:

Closed-loop delivery needs automated status updates connected to the requesting work. This would address a different situation, such as: A deployment job fails but the failure is not associated with the GitHub issue that requested the release. In the present case, the most directly relevant principle is: Release summaries should be derived from verified source and work-item changes. The crucial distinction is: Release summaries should be derived from verified source and work-item changes.

D:

Short-lived branches and reviewed pull requests reduce integration drift and make changes traceable. This would address a different situation, such as: An engineering organization uses long-lived feature branches, and its hotfixes regularly miss previously merged changes. In the present case, the most directly relevant principle is: Release summaries should be derived from verified source and work-item changes. The crucial distinction is: Release summaries should be derived from verified source and work-item changes.

Question 833

After implementing the change, the team verifies: Azure Boards shows completed user stories, but there is no way to identify the commits and deployments delivering each story. Which result would BEST demonstrate that the issue is corrected?

  1. A sample released story traces to its pull request, verified build and target deployment.
  2. A sampled escaped defect traces to an added regression test and successful validation.
  3. A failed sample release leaves the linked issue open and alerts its responsible team.
  4. A sample release note lists the actual included fixes without unrelated pending changes.

Explanation

Correct Answer

A:

A sample released story traces to its pull request, verified build and target deployment. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Configure work-item linking and automatic build/deployment associations in Azure Boards. Traceability requires explicit relationships among work items, source revisions, builds and deployments.

Incorrect Answers

B:

A sampled escaped defect traces to an added regression test and successful validation. This would address a different situation, such as: Several production defects were fixed, but QA cannot determine which automated test gaps allowed them to escape. In the present case, the most directly relevant verification is: A sample released story traces to its pull request, verified build and target deployment. The crucial distinction is: Traceability requires explicit relationships among work items, source revisions, builds and deployments.

C:

A failed sample release leaves the linked issue open and alerts its responsible team. This would address a different situation, such as: A deployment job fails but the failure is not associated with the GitHub issue that requested the release. In the present case, the most directly relevant verification is: A sample released story traces to its pull request, verified build and target deployment. The crucial distinction is: Traceability requires explicit relationships among work items, source revisions, builds and deployments.

D:

A sample release note lists the actual included fixes without unrelated pending changes. This would address a different situation, such as: Release notes are composed from memory and routinely omit merged security improvements. In the present case, the most directly relevant verification is: A sample released story traces to its pull request, verified build and target deployment. The crucial distinction is: Traceability requires explicit relationships among work items, source revisions, builds and deployments.

Question 834

An Azure DevOps engineering team evaluates this condition: Azure Boards shows completed user stories, but there is no way to identify the commits and deployments delivering each story. Which DevOps principle BEST explains the underlying weakness?

  1. Feedback must enter an owned trackable workflow with prioritization and resolution evidence.
  2. Short-lived branches and reviewed pull requests reduce integration drift and make changes traceable.
  3. Release summaries should be derived from verified source and work-item changes.
  4. Traceability requires explicit relationships among work items, source revisions, builds and deployments.

Explanation

Correct Answer

D:

Traceability requires explicit relationships among work items, source revisions, builds and deployments. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect Azure Boards development links, commit conventions and pipeline release metadata. An appropriate controlled response is: Configure work-item linking and automatic build/deployment associations in Azure Boards.

Incorrect Answers

A:

Feedback must enter an owned trackable workflow with prioritization and resolution evidence. 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 principle is: Traceability requires explicit relationships among work items, source revisions, builds and deployments. The crucial distinction is: Traceability requires explicit relationships among work items, source revisions, builds and deployments.

B:

Short-lived branches and reviewed pull requests reduce integration drift and make changes traceable. This would address a different situation, such as: An engineering organization uses long-lived feature branches, and its hotfixes regularly miss previously merged changes. In the present case, the most directly relevant principle is: Traceability requires explicit relationships among work items, source revisions, builds and deployments. The crucial distinction is: Traceability requires explicit relationships among work items, source revisions, builds and deployments.

C:

Release summaries should be derived from verified source and work-item changes. This would address a different situation, such as: Release notes are composed from memory and routinely omit merged security improvements. In the present case, the most directly relevant principle is: Traceability requires explicit relationships among work items, source revisions, builds and deployments. The crucial distinction is: Traceability requires explicit relationships among work items, source revisions, builds and deployments.

Question 835

Before changing the pipeline or service, engineers find: A release detects elevated errors but cannot roll back because the prior verified package was deleted. Which evidence should the engineer inspect FIRST?

  1. Review component versions, release dependencies, API contracts and pipeline stage graph.
  2. Review artifact retention, release manifest, service health signals and restoration test.
  3. Inspect ACR digest, release manifest, build provenance and tag permissions.
  4. Inspect schema migration history, transaction boundaries, retry logs and object existence.

Explanation

Correct Answer

B:

Review artifact retention, release manifest, service health signals and restoration test. This directly checks the uncertain behavior or control before changing production. Deployment strategy must preserve known-good artifacts and tested rollback paths. The resulting targeted action is: Retain a protected previous release and automate monitored rollback upon failure.

Incorrect Answers

A:

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: Review artifact retention, release manifest, service health signals and restoration test. The crucial distinction is: Deployment strategy must preserve known-good artifacts and tested rollback paths.

C:

Inspect ACR digest, release manifest, build provenance and tag permissions. 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 evidence is: Review artifact retention, release manifest, service health signals and restoration test. The crucial distinction is: Deployment strategy must preserve known-good artifacts and tested rollback paths.

D:

Inspect schema migration history, transaction boundaries, retry logs and object existence. This would address a different situation, such as: A release database task retries after a timeout and creates duplicate schema objects, causing subsequent deployments to fail. In the present case, the most directly relevant evidence is: Review artifact retention, release manifest, service health signals and restoration test. The crucial distinction is: Deployment strategy must preserve known-good artifacts and tested rollback paths.

Question 836

The DevOps team must resolve this situation: A test task writes its service principal secret into verbose logs on every failing run. Which engineering action is MOST appropriate?

  1. Implement repeatable baseline comparison gates for resource consumption and latency.
  2. Run supported code scanning on pull requests with risk-appropriate merge gates.
  3. Move test credentials into a protected secret store and suppress token output.
  4. Correct failure handling and publish supported JUnit/TRX results with fail-on-test-failure behavior.

Explanation

Correct Answer

C:

Move test credentials into a protected secret store and suppress token output. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A controlled failing test produces useful diagnostics without leaking the credential. Testing pipelines must avoid exposing credentials while preserving useful diagnostics.

Incorrect Answers

A:

Implement repeatable baseline comparison gates for resource consumption and latency. 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 engineering action is: Move test credentials into a protected secret store and suppress token output. The crucial distinction is: Testing pipelines must avoid exposing credentials while preserving useful diagnostics.

B:

Run supported code scanning on pull requests with risk-appropriate merge gates. This would address a different situation, such as: A GitHub repository scans vulnerabilities once a month but merges vulnerable code daily. In the present case, the most directly relevant engineering action is: Move test credentials into a protected secret store and suppress token output. The crucial distinction is: Testing pipelines must avoid exposing credentials while preserving useful diagnostics.

D:

Correct failure handling and publish supported JUnit/TRX results with fail-on-test-failure behavior. This would address a different situation, such as: A pipeline script prints a test failure but exits with zero, leaving no test results visible in Azure Pipelines. In the present case, the most directly relevant engineering action is: Move test credentials into a protected secret store and suppress token output. The crucial distinction is: Testing pipelines must avoid exposing credentials while preserving useful diagnostics.

Question 837

An Azure DevOps engineering team evaluates this condition: A library's prerelease build appears in the same feed view consumed by production services and breaks compatibility. Which DevOps principle BEST explains the underlying weakness?

  1. Reproducible builds require controlled package versions and lockfile inputs.
  2. Package views can separate promoted stable packages from unapproved candidates.
  3. Private package access requires scoped workflow identity and authorized repository permissions.
  4. Versioned universal packages provide reproducible distribution of nonlanguage build outputs.

Explanation

Correct Answer

B:

Package views can separate promoted stable packages from unapproved candidates. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect feed view membership, promotion permissions, consumer package sources and versions. An appropriate controlled response is: Use reviewed package promotion into stable feed views before production consumption.

Incorrect Answers

A:

Reproducible builds require controlled package versions and lockfile inputs. This would address a different situation, such as: The same Git commit restores different NuGet package versions one week apart and intermittently fails tests. In the present case, the most directly relevant principle is: Package views can separate promoted stable packages from unapproved candidates. The crucial distinction is: Package views can separate promoted stable packages from unapproved candidates.

C:

Private package access requires scoped workflow identity and authorized repository permissions. 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 principle is: Package views can separate promoted stable packages from unapproved candidates. The crucial distinction is: Package views can separate promoted stable packages from unapproved candidates.

D:

Versioned universal packages provide reproducible distribution of nonlanguage build outputs. This would address a different situation, such as: An organization distributes a proprietary CLI as email attachments so engineering teams run inconsistent versions. In the present case, the most directly relevant principle is: Package views can separate promoted stable packages from unapproved candidates. The crucial distinction is: Package views can separate promoted stable packages from unapproved candidates.

Question 838

Before changing the pipeline or service, engineers find: A pipeline caches packages under one global key even after lockfile changes, causing inconsistent builds. Which evidence should the engineer inspect FIRST?

  1. Inspect timeline, agent saturation, external dependencies and budget.
  2. Compare classic stage approvals with YAML environment checks and service-connection authorization.
  3. Inventory classic tasks, approvals, variables, environments and artifact inputs.
  4. Review cache key configuration, lockfile hash, package restore logs and unexpected results.

Explanation

Correct Answer

D:

Review cache key configuration, lockfile hash, package restore logs and unexpected results. This directly checks the uncertain behavior or control before changing production. Cache keys must include dependency inputs so old artifacts cannot silently corrupt builds. The resulting targeted action is: Use dependency-aware cache keys and safe restore fallback behavior.

Incorrect Answers

A:

Inspect timeline, agent saturation, external dependencies and budget. This would address a different situation, such as: A pipeline team wants 50 more hosted agent slots even though bottlenecks are serial manual approvals and limited integration environments. In the present case, the most directly relevant evidence is: Review cache key configuration, lockfile hash, package restore logs and unexpected results. The crucial distinction is: Cache keys must include dependency inputs so old artifacts cannot silently corrupt builds.

B:

Compare classic stage approvals with YAML environment checks and service-connection authorization. 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 evidence is: Review cache key configuration, lockfile hash, package restore logs and unexpected results. The crucial distinction is: Cache keys must include dependency inputs so old artifacts cannot silently corrupt builds.

C:

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: Review cache key configuration, lockfile hash, package restore logs and unexpected results. The crucial distinction is: Cache keys must include dependency inputs so old artifacts cannot silently corrupt builds.

Question 839

The DevOps team must resolve this situation: A team uses GitHub for code and Azure Boards for planning, but pull requests never appear in its work items. Which engineering action is MOST appropriate?

  1. Generate and publish versioned API documentation as a release-gated artifact.
  2. Use stable event IDs and idempotent ticket creation with failure monitoring.
  3. Configure the authorized Azure Boards-GitHub integration and linking conventions.
  4. Keep technical runbooks alongside source changes with reviewed documentation checks.

Explanation

Correct Answer

C:

Configure the authorized Azure Boards-GitHub integration and linking conventions. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A new test pull request is visible from its related Azure Boards work item. Cross-platform collaboration requires configured repository and work-item integration.

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: Configure the authorized Azure Boards-GitHub integration and linking conventions. The crucial distinction is: Cross-platform collaboration requires configured repository and work-item integration.

B:

Use stable event IDs and idempotent ticket creation with failure monitoring. 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 engineering action is: Configure the authorized Azure Boards-GitHub integration and linking conventions. The crucial distinction is: Cross-platform collaboration requires configured repository and work-item integration.

D:

Keep technical runbooks alongside source changes with reviewed documentation checks. This would address a different situation, such as: A repository wiki describes a build script that was removed six months ago and breaks onboarding. In the present case, the most directly relevant engineering action is: Configure the authorized Azure Boards-GitHub integration and linking conventions. The crucial distinction is: Cross-platform collaboration requires configured repository and work-item integration.

Question 840

An engineering design review identifies: An audit team cannot associate production features with reviewed pull requests after squash merging because release metadata records only original feature SHAs. Which shortcut should the team MOST specifically avoid for this case?

  1. Assume production is safe because only the default branch is protected.
  2. Make force push the default method for updating every shared release branch.
  3. Remove all branch protections to eliminate merge conflicts.
  4. Assume original feature branch SHA always equals the squash commit SHA.

Explanation

Correct Answer

D:

Assume original feature branch SHA always equals the squash commit SHA. This shortcut directly undermines the stated control or workflow. A safer action is: Record the final mainline commit and linked PR/work item in deployment provenance. Explanation: Traceability after squash merges needs durable pull request and resulting commit identifiers.

Incorrect Answers

A:

Assume production is safe because only the default branch is protected. This would address a different situation, such as: A company protects main but permits unrestricted direct commits to an unprotected release branch deployed to production. In the present case, the most directly relevant unsafe shortcut is: Assume original feature branch SHA always equals the squash commit SHA. The crucial distinction is: Traceability after squash merges needs durable pull request and resulting commit identifiers.

B:

Make force push the default method for updating every shared release branch. This would address a different situation, such as: A maintainer rebases a shared release branch and force pushes, invalidating teammates' commit references. In the present case, the most directly relevant unsafe shortcut is: Assume original feature branch SHA always equals the squash commit SHA. The crucial distinction is: Traceability after squash merges needs durable pull request and resulting commit identifiers.

C:

Remove all branch protections to eliminate merge conflicts. This would address a different situation, such as: An organization merges changes only at the end of a six-week release branch, creating hundreds of conflicts. In the present case, the most directly relevant unsafe shortcut is: Assume original feature branch SHA always equals the squash commit SHA. The crucial distinction is: Traceability after squash merges needs durable pull request and resulting commit identifiers.

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