Pass Microsoft DevOps AZ-400 Exam in First Attempt Easily
Real Microsoft DevOps AZ-400 Exam Questions, Accurate & Verified Answers As Experienced in the Actual Test!

Verified by experts
3 products

You save $69.98

AZ-400 Premium Bundle

  • Premium File 398 Questions & Answers
  • Last Update: Nov 11, 2026
  • Training Course 27 Lectures
  • Study Guide 784 Pages
$79.99 $149.97

Purchase Individually

  • Premium File

    398 Questions & Answers
    Last Update: Nov 11, 2026

    $76.99
    $69.99
  • Training Course

    27 Lectures

    $43.99
    $39.99
  • Study Guide

    784 Pages

    $43.99
    $39.99

Designing and Implementing Microsoft DevOps Solutions AZ-400 Practice Test 10

Question 90

A critical production defect needs a patch today, but the normal release train includes unrelated unverified features.

What is the most appropriate action for this DevOps team?

  1. Use backward-compatible expand-and-contract schema changes before removing old fields.
  2. Create a controlled hotfix path from the production release, validate the targeted change and reconcile it into main.
  3. Use a documented CalVer scheme for chronological releases while separately tracking backward-compatibility obligations.
  4. Gate deployment completion on service-health metrics and invoke rollback when agreed thresholds fail.

Explanation

Correct Answer

B:

Create a controlled hotfix path from the production release, validate the targeted change and reconcile it into main. A distinct expedited path preserves essential test and approval controls while avoiding unrelated functionality. A useful check is that only the reviewed fix reaches the supported deployment and its commit is incorporated into ongoing development.

Incorrect Answers

A:

This is designed for Database expand-contract migration: The expand phase adds compatible schema, data migration occurs safely, and contraction follows after consumers have transitioned.

C:

That intervention fits Date-based versioning: Calendar-based versions express release timing, but do not automatically convey semantic API compatibility.

D:

This is designed for Rollback health criteria: Successful command execution is not proof of healthy user traffic; objective health checks guide safe progression.

Question 91

A team reports 95 percent line coverage yet critical error-handling paths are never tested.

Which observation most directly confirms the required DevOps control is effective?

  1. The flag changes behavior only for the approved cohort and disables the feature without a new binary deployment.
  2. A targeted unit-test failure prevents promotion and reports the failing function within the first CI stage.
  3. A coverage report is paired with tests proving normal, failure and authorization paths behave as required.
  4. An incompatible schema breaks the contract test before either service can release the change.

Explanation

Correct Answer

C:

A coverage report is paired with tests proving normal, failure and authorization paths behave as required. This shows that the control was implemented as intended: collect coverage alongside risk-based assertions and branch or integration test evidence for important behavior. It matters because coverage shows code exercised, not whether assertions verify correct outcomes or critical boundary conditions.

Incorrect Answers

A:

That result would verify Feature flag dark launch, where the relevant control is use a controlled feature flag with scoped audience targeting and an audited kill switch.

B:

This observation would support Unit tests fast feedback, where the relevant control is run fast deterministic unit tests early in CI and fail the build before slower stages on regressions.

D:

That result would verify Contract testing independent release, where the relevant control is add producer-consumer contract tests to both pipelines and gate incompatible interface changes before rollout.

Question 92

A cloud-hosted agent cannot reach an on-premises test endpoint inside a private network.

Which risk most directly follows if the team leaves this problem unresolved?

  1. Known defects or policy violations are shipped because warnings never affect deployment eligibility.
  2. Undetected flaky tests and regressions remain hidden in log text that does not drive release gates.
  3. A direct replacement can create avoidable downtime or expose startup failures to all users.
  4. Teams may expose internal endpoints or bypass tests merely to work around unavailable connectivity.

Explanation

Correct Answer

D:

Teams may expose internal endpoints or bypass tests merely to work around unavailable connectivity. The failure follows from the described gap because an agent placed on an approved reachable network can exercise private services without exposing those services publicly. Mitigate it by choosing to use a securely managed self-hosted agent with approved private connectivity and narrowly scoped credentials.

Incorrect Answers

A:

This risk is associated with Quality security release gate: A gate turns verifiable quality and risk evidence into an enforceable deployment decision rather than advisory console output. The present scenario instead leaves the test agent network isolation requirement unresolved, which creates this more direct risk: teams may expose internal endpoints or bypass tests merely to work around unavailable connectivity.

B:

