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 76

Question 750

A Microsoft DevOps team is addressing: Developers can edit protected deployment environments and approve their own releases because one group owns all project settings. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect security groups, environment approvers, service connection owners and bypass rights.
  2. Separate pipeline authors from release-approval administrators and audit exceptions.
  3. Inspect service connection credentials, Entra federated subject, role assignments and usage logs.
  4. Invite an outside collaborator with restricted access to the reviewed repository.
  5. Inspect App Service identity settings, storage RBAC and credential history.

Explanation

Correct Answers

A:

Inspect security groups, environment approvers, service connection owners and bypass rights. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Separate pipeline authors from release-approval administrators and audit exceptions. Together they address: Administrative and approval authority should be segregated for sensitive deployments.

B:

Separate pipeline authors from release-approval administrators and audit exceptions. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect security groups, environment approvers, service connection owners and bypass rights. Together they address: Administrative and approval authority should be segregated for sensitive deployments.

Incorrect Answers

C:

Inspect service connection credentials, Entra federated subject, role assignments and usage logs. This concerns a different DevOps situation: A deployment workflow has a client secret in a variable group that is copied between projects and never rotated. This case instead requires both a targeted investigation (Inspect security groups, environment approvers, service connection owners and bypass rights.) and a controlled change (Separate pipeline authors from release-approval administrators and audit exceptions.).

D:

Invite an outside collaborator with restricted access to the reviewed repository. This concerns a different DevOps situation: An external auditor needs read access to one private repository, but is added as an owner of the whole organization. This case instead requires both a targeted investigation (Inspect security groups, environment approvers, service connection owners and bypass rights.) and a controlled change (Separate pipeline authors from release-approval administrators and audit exceptions.).

E:

Inspect App Service identity settings, storage RBAC and credential history. This concerns a different DevOps situation: An App Service accesses Azure Storage using a connection string containing an account key in source control. This case instead requires both a targeted investigation (Inspect security groups, environment approvers, service connection owners and bypass rights.) and a controlled change (Separate pipeline authors from release-approval administrators and audit exceptions.).

Question 751

An Azure DevOps engineering team evaluates this condition: 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 DevOps principle BEST explains the underlying weakness?

  1. Certificate deployment must match required private-key access and target service configuration.
  2. Sensitive binary signing files need protected storage and controlled access.
  3. Sensitive deployment files should use authenticated encrypted storage and tightly scoped access.
  4. Credential issuance should occur only after the protected environment gate and trust checks.

Explanation

Correct Answer

A:

Certificate deployment must match required private-key access and target service configuration. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect Key Vault certificate/secret objects, identity rights and App Service bindings. An appropriate controlled response is: Deploy the appropriately authorized certificate material through supported bindings and managed access.

Incorrect Answers

B:

Sensitive binary signing files need protected storage and controlled access. This would address a different situation, such as: A mobile signing certificate is embedded as Base64 directly in a public pipeline YAML file. In the present case, the most directly relevant principle is: Certificate deployment must match required private-key access and target service configuration. The crucial distinction is: Certificate deployment must match required private-key access and target service configuration.

C:

Sensitive deployment files should use authenticated encrypted storage and tightly scoped access. 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 principle is: Certificate deployment must match required private-key access and target service configuration. The crucial distinction is: Certificate deployment must match required private-key access and target service configuration.

D:

Credential issuance should occur only after the protected environment gate and trust checks. This would address a different situation, such as: A GitHub environment is protected, but the deployment job obtains Azure credentials in an earlier unprotected build step. In the present case, the most directly relevant principle is: Certificate deployment must match required private-key access and target service configuration. The crucial distinction is: Certificate deployment must match required private-key access and target service configuration.

Question 752

After implementing the change, the team verifies: A half-finished payment feature accidentally activates immediately when its code merges into main. Which result would BEST demonstrate that the issue is corrected?

  1. A later tag overwrite cannot change the image selected for this release.
  2. An in-flight checkout completes during a controlled target replacement.
  3. The feature remains off for ordinary users until a governed activation occurs.
  4. A sample rollout maintains required ready endpoints with no response interruption.

Explanation

Correct Answer

C:

The feature remains off for ordinary users until a governed activation occurs. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Deploy behind a disabled flag and enable for an approved targeted cohort after validation. Feature flag control separates deployment from governed feature activation.

Incorrect Answers

A:

A later tag overwrite cannot change the image selected for this release. 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 verification is: The feature remains off for ordinary users until a governed activation occurs. The crucial distinction is: Feature flag control separates deployment from governed feature activation.

B:

An in-flight checkout completes during a controlled target replacement. This would address a different situation, such as: A deployment removes an application instance while it has open customer sessions, causing dropped purchases. In the present case, the most directly relevant verification is: The feature remains off for ordinary users until a governed activation occurs. The crucial distinction is: Feature flag control separates deployment from governed feature activation.

D:

A sample rollout maintains required ready endpoints with no response interruption. 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 verification is: The feature remains off for ordinary users until a governed activation occurs. The crucial distinction is: Feature flag control separates deployment from governed feature activation.

Question 753

Before changing the pipeline or service, engineers find: Builds fail after an Azure Pipelines hosted image update because a legacy runtime was implicitly available before. Which evidence should the engineer inspect FIRST?

  1. Inspect run timelines, environment approval events and task durations.
  2. Inspect agent image announcement, demands, SDK versions and task compatibility.
  3. Review alert subscriptions, team ownership, failure history and escalation paths.
  4. Inspect free disk, workspace lifecycle, container images and failure records.

Explanation

Correct Answer

B:

Inspect agent image announcement, demands, SDK versions and task compatibility. This directly checks the uncertain behavior or control before changing production. Pipelines should declare supported tooling instead of depending on incidental agent image contents. The resulting targeted action is: Pin or explicitly install supported toolchains and test migrations before image retirement.

Incorrect Answers

A:

Inspect run timelines, environment approval events and task durations. 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 evidence is: Inspect agent image announcement, demands, SDK versions and task compatibility. The crucial distinction is: Pipelines should declare supported tooling instead of depending on incidental agent image contents.

C:

Review alert subscriptions, team ownership, failure history and escalation paths. 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 evidence is: Inspect agent image announcement, demands, SDK versions and task compatibility. The crucial distinction is: Pipelines should declare supported tooling instead of depending on incidental agent image contents.

D:

Inspect free disk, workspace lifecycle, container images and failure records. This would address a different situation, such as: A self-hosted agent fails after months because workspace and Docker layer caches exhaust disk space. In the present case, the most directly relevant evidence is: Inspect agent image announcement, demands, SDK versions and task compatibility. The crucial distinction is: Pipelines should declare supported tooling instead of depending on incidental agent image contents.

Question 754

An Azure DevOps engineering team evaluates this condition: A business rule has 100% line coverage, but tests still pass when its comparison operator is reversed. Which DevOps principle BEST explains the underlying weakness?

  1. Integration tests must exercise representative dependent services and configuration.
  2. Release validation should test critical business journeys rather than only process liveness.
  3. Coverage alone does not establish assertion quality or defect-detection strength.
  4. Release gates must evaluate approved risk exceptions and mandatory security criteria.

Explanation

Correct Answer

C:

Coverage alone does not establish assertion quality or defect-detection strength. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect coverage details, assertions, mutation results and test cases. An appropriate controlled response is: Improve boundary-value assertions and use mutation or targeted fault tests as appropriate.

Incorrect Answers

A:

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: Coverage alone does not establish assertion quality or defect-detection strength. The crucial distinction is: Coverage alone does not establish assertion quality or defect-detection strength.

B:

Release validation should test critical business journeys rather than only process liveness. 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 principle is: Coverage alone does not establish assertion quality or defect-detection strength. The crucial distinction is: Coverage alone does not establish assertion quality or defect-detection strength.

D:

Release gates must evaluate approved risk exceptions and mandatory security criteria. This would address a different situation, such as: A deployment receives approval even when a required penetration-test issue remains unresolved and unaccepted. In the present case, the most directly relevant principle is: Coverage alone does not establish assertion quality or defect-detection strength. The crucial distinction is: Coverage alone does not establish assertion quality or defect-detection strength.

Question 755

An Azure DevOps engineering team evaluates this condition: Release rollback fails because the pipeline cleaned the package version deployed last week. Which DevOps principle BEST explains the underlying weakness?

  1. SemVer major versions communicate incompatible public API changes.
  2. Retention must preserve artifacts and dependencies required for defined rollback windows.
  3. Package feed roles should separate consumer, publisher and administrative permissions.
  4. Transitive dependency resolution must be reproducible and security-reviewed.

Explanation

Correct Answer

B:

Retention must preserve artifacts and dependencies required for defined rollback windows. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Inspect release history, retention settings, artifact references and support policy. An appropriate controlled response is: Protect deployed and rollback-candidate artifacts with defined retention exceptions.

Incorrect Answers

A:

SemVer major versions communicate incompatible public API changes. This would address a different situation, such as: An internal SDK removes a public method yet publishes the next build as a patch release, breaking consumers. In the present case, the most directly relevant principle is: Retention must preserve artifacts and dependencies required for defined rollback windows. The crucial distinction is: Retention must preserve artifacts and dependencies required for defined rollback windows.

C:

Package feed roles should separate consumer, publisher and administrative permissions. This would address a different situation, such as: Every developer can delete the versions of a private production library that other teams depend on. In the present case, the most directly relevant principle is: Retention must preserve artifacts and dependencies required for defined rollback windows. The crucial distinction is: Retention must preserve artifacts and dependencies required for defined rollback windows.

D:

Transitive dependency resolution must be reproducible and security-reviewed. This would address a different situation, such as: A Node application pins a top-level package but a transitive dependency introduces an unreviewed major behavior change. In the present case, the most directly relevant principle is: Retention must preserve artifacts and dependencies required for defined rollback windows. The crucial distinction is: Retention must preserve artifacts and dependencies required for defined rollback windows.

Question 756

After implementing the change, the team verifies: A release database task retries after a timeout and creates duplicate schema objects, causing subsequent deployments to fail. Which result would BEST demonstrate that the issue is corrected?

  1. A rehearsal keeps the user journey working throughout both component deployments.
  2. A deliberately invalid chart cannot leave the cluster on an unapproved broken release.
  3. Replaying a completed migration does not corrupt or duplicate the schema.
  4. A sample rollout maintains required ready endpoints with no response interruption.

Explanation

Correct Answer

C:

Replaying a completed migration does not corrupt or duplicate the schema. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Use a controlled migration framework with version tracking and idempotent safeguards. Database deployment scripts should be repeatable or safely versioned with migration state.

Incorrect Answers

A:

A rehearsal keeps the user journey working throughout both component deployments. This would address a different situation, such as: A frontend release calls an API endpoint introduced only by a backend deployment scheduled later, breaking all sessions. In the present case, the most directly relevant verification is: Replaying a completed migration does not corrupt or duplicate the schema. The crucial distinction is: Database deployment scripts should be repeatable or safely versioned with migration state.

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: Replaying a completed migration does not corrupt or duplicate the schema. The crucial distinction is: Database deployment scripts should be repeatable or safely versioned with migration state.

D:

A sample rollout maintains required ready endpoints with no response interruption. 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 verification is: Replaying a completed migration does not corrupt or duplicate the schema. The crucial distinction is: Database deployment scripts should be repeatable or safely versioned with migration state.

Question 757

A Microsoft DevOps team is addressing: A package registry is scheduled for migration, but retired feeds still contain dependencies used by maintained builds. Which TWO complementary actions should be taken? Select TWO answers.

  1. Inspect package restore sources, build manifests, feed versions and migration schedule.
  2. Inspect free disk, workspace lifecycle, container images and failure records.
  3. Use dependency-aware cache keys and safe restore fallback behavior.
  4. Migrate to workload identity federation or controlled rotation with alerting.
  5. Mirror or migrate required immutable package versions before switching consumers.

Explanation

Correct Answers

A:

Inspect package restore sources, build manifests, feed versions and migration schedule. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Mirror or migrate required immutable package versions before switching consumers. Together they address: Pipeline migration must account for external dependencies and supported retention.

E:

Mirror or migrate required immutable package versions before switching consumers. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect package restore sources, build manifests, feed versions and migration schedule. Together they address: Pipeline migration must account for external dependencies and supported retention.

Incorrect Answers

B:

Inspect free disk, workspace lifecycle, container images and failure records. This concerns a different DevOps situation: A self-hosted agent fails after months because workspace and Docker layer caches exhaust disk space. This case instead requires both a targeted investigation (Inspect package restore sources, build manifests, feed versions and migration schedule.) and a controlled change (Mirror or migrate required immutable package versions before switching consumers.).

C:

Use dependency-aware cache keys and safe restore fallback behavior. This concerns a different DevOps situation: A pipeline caches packages under one global key even after lockfile changes, causing inconsistent builds. This case instead requires both a targeted investigation (Inspect package restore sources, build manifests, feed versions and migration schedule.) and a controlled change (Mirror or migrate required immutable package versions before switching consumers.).

D:

Migrate to workload identity federation or controlled rotation with alerting. This concerns a different DevOps situation: A legacy release service principal secret is set to expire tomorrow and pipeline maintenance has no automated credential lifecycle. This case instead requires both a targeted investigation (Inspect package restore sources, build manifests, feed versions and migration schedule.) and a controlled change (Mirror or migrate required immutable package versions before switching consumers.).

Question 758

After implementing the change, the team verifies: A package registry is scheduled for migration, but retired feeds still contain dependencies used by maintained builds. Which result would BEST demonstrate that the issue is corrected?

  1. A representative debug run completes without exposing a valid credential.
  2. Changing the dependency lockfile triggers a new compatible cache.
  3. A trial optimization improves completion time at acceptable agent cost.
  4. Maintained releases build correctly after old feed access is withdrawn.

Explanation

Correct Answer

D:

Maintained releases build correctly after old feed access is withdrawn. This measures the actual expected outcome, rather than trusting only a configuration flag. Implemented action: Mirror or migrate required immutable package versions before switching consumers. Pipeline migration must account for external dependencies and supported retention.

Incorrect Answers

A:

A representative debug run completes without exposing a valid credential. This would address a different situation, such as: Verbose diagnostic logging starts printing deployment tokens after a new task version update. In the present case, the most directly relevant verification is: Maintained releases build correctly after old feed access is withdrawn. The crucial distinction is: Pipeline migration must account for external dependencies and supported retention.

B:

Changing the dependency lockfile triggers a new compatible cache. This would address a different situation, such as: A pipeline caches packages under one global key even after lockfile changes, causing inconsistent builds. In the present case, the most directly relevant verification is: Maintained releases build correctly after old feed access is withdrawn. The crucial distinction is: Pipeline migration must account for external dependencies and supported retention.

C:

A trial optimization improves completion time at acceptable agent cost. 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 verification is: Maintained releases build correctly after old feed access is withdrawn. The crucial distinction is: Pipeline migration must account for external dependencies and supported retention.

Question 759

An Azure DevOps engineering team evaluates this condition: A pipeline takes 50 minutes, but dashboard owners cannot distinguish runner queue delays from actual build execution. Which DevOps principle BEST explains the underlying weakness?

  1. Delivery optimization needs separate measurements for queue, execution and waiting stages.
  2. Process metrics should disclose sampling limitations and actionable qualitative context.
  3. Flow metrics depend on consistent state-transition definitions and truthful process data.
  4. Operational metrics must be interpreted by service context and business risk.

Explanation

Correct Answer

A:

Delivery optimization needs separate measurements for queue, execution and waiting stages. This principle identifies the risk or delivery weakness in the case. Relevant evidence: Compare queue timestamps, job timings, capacity saturation and approval intervals. An appropriate controlled response is: Instrument pipeline stage durations and track queue waiting separately from execution.

Incorrect Answers

B:

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: Delivery optimization needs separate measurements for queue, execution and waiting stages. The crucial distinction is: Delivery optimization needs separate measurements for queue, execution and waiting stages.

C:

Flow metrics depend on consistent state-transition definitions and truthful process data. This would address a different situation, such as: Azure Boards reports near-zero cycle time because teams move stories to Active only when coding is almost finished. In the present case, the most directly relevant principle is: Delivery optimization needs separate measurements for queue, execution and waiting stages. The crucial distinction is: Delivery optimization needs separate measurements for queue, execution and waiting stages.

D:

Operational metrics must be interpreted by service context and business risk. This would address a different situation, such as: A company combines experimental internal tools and regulated payment services into one deployment-frequency ranking. In the present case, the most directly relevant principle is: Delivery optimization needs separate measurements for queue, execution and waiting stages. The crucial distinction is: Delivery optimization needs separate measurements for queue, execution and waiting stages.

Question 760

A Microsoft DevOps team is addressing: A team cannot tell when a pull request is waiting for security approval versus failed tests. Which TWO complementary actions should be taken? Select TWO answers.

  1. Link dependent work items across teams and use delivery plans to visualize blockers.
  2. Relate production bugs to failing or missing tests and preventive backlog work.
  3. Use a structured GitHub Issues intake process with ownership, labels and linked fixes.
  4. Inspect pull request check states, required reviewers, labels and notification settings.
  5. Configure meaningful status checks, reviewer ownership and notification routing.

Explanation

Correct Answers

D:

Inspect pull request check states, required reviewers, labels and notification settings. This supplies the diagnosis/evidence needed for the scenario. Its complementary step is: Configure meaningful status checks, reviewer ownership and notification routing. Together they address: Delivery flow status must distinguish actionable approval, test and dependency bottlenecks.

E:

Configure meaningful status checks, reviewer ownership and notification routing. This supplies the controlled implementation needed for the scenario. Its complementary step is: Inspect pull request check states, required reviewers, labels and notification settings. Together they address: Delivery flow status must distinguish actionable approval, test and dependency bottlenecks.

Incorrect Answers

A:

Link dependent work items across teams and use delivery plans to visualize blockers. This concerns a different DevOps situation: A platform dependency blocks three application teams, but each Azure Boards team tracks a separate unrelated task. This case instead requires both a targeted investigation (Inspect pull request check states, required reviewers, labels and notification settings.) and a controlled change (Configure meaningful status checks, reviewer ownership and notification routing.).

B:

Relate production bugs to failing or missing tests and preventive backlog work. This concerns a different DevOps situation: Several production defects were fixed, but QA cannot determine which automated test gaps allowed them to escape. This case instead requires both a targeted investigation (Inspect pull request check states, required reviewers, labels and notification settings.) and a controlled change (Configure meaningful status checks, reviewer ownership and notification routing.).

C:

Use a structured GitHub Issues intake process with ownership, labels and linked fixes. This concerns a different DevOps situation: Customer-reported bugs arrive in chat messages and are never consistently recorded for the development team. This case instead requires both a targeted investigation (Inspect pull request check states, required reviewers, labels and notification settings.) and a controlled change (Configure meaningful status checks, reviewer ownership and notification routing.).

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