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 72

Question 710

An engineering design review identifies: An Azure service uses a TLS certificate uploaded to Key Vault, but the deployment copies only the public certificate without the private-key binding. Which shortcut should the team MOST specifically avoid for this case?

  1. Trust every branch and fork workflow to make experimentation easier.
  2. Delete the active secret version before dependent services refresh credentials.
  3. Make the configuration container public so all build agents can retrieve it.
  4. Commit a PFX and plaintext password to repository source so deployment always works.

Explanation

Correct Answer

D:

Commit a PFX and plaintext password to repository source so deployment always works. This shortcut directly undermines the stated control or workflow. A safer action is: Deploy the appropriately authorized certificate material through supported bindings and managed access. Explanation: Certificate deployment must match required private-key access and target service configuration.

Incorrect Answers

A:

Trust every branch and fork workflow to make experimentation easier. This would address a different situation, such as: A federated Azure identity accepts tokens from any branch in a public GitHub repository and can deploy production resources. In the present case, the most directly relevant unsafe shortcut is: Commit a PFX and plaintext password to repository source so deployment always works. The crucial distinction is: Certificate deployment must match required private-key access and target service configuration.

B:

Delete the active secret version before dependent services refresh credentials. 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 unsafe shortcut is: Commit a PFX and plaintext password to repository source so deployment always works. The crucial distinction is: Certificate deployment must match required private-key access and target service configuration.

C:

Make the configuration container public so all build agents can retrieve it. This would address a different situation, such as: A deployment downloads a private configuration file from a public blob URL before replacing placeholders. In the present case, the most directly relevant unsafe shortcut is: Commit a PFX and plaintext password to repository source so deployment always works. The crucial distinction is: Certificate deployment must match required private-key access and target service configuration.

Question 711

The DevOps team must resolve this situation: A protected mainline accepts pull requests before a required unit test suite finishes, causing broken packages. Which engineering action is MOST appropriate?

  1. Make integration testing depend on successful migration and test environment readiness.
  2. Require verified unit test checks as part of protected pull request policy.
  3. Add guarded end-to-end UI tests for checkout and payment confirmation.
  4. Give parallel tests isolated data and synchronize genuine shared dependencies.

Explanation

Correct Answer

B:

Require verified unit test checks as part of protected pull request policy. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: A deliberately failing unit test prevents the pull request from merging. Unit test gates should complete successfully against the proposed change before merge.

Incorrect Answers

A:

Make integration testing depend on successful migration and test environment readiness. 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 engineering action is: Require verified unit test checks as part of protected pull request policy. The crucial distinction is: Unit test gates should complete successfully against the proposed change before merge.

C:

Add guarded end-to-end UI tests for checkout and payment confirmation. This would address a different situation, such as: A payment workflow completes an HTTP health check but fails after users submit the checkout form. In the present case, the most directly relevant engineering action is: Require verified unit test checks as part of protected pull request policy. The crucial distinction is: Unit test gates should complete successfully against the proposed change before merge.

D:

Give parallel tests isolated data and synchronize genuine shared dependencies. 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 engineering action is: Require verified unit test checks as part of protected pull request policy. The crucial distinction is: Unit test gates should complete successfully against the proposed change before merge.

Question 712

After implementing the change, the team verifies: An organization merges changes only at the end of a six-week release branch, creating hundreds of conflicts. Which result would BEST demonstrate that the issue is corrected?

  1. A trial feature merges safely with a small diff and mandatory gates intact.
  2. A squashed change can be traced from release to approved PR and tests.
  3. The new code merges and deploys disabled until the approved rollout cohort is enabled.
  4. A change to the protected payment directory cannot merge without authorized approval.

Explanation

Correct Answer

A:

A trial feature merges safely with a small diff and mandatory gates intact. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Adopt short-lived feature branches with required tests and frequent mainline integration. Frequent integration into a protected trunk reduces accumulated merge risk.

Incorrect Answers

B:

A squashed change can be traced from release to approved PR and tests. This would address a different situation, such as: An audit team cannot associate production features with reviewed pull requests after squash merging because release metadata records only original feature SHAs. In the present case, the most directly relevant verification is: A trial feature merges safely with a small diff and mandatory gates intact. The crucial distinction is: Frequent integration into a protected trunk reduces accumulated merge risk.

C:

The new code merges and deploys disabled until the approved rollout cohort is enabled. This would address a different situation, such as: A feature needs gradual rollout, but the team maintains a year-long divergent branch to hide unfinished functionality. In the present case, the most directly relevant verification is: A trial feature merges safely with a small diff and mandatory gates intact. The crucial distinction is: Frequent integration into a protected trunk reduces accumulated merge risk.

D:

A change to the protected payment directory cannot merge without authorized approval. This would address a different situation, such as: Payment processing files require security review, but code owner review is only advisory. In the present case, the most directly relevant verification is: A trial feature merges safely with a small diff and mandatory gates intact. The crucial distinction is: Frequent integration into a protected trunk reduces accumulated merge risk.

Question 713

Before changing the pipeline or service, engineers find: A release database task retries after a timeout and creates duplicate schema objects, causing subsequent deployments to fail. Which evidence should the engineer inspect FIRST?

  1. Inspect schema migration history, transaction boundaries, retry logs and object existence.
  2. Inspect ACR digest, release manifest, build provenance and tag permissions.
  3. Inspect Azure App Configuration flags, filters, defaults and access rights.
  4. Inspect Deployment strategy, replica count, readiness probes and disruption events.

Explanation

Correct Answer

A:

Inspect schema migration history, transaction boundaries, retry logs and object existence. This directly checks the uncertain behavior or control before changing production. Database deployment scripts should be repeatable or safely versioned with migration state. The resulting targeted action is: Use a controlled migration framework with version tracking and idempotent safeguards.

Incorrect Answers

B:

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: Inspect schema migration history, transaction boundaries, retry logs and object existence. The crucial distinction is: Database deployment scripts should be repeatable or safely versioned with migration state.

C:

Inspect Azure App Configuration flags, filters, defaults and access rights. 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 evidence is: Inspect schema migration history, transaction boundaries, retry logs and object existence. The crucial distinction is: Database deployment scripts should be repeatable or safely versioned with migration state.

D:

Inspect Deployment strategy, replica count, readiness probes and disruption events. 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 evidence is: Inspect schema migration history, transaction boundaries, retry logs and object existence. The crucial distinction is: Database deployment scripts should be repeatable or safely versioned with migration state.

Question 714

An Azure DevOps engineering team evaluates this condition: A build dashboard reports 100% passing tests by excluding quarantined integration suites without disclosing the exclusions. Which DevOps principle BEST explains the underlying weakness?

  1. Process metrics should disclose sampling limitations and actionable qualitative context.
  2. Delivery optimization needs separate measurements for queue, execution and waiting stages.
  3. Quality dashboards should show scope, omissions and relevant risk alongside pass rates.
  4. Security metrics should track severity, exposure, accountable ownership and aging.

Explanation

Correct Answer

C:

Quality dashboards should show scope, omissions and relevant risk alongside pass rates. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Review pipeline test publications, excluded suites, flaky test logs and quality thresholds. An appropriate controlled response is: Publish excluded and flaky test counts with test trends and actionable owner assignments.

Incorrect Answers

A:

Process metrics should disclose sampling limitations and actionable qualitative context. This would address a different situation, such as: A team reports excellent developer experience based only on responses from its three most active maintainers. In the present case, the most directly relevant principle is: Quality dashboards should show scope, omissions and relevant risk alongside pass rates. The crucial distinction is: Quality dashboards should show scope, omissions and relevant risk alongside pass rates.

B:

Delivery optimization needs separate measurements for queue, execution and waiting stages. This would address a different situation, such as: A pipeline takes 50 minutes, but dashboard owners cannot distinguish runner queue delays from actual build execution. In the present case, the most directly relevant principle is: Quality dashboards should show scope, omissions and relevant risk alongside pass rates. The crucial distinction is: Quality dashboards should show scope, omissions and relevant risk alongside pass rates.

D:

Security metrics should track severity, exposure, accountable ownership and aging. This would address a different situation, such as: A security scorecard shows the total number of alerts but cannot identify overdue critical fixes. In the present case, the most directly relevant principle is: Quality dashboards should show scope, omissions and relevant risk alongside pass rates. The crucial distinction is: Quality dashboards should show scope, omissions and relevant risk alongside pass rates.

Question 715

After implementing the change, the team verifies: Application images are deployed manually after infra provisioning and the deployed image tag is not recorded in Bicep or the release pipeline. Which result would BEST demonstrate that the issue is corrected?

  1. Production uses the approved digest recorded in the associated pipeline run.
  2. Unauthorized reads fail and concurrent plans cannot corrupt state.
  3. A deliberately broad assignment fails the CI gate before deployment.
  4. The app starts with authorized secret access after an entirely fresh deployment.

Explanation

Correct Answer

A:

Production uses the approved digest recorded in the associated pipeline run. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Pass verified immutable image identifiers through a controlled IaC deployment interface. Infrastructure and application delivery need traceable version handoff without mutable assumptions.

Incorrect Answers

B:

Unauthorized reads fail and concurrent plans cannot corrupt state. This would address a different situation, such as: A Terraform workflow stores its state file in an unencrypted shared file share accessible to all developers. In the present case, the most directly relevant verification is: Production uses the approved digest recorded in the associated pipeline run. The crucial distinction is: Infrastructure and application delivery need traceable version handoff without mutable assumptions.

C:

A deliberately broad assignment fails the CI gate before deployment. 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 verification is: Production uses the approved digest recorded in the associated pipeline run. The crucial distinction is: Infrastructure and application delivery need traceable version handoff without mutable assumptions.

D:

The app starts with authorized secret access after an entirely fresh deployment. 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 verification is: Production uses the approved digest recorded in the associated pipeline run. The crucial distinction is: Infrastructure and application delivery need traceable version handoff without mutable assumptions.

Question 716

After implementing the change, the team verifies: An approval gate makes a release appear to take two hours, but actual deployment work takes five minutes. Which result would BEST demonstrate that the issue is corrected?

  1. An intentionally failed release reaches the active on-call group with diagnostic context.
  2. A test report identifies approval latency independently of execution time.
  3. Maintained releases build correctly after old feed access is withdrawn.
  4. A representative flaky test appears as a reliability issue despite eventual job success.

Explanation

Correct Answer

B:

A test report identifies approval latency independently of execution time. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Report approval wait separately and optimize only the relevant bottleneck. Duration analysis should distinguish human wait stages and task execution bottlenecks.

Incorrect Answers

A:

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: A test report identifies approval latency independently of execution time. The crucial distinction is: Duration analysis should distinguish human wait stages and task execution bottlenecks.

C:

Maintained releases build correctly after old feed access is withdrawn. This would address a different situation, such as: A package registry is scheduled for migration, but retired feeds still contain dependencies used by maintained builds. In the present case, the most directly relevant verification is: A test report identifies approval latency independently of execution time. The crucial distinction is: Duration analysis should distinguish human wait stages and task execution bottlenecks.

D:

A representative flaky test appears as a reliability issue despite eventual job success. 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 verification is: A test report identifies approval latency independently of execution time. The crucial distinction is: Duration analysis should distinguish human wait stages and task execution bottlenecks.

Question 717

The DevOps team must resolve this situation: A release database task retries after a timeout and creates duplicate schema objects, causing subsequent deployments to fail. Which engineering action is MOST appropriate?

  1. Use backward-compatible API rollout and explicit dependent stage ordering.
  2. Use expand-and-contract database changes before traffic migration.
  3. Deploy the candidate to a staging slot, validate health, then perform a controlled swap.
  4. Use a controlled migration framework with version tracking and idempotent safeguards.

Explanation

Correct Answer

D:

Use a controlled migration framework with version tracking and idempotent safeguards. This action addresses the specific failure or requirement and preserves delivery controls. Validation criterion: Replaying a completed migration does not corrupt or duplicate the schema. Database deployment scripts should be repeatable or safely versioned with migration state.

Incorrect Answers

A:

Use backward-compatible API rollout and explicit dependent stage ordering. 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 engineering action is: Use a controlled migration framework with version tracking and idempotent safeguards. The crucial distinction is: Database deployment scripts should be repeatable or safely versioned with migration state.

B:

Use expand-and-contract database changes before traffic migration. This would address a different situation, such as: An App Service slot swap puts new code online while old instances still write to a shared Azure SQL schema. In the present case, the most directly relevant engineering action is: Use a controlled migration framework with version tracking and idempotent safeguards. The crucial distinction is: Database deployment scripts should be repeatable or safely versioned with migration state.

C:

Deploy the candidate to a staging slot, validate health, then perform a controlled swap. This would address a different situation, such as: A web application must deploy without interruption, but direct production updates restart every active instance. In the present case, the most directly relevant engineering action is: Use a controlled migration framework with version tracking and idempotent safeguards. The crucial distinction is: Database deployment scripts should be repeatable or safely versioned with migration state.

Question 718

A Microsoft DevOps team is addressing: A dashboard measures deployment frequency but calculates lead time from the first commit in an unrelated repository. Which TWO complementary actions should be taken? Select TWO answers.

  1. Calculate lead time for eligible service changes from commit to actual production deployment.
  2. Review service classifications, deployment events, reliability targets and cohort selection.
  3. Inspect workflow states, audit logs, start-of-work criteria and board queries.
  4. Review pipeline test publications, excluded suites, flaky test logs and quality thresholds.
  5. Inspect commit timestamps, deployment records, service ownership and calculation filters.

Explanation

Correct Answers

A:

Calculate lead time for eligible service changes from commit to actual production deployment. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect commit timestamps, deployment records, service ownership and calculation filters. Together they address: DevOps metrics require precise event definitions and consistent populations.

E:

Inspect commit timestamps, deployment records, service ownership and calculation filters. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Calculate lead time for eligible service changes from commit to actual production deployment. Together they address: DevOps metrics require precise event definitions and consistent populations.

Incorrect Answers

B:

Review service classifications, deployment events, reliability targets and cohort selection. This concerns a different DevOps situation: A company combines experimental internal tools and regulated payment services into one deployment-frequency ranking. This case instead requires both a targeted investigation (Inspect commit timestamps, deployment records, service ownership and calculation filters.) and a controlled change (Calculate lead time for eligible service changes from commit to actual production deployment.).

C:

Inspect workflow states, audit logs, start-of-work criteria and board queries. This concerns a different DevOps situation: Azure Boards reports near-zero cycle time because teams move stories to Active only when coding is almost finished. This case instead requires both a targeted investigation (Inspect commit timestamps, deployment records, service ownership and calculation filters.) and a controlled change (Calculate lead time for eligible service changes from commit to actual production deployment.).

D:

Review pipeline test publications, excluded suites, flaky test logs and quality thresholds. This concerns a different DevOps situation: A build dashboard reports 100% passing tests by excluding quarantined integration suites without disclosing the exclusions. This case instead requires both a targeted investigation (Inspect commit timestamps, deployment records, service ownership and calculation filters.) and a controlled change (Calculate lead time for eligible service changes from commit to actual production deployment.).

Question 719

After implementing the change, the team verifies: Hundreds of nightly builds run when source code is unchanged, consuming expensive hosted parallel minutes. Which result would BEST demonstrate that the issue is corrected?

  1. An unchanged low-risk repository does not trigger redundant builds while required scans still run.
  2. An unapproved production run is blocked while an authorized approval completes.
  3. A clean replacement hosted image reproduces the expected build.
  4. A production run uses exactly the tested artifact regardless of newer branch builds.

Explanation

Correct Answer

A:

An unchanged low-risk repository does not trigger redundant builds while required scans still run. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Introduce relevant path/branch conditions and appropriately scheduled validation. Pipeline cost optimization should remove redundant executions without weakening required checks.

Incorrect Answers

B:

An unapproved production run is blocked while an authorized approval completes. 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 verification is: An unchanged low-risk repository does not trigger redundant builds while required scans still run. The crucial distinction is: Pipeline cost optimization should remove redundant executions without weakening required checks.

C:

A clean replacement hosted image reproduces the expected build. This would address a different situation, such as: Builds fail after an Azure Pipelines hosted image update because a legacy runtime was implicitly available before. In the present case, the most directly relevant verification is: An unchanged low-risk repository does not trigger redundant builds while required scans still run. The crucial distinction is: Pipeline cost optimization should remove redundant executions without weakening required checks.

D:

A production run uses exactly the tested artifact regardless of newer branch builds. This would address a different situation, such as: A production stage sometimes downloads an artifact from a different branch due to an ambiguous pipeline resource definition. In the present case, the most directly relevant verification is: An unchanged low-risk repository does not trigger redundant builds while required scans still run. The crucial distinction is: Pipeline cost optimization should remove redundant executions without weakening required checks.

Question 720

After implementing the change, the team verifies: Security findings in Azure DevOps repositories never appear in the organization's central Defender for Cloud dashboard. Which result would BEST demonstrate that the issue is corrected?

  1. A policy-incompatible dependency prevents publication until disposition.
  2. A package from an unapproved registry fails the review despite passing unit tests.
  3. A sample repository finding is visible to authorized central security analysts.
  4. A known critical test image is blocked while a remediated digest deploys.

Explanation

Correct Answer

C:

A sample repository finding is visible to authorized central security analysts. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Connect supported Azure DevOps/GitHub resources to Defender for Cloud DevOps Security. DevOps security posture can be integrated into centralized cloud risk monitoring.

Incorrect Answers

A:

A policy-incompatible dependency prevents publication until disposition. This would address a different situation, such as: A binary distribution uses open-source dependencies but its release process does not check license obligations. In the present case, the most directly relevant verification is: A sample repository finding is visible to authorized central security analysts. The crucial distinction is: DevOps security posture can be integrated into centralized cloud risk monitoring.

B:

A package from an unapproved registry fails the review despite passing unit tests. This would address a different situation, such as: A dependency update workflow proposes a new package version but its artifact origin is not recorded, weakening supply-chain review. In the present case, the most directly relevant verification is: A sample repository finding is visible to authorized central security analysts. The crucial distinction is: DevOps security posture can be integrated into centralized cloud risk monitoring.

D:

A known critical test image is blocked while a remediated digest deploys. This would address a different situation, such as: An ACR pipeline pushes vulnerable base images and deploys without considering scan results. In the present case, the most directly relevant verification is: A sample repository finding is visible to authorized central security analysts. The crucial distinction is: DevOps security posture can be integrated into centralized cloud risk monitoring.

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