That consequence is characteristic of Publish test results: Structured test results allow failures and trends to be associated with builds and commits, instead of buried in unstructured logs. The present scenario instead leaves the test agent network isolation requirement unresolved, which creates this more direct risk: teams may expose internal endpoints or bypass tests merely to work around unavailable connectivity.

C:

That is a credible failure of Azure App Service deployment slot: Slots provide a separately deployed target and controlled swap that can reduce disruption when application startup is validated. The present scenario instead leaves the test agent network isolation requirement unresolved, which creates this more direct risk: teams may expose internal endpoints or bypass tests merely to work around unavailable connectivity.

Question 93

A developer committed a service credential, deleted it in a later commit and assumes the leak has ended.

Which explanation best supports the needed implementation decision?

  1. Deleting a current file does not remove earlier Git objects or copies; invalidating the credential is the immediate security control.
  2. Optimized Git enlistments and reduced working-tree scope can make monorepo operations practical without splitting required source history.
  3. A release tag marks an intended commit, while signing and tag protection add evidence against unauthorized retargeting.
  4. Frequent small integrations reduce divergence while flags separate code integration from customer feature exposure.

Explanation

Correct Answer

A:

Deleting a current file does not remove earlier Git objects or copies; invalidating the credential is the immediate security control. The appropriate response is to revoke and rotate the exposed credential immediately, remove sensitive history using an approved rewrite and coordinate downstream cleanup. The expected evidence is that the exposed token no longer authenticates and approved history-remediation checks find no accessible sensitive object.

Incorrect Answers

B:

This reasoning pertains to Scalar for large monorepo: Optimized Git enlistments and reduced working-tree scope can make monorepo operations practical without splitting required source history.

C:

That explanation is about Signed annotated release tags: A release tag marks an intended commit, while signing and tag protection add evidence against unauthorized retargeting.

D:

This describes the mechanism for Trunk-based short branches: Frequent small integrations reduce divergence while flags separate code integration from customer feature exposure.

Question 94

A cloud team repeatedly creates inconsistent Azure resource groups by following screenshots and console instructions.

Which explanation best supports the needed implementation decision?

  1. Rings separate user populations for controlled exposure and detect population-specific problems before broad deployment.
  2. Declarative IaC expresses intended Azure resource configurations and enables repeatable, reviewed deployment rather than manual portal drift.
  3. Version-controlled IaC can contain safe configuration values, but privileged credentials require a protected secret delivery path.
  4. Deployment Environments enables self-service provisioning through approved templates rather than arbitrary subscription-wide access.

Explanation

Correct Answer

B:

Declarative IaC expresses intended Azure resource configurations and enables repeatable, reviewed deployment rather than manual portal drift. The appropriate response is to define Azure resources in version-controlled Bicep modules and deploy them through reviewed pipelines. The expected evidence is that independent test environments deploy the same approved definitions with controlled parameter differences.

Incorrect Answers

A:

This reasoning pertains to Ring deployment cohort: Rings separate user populations for controlled exposure and detect population-specific problems before broad deployment.

C:

This describes the mechanism for Environment parameters without secrets: Version-controlled IaC can contain safe configuration values, but privileged credentials require a protected secret delivery path.

D:

This reasoning pertains to Azure Deployment Environments: Deployment Environments enables self-service provisioning through approved templates rather than arbitrary subscription-wide access.

Question 95

A distributed payments team merges tickets without linking pull requests, so product managers cannot follow fixes from work items to deployments.

What is the most appropriate action for this DevOps team?

  1. Maintain reviewed Markdown documentation and Mermaid diagrams alongside the service delivery workflow.
  2. Model explicit states, owners and handoff criteria for each work stage in Azure Boards or GitHub Projects.
  3. Establish GitHub Flow with short branches, reviewed pull requests, and explicit issue-to-commit and deployment links.
  4. Connect Azure Boards with GitHub and associate pull requests and commits with the corresponding work items.

Explanation

Correct Answer

C:

Establish GitHub Flow with short branches, reviewed pull requests, and explicit issue-to-commit and deployment links. Linking issues, pull requests, commits, checks, and releases gives stakeholders traceability without requiring a long-lived branch per ticket. A useful check is that a sampled change can be followed from an issue through its reviewed pull request, successful build and deployed version.

Incorrect Answers

A:

That intervention fits Wiki and process diagrams: Version-controlled documentation can evolve through ordinary review and makes dependencies inspectable by engineers and operators.

B:

This is designed for Cross-team workflow handoffs: An explicit work-item flow gives each team a shared view of readiness and blocked dependencies rather than separate informal queues.

D:

That intervention fits Azure Boards GitHub traceability: The Boards-GitHub integration surfaces development activity against the planning record, supporting end-to-end traceability across services.

Question 96

A payments team wants Azure Pipelines production approval owned by the environment administrators, not YAML authors.

Which risk most directly follows if the team leaves this problem unresolved?

  1. A mutable tag can resolve to untested or compromised bytes at deployment time.
  2. Implicit downloads from uncontrolled source locations can change pipeline behavior without review.
  3. Choosing solely by vendor name can create duplicative infrastructure and leave approval requirements unmet.
  4. A developer could delete an in-YAML approval step and deploy without independent authorization.

Explanation

Correct Answer

D:

A developer could delete an in-YAML approval step and deploy without independent authorization. The failure follows from the described gap because environment checks are managed on the resource rather than inside the pipeline YAML, resisting bypass by repository edits. Mitigate it by choosing to configure the approval as a protected Azure Pipelines environment check owned outside editable YAML.

Incorrect Answers

A:

That consequence is characteristic of Container image digest promotion: Image digests identify exact content, preserving supply-chain consistency across environments despite tag changes. The present scenario instead leaves the yaml environments approvals requirement unresolved, which creates this more direct risk: a developer could delete an in-YAML approval step and deploy without independent authorization.

B:

That is a credible failure of Cross-repository pipeline checkout: Explicit repository resources make multi-repository dependencies reproducible and subject to service-connection and permission checks. The present scenario instead leaves the yaml environments approvals requirement unresolved, which creates this more direct risk: a developer could delete an in-YAML approval step and deploy without independent authorization.

C:

This risk is associated with GitHub Actions versus Azure Pipelines: Both GitHub Actions and Azure Pipelines can automate CI/CD, but repository integration and governance capabilities determine the appropriate fit. The present scenario instead leaves the yaml environments approvals requirement unresolved, which creates this more direct risk: a developer could delete an in-YAML approval step and deploy without independent authorization.

Question 97

An external consultant has Project Administrator access although they only need to view sprint status in Azure Boards.

Which observation most directly confirms the required DevOps control is effective?

  1. The consultant performs the approved board review but cannot edit build service connections or project security.
  2. The bot updates only installed repositories with the approved permissions and cannot read unrelated projects.
  3. The workload obtains a token and reaches only the authorized resource without a credential in source or logs.
  4. The job accesses the approved secret at runtime and no secret value is present in repository history or published artifacts.

Explanation

Correct Answer

A:

The consultant performs the approved board review but cannot edit build service connections or project security. This shows that the control was implemented as intended: assign appropriate Azure DevOps access levels and group roles according to actual work responsibilities. It matters because access levels govern available features while permissions and security groups govern allowed actions; both matter for least privilege.

Incorrect Answers

B:

This observation would support GitHub App scope, where the relevant control is use a GitHub App installation with narrowly requested repository permissions and short-lived installation tokens.

C:

Such evidence would establish Managed identity versus service principal, where the relevant control is use a managed identity for the Azure-hosted workload and assign minimal target-resource RBAC roles.

D:

That result would verify Key Vault runtime secret retrieval, where the relevant control is store sensitive values in Azure Key Vault and retrieve them through authorized pipeline identities at execution time.

Question 98

A retail company has inconsistent shared SDK dependencies because each repository hosts its own copied binary artifact.

Which explanation best supports the needed implementation decision?

  1. Retries are reliable only when repeated execution has a defined effect and partial failures are detectable.
  2. A central package feed provides controlled distribution and dependency metadata instead of silently copying libraries between repositories.
  3. Upstream caching serves previously resolved packages from the controlled feed and reduces direct external registry dependence.
  4. Views provide curated subsets of immutable feed packages for different consumer readiness levels.

Explanation

Correct Answer

B:

A central package feed provides controlled distribution and dependency metadata instead of silently copying libraries between repositories. The appropriate response is to publish shared versioned packages to a governed Azure Artifacts feed and reference them explicitly in consumer builds. The expected evidence is that a downstream build restores the approved shared package version and can trace it to a reviewed publication.

Incorrect Answers

A:

That explanation is about Pipeline retry boundaries: Retries are reliable only when repeated execution has a defined effect and partial failures are detectable.

C:

This reasoning pertains to Upstream package cache: Upstream caching serves previously resolved packages from the controlled feed and reduces direct external registry dependence.

D:

That explanation is about Package feed views: Views provide curated subsets of immutable feed packages for different consumer readiness levels.

Question 99

A customer security bug requires a narrow deployment to the supported version without waiting for the next feature release.

Which risk most directly follows if the team leaves this problem unresolved?

  1. An unanticipated deletion or configuration drift reaches production without prior impact review.
  2. A mutable tag can resolve to untested or compromised bytes at deployment time.
  3. Deploying the entire main branch may introduce unapproved features during emergency remediation.
  4. A direct replacement can create avoidable downtime or expose startup failures to all users.

Explanation

Correct Answer

C:

Deploying the entire main branch may introduce unapproved features during emergency remediation. The failure follows from the described gap because a distinct expedited path preserves essential test and approval controls while avoiding unrelated functionality. Mitigate it by choosing to create a controlled hotfix path from the production release, validate the targeted change and reconcile it into main.

Incorrect Answers

A:

That consequence is characteristic of ARM what-if safety: What-if predicts resource effects without modifying live state, supporting risk review of declarative changes. The present scenario instead leaves the hotfix path requirement unresolved, which creates this more direct risk: deploying the entire main branch may introduce unapproved features during emergency remediation.

B:

That is a credible failure of Container image digest promotion: Image digests identify exact content, preserving supply-chain consistency across environments despite tag changes. The present scenario instead leaves the hotfix path requirement unresolved, which creates this more direct risk: deploying the entire main branch may introduce unapproved features during emergency remediation.

D:

That consequence is characteristic of Azure App Service deployment slot: Slots provide a separately deployed target and controlled swap that can reduce disruption when application startup is validated. The present scenario instead leaves the hotfix path requirement unresolved, which creates this more direct risk: deploying the entire main branch may introduce unapproved features during emergency remediation.

Question 100

A signed deployment requires a certificate file but the team proposes publishing its private key as an ordinary build artifact.

Which risk most directly follows if the team leaves this problem unresolved?

  1. A compromised pipeline could reconfigure production resources outside its intended deployment target.
  2. Credential exposure through YAML or build output can compromise downstream production resources.
  3. One leaked token compromises multiple environments and emergency rotation breaks unrelated services.
  4. A private certificate or provisioning file may be leaked through normal artifact downloads.

Explanation

Correct Answer

D:

A private certificate or provisioning file may be leaked through normal artifact downloads. The failure follows from the described gap because secure files are protected pipeline resources with permissions and checks, unlike publicly retrievable general artifacts. Mitigate it by choosing to use Azure Pipelines secure files with access restrictions and approved tasks to deliver the file only to authorized jobs.

Incorrect Answers

A:

That is a credible failure of Service connection scope: Service connections are privileged deployment identities, so resource RBAC and use restrictions should match actual blast radius. The present scenario instead leaves the azure pipelines secure files requirement unresolved, which creates this more direct risk: a private certificate or provisioning file may be leaked through normal artifact downloads.

B:

This risk is associated with Key Vault runtime secret retrieval: A dedicated secret store provides access control, rotation and auditing while preventing credentials from becoming ordinary source artifacts. The present scenario instead leaves the azure pipelines secure files requirement unresolved, which creates this more direct risk: a private certificate or provisioning file may be leaked through normal artifact downloads.

C:

That consequence is characteristic of Secret rotation and scope: Scoped identities and rehearsed rotation reduce the security impact and operational disruption of credential compromise. The present scenario instead leaves the azure pipelines secure files requirement unresolved, which creates this more direct risk: a private certificate or provisioning file may be leaked through normal artifact downloads.

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

Purchase Individually

  • Premium File

    398 Questions & Answers
    Last Update: Nov 11, 2026

    $76.99
    $69.99
  • Training Course

    27 Lectures

    $43.99
    $39.99
  • Study Guide

    784 Pages

    $43.99
    $39.99

SPECIAL OFFER: GET 10% OFF
This is ONE TIME OFFER

You save
10%

Enter Your Email Address to Receive Your 10% Off Discount Code

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

Please check your mailbox for a message from support@examlabs.com and follow the directions.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your email address below to get started with our interactive software demo of your free trial.

  • Realistic exam simulation and exam editor with preview functions
  • Whole exam in a single file with several different question types
  • Customizable exam-taking mode & detailed score reports