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 77

Question 760

A web API has many 500 responses but operations cannot tell which endpoint accounts for the majority over the last hour.

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

  1. Failed requests link to exceptions and dependencies with consistent operation correlation.
  2. A single user request displays its dependent spans and the slow or failed downstream component.
  3. Release markers correlate with measured latency and errors, and a regression triggers a documented corrective action.
  4. A validated query shows failure counts by endpoint for the correct time window with drill-down to source events.

Explanation

Correct Answer

D:

A validated query shows failure counts by endpoint for the correct time window with drill-down to source events. This shows that the control was implemented as intended: query the relevant Azure Monitor Logs tables with KQL filters, summarize counts and order by failure frequency. It matters because kusto Query Language supports time-window filtering, aggregation and ranking of collected telemetry for focused diagnosis.

Incorrect Answers

A:

That result would verify Application Insights request telemetry, where the relevant control is instrument the application with Application Insights request, dependency, exception and correlation telemetry.

B:

This observation would support Correlated distributed traces, where the relevant control is use correlated distributed tracing across instrumented services with propagated operation identifiers.

C:

Such evidence would establish Telemetry SLO feedback loop, where the relevant control is define service-level indicators and use deployment annotations and telemetry-driven post-release feedback.

Question 761

A critical API must switch between two complete deployments and retain a fast rollback route without long downtime.

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

  1. An untested one-step replacement can interrupt the service with no prepared fallback.
  2. Undetected flaky tests and regressions remain hidden in log text that does not drive release gates.
  3. Unapproved customers may see incomplete functionality and rollback may require an entire emergency release.
  4. A latent production-only defect affects all customers at once after a full switch.

Explanation

Correct Answer

A:

An untested one-step replacement can interrupt the service with no prepared fallback. The failure follows from the described gap because blue-green deployment separates preparation from traffic cutover and preserves the previous healthy environment for reversal. Mitigate it by choosing to deploy the new version to a separate green environment, validate it, then switch traffic with rollback available.

Incorrect Answers

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 blue-green cutover requirement unresolved, which creates this more direct risk: an untested one-step replacement can interrupt the service with no prepared fallback.

C:

That is a credible failure of Feature flag dark launch: Feature flags decouple delivery of code from exposure of functionality, allowing targeted enablement and rapid disablement. The present scenario instead leaves the blue-green cutover requirement unresolved, which creates this more direct risk: an untested one-step replacement can interrupt the service with no prepared fallback.

D:

This risk is associated with Canary progressive exposure: Progressive exposure limits the blast radius of a defective release and generates production observations before full cutover. The present scenario instead leaves the blue-green cutover requirement unresolved, which creates this more direct risk: an untested one-step replacement can interrupt the service with no prepared fallback.

Question 762

A deployment pipeline references a mutable container tag so production may pull a different image from the one 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. The production workload reports the same approved image digest that passed integration and scanning gates.
  3. A test or security failure prevents the protected deployment and records the unsuccessful check.
  4. The staged slot passes health checks before swapping to production, and swap reversal remains available.

Explanation

Correct Answer

B:

The production workload reports the same approved image digest that passed integration and scanning gates. This shows that the control was implemented as intended: promote the tested container by immutable digest rather than relying on a mutable tag name. It matters because image digests identify exact content, preserving supply-chain consistency across environments despite tag changes.

Incorrect Answers

A:

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

C:

This observation would support Quality security release gate, where the relevant control is define mandatory test, security and governance gates that block promotion on a failing check.

D:

Such evidence would establish Azure App Service deployment slot, where the relevant control is deploy to a staging App Service slot, warm the app and swap slots after successful checks.

Question 763

A critical API must switch between two complete deployments and retain a fast rollback route without long downtime.

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

  1. Publishing and downstream restore succeed only for approved repositories and workflow identities.
  2. A failed error-rate or availability threshold stops promotion and restores the known-good version.
  3. The green environment passes smoke checks before the load balancer shifts traffic and rollback returns users to blue.
  4. Small-percentage traffic meets agreed latency and error thresholds before the rollout expands.

Explanation

Correct Answer

C:

The green environment passes smoke checks before the load balancer shifts traffic and rollback returns users to blue. This shows that the control was implemented as intended: deploy the new version to a separate green environment, validate it, then switch traffic with rollback available. It matters because blue-green deployment separates preparation from traffic cutover and preserves the previous healthy environment for reversal.

Incorrect Answers

A:

That result would verify GitHub Packages access, where the relevant control is configure the required GitHub Packages permissions and least-privilege workflow token access.

B:

This observation would support Rollback health criteria, where the relevant control is gate deployment completion on service-health metrics and invoke rollback when agreed thresholds fail.

D:

That result would verify Canary progressive exposure, where the relevant control is use a canary deployment with gradually increased traffic and health-based rollback thresholds.

Question 764

A developer accidentally merged a bad change to a shared branch used by many peers and wants a safe undo.

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

  1. Failing code can enter the shared branch despite visible but unenforced CI results.
  2. The old credential remains exploitable through history, forks or cached copies even after a later deletion.
  3. A compromised low-trust account could change production code or repository governance.
  4. Rewriting shared commits can break dependent clones and make published build history difficult to audit.

Explanation

Correct Answer

D:

Rewriting shared commits can break dependent clones and make published build history difficult to audit. The failure follows from the described gap because revert preserves the published commit graph while negating the selected change through a new auditable commit. Mitigate it by choosing to use git revert to create a compensating commit on shared history rather than forcibly resetting the published branch.

Incorrect Answers

A:

This risk is associated with Required status checks: Server-enforced branch rules validate executable evidence before integration, independent of informal reviewer assurances. The present scenario instead leaves the recover one commit safely requirement unresolved, which creates this more direct risk: rewriting shared commits can break dependent clones and make published build history difficult to audit.

B:

That consequence is characteristic of Remove leaked credential from Git: Deleting a current file does not remove earlier Git objects or copies; invalidating the credential is the immediate security control. The present scenario instead leaves the recover one commit safely requirement unresolved, which creates this more direct risk: rewriting shared commits can break dependent clones and make published build history difficult to audit.

C:

That is a credible failure of Repository least privilege: Least-privilege repository authorization minimizes the impact of a compromised user or automation token. The present scenario instead leaves the recover one commit safely requirement unresolved, which creates this more direct risk: rewriting shared commits can break dependent clones and make published build history difficult to audit.

Question 765

A city transport API team uses GitHub Issues but testers cannot connect reported bugs to the commits resolving them.

What is the most appropriate action for this DevOps team?

  1. Establish GitHub Flow with short branches, reviewed pull requests, and explicit issue-to-commit and deployment links.
  2. Define a feedback loop that links production defects to work items, root-cause labels, tests and retrospective improvements.
  3. Integrate filtered pipeline status notifications with Microsoft Teams and link back to the secured run records.
  4. Model explicit states, owners and handoff criteria for each work stage in Azure Boards or GitHub Projects.

Explanation

Correct Answer

A:

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

B:

This would instead address Bug quality feedback loop: Tying operational feedback to original code and acceptance criteria exposes recurring failure patterns and supports process improvement.

C:

That intervention fits Teams pipeline notifications: Purposeful notifications give stakeholders timely actionable status while original pipeline permissions continue to protect detail.

D:

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.

Question 766

A product team repeatedly declares successful deployment without checking user task success or recovery time afterward.

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

  1. A simulated failed run generates one useful alert with repository, workflow and failure links.
  2. Release markers correlate with measured latency and errors, and a regression triggers a documented corrective action.
  3. A validated query shows failure counts by endpoint for the correct time window with drill-down to source events.
  4. A time-aligned view connects resource saturation with service errors and supports an evidence-based capacity fix.

Explanation

Correct Answer

B:

Release markers correlate with measured latency and errors, and a regression triggers a documented corrective action. This shows that the control was implemented as intended: define service-level indicators and use deployment annotations and telemetry-driven post-release feedback. It matters because aligning deployment events to relevant user-facing reliability metrics turns observability into continuous improvement decisions.

Incorrect Answers

A:

That result would verify GitHub Actions workflow alert, where the relevant control is configure workflow failure alerts and route them to the responsible operational channel with a run link.

C:

Such evidence would establish Kusto query failed requests, where the relevant control is query the relevant Azure Monitor Logs tables with KQL filters, summarize counts and order by failure frequency.

D:

That result would verify Resource CPU memory investigation, where the relevant control is analyze CPU, memory, disk and network metrics alongside application error and latency telemetry.

Question 767

A deployment process distributes certificate private keys by attaching them to build artifacts for convenience.

Which explanation best supports the needed implementation decision?

  1. Masked variables are not a substitute for avoiding secret output; transformed or embedded secret strings can evade automatic redaction.
  2. Scoped identities and rehearsed rotation reduce the security impact and operational disruption of credential compromise.
  3. A dedicated secret store provides access control, rotation and auditing while preventing credentials from becoming ordinary source artifacts.
  4. Access levels govern available features while permissions and security groups govern allowed actions; both matter for least privilege.

Explanation

Correct Answer

C:

A dedicated secret store provides access control, rotation and auditing while preventing credentials from becoming ordinary source artifacts. The appropriate response is to store sensitive values in Azure Key Vault and retrieve them through authorized pipeline identities at execution time. The expected evidence is that the job accesses the approved secret at runtime and no secret value is present in repository history or published artifacts.

Incorrect Answers

A:

That explanation is about Secret log masking and command safety: Masked variables are not a substitute for avoiding secret output; transformed or embedded secret strings can evade automatic redaction.

B:

This describes the mechanism for Secret rotation and scope: Scoped identities and rehearsed rotation reduce the security impact and operational disruption of credential compromise.

D:

That explanation is about Azure DevOps least privilege: Access levels govern available features while permissions and security groups govern allowed actions; both matter for least privilege.

Question 768

A GitHub Actions workflow stores a long-lived cloud credential to deploy a production web app even though the platform supports federated login.

Which explanation best supports the needed implementation decision?

  1. Access levels govern available features while permissions and security groups govern allowed actions; both matter for least privilege.
  2. Dependency scanning connects known advisories to manifest and lockfile versions and can propose reviewed updates.
  3. Azure-managed workload identities authenticate Azure resources without an application-managed secret, with access granted through role assignments.
  4. OIDC-based federation exchanges trusted workflow identity assertions for short-lived cloud access, reducing static credential exposure.

Explanation

Correct Answer

D:

OIDC-based federation exchanges trusted workflow identity assertions for short-lived cloud access, reducing static credential exposure. The appropriate response is to use a scoped workload identity federation service connection or GitHub OIDC trust instead of storing long-lived cloud secrets. The expected evidence is that the approved job obtains only scoped Azure access without any stored client secret and untrusted branches cannot impersonate it.

Incorrect Answers

A:

This describes the mechanism for Azure DevOps least privilege: Access levels govern available features while permissions and security groups govern allowed actions; both matter for least privilege.

B:

This reasoning pertains to Dependabot dependency alerts: Dependency scanning connects known advisories to manifest and lockfile versions and can propose reviewed updates.

C:

That explanation is about Managed identity versus service principal: Azure-managed workload identities authenticate Azure resources without an application-managed secret, with access granted through role assignments.

Question 769

A deployment process distributes certificate private keys by attaching them to build artifacts for convenience.

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

  1. Credential exposure through YAML or build output can compromise downstream production resources.
  2. A private certificate or provisioning file may be leaked through normal artifact downloads.
  3. Published package vulnerabilities remain present in deployed software despite available patches.
  4. One leaked token compromises multiple environments and emergency rotation breaks unrelated services.

Explanation

Correct Answer

A:

Credential exposure through YAML or build output can compromise downstream production resources. The failure follows from the described gap because a dedicated secret store provides access control, rotation and auditing while preventing credentials from becoming ordinary source artifacts. Mitigate it by choosing to store sensitive values in Azure Key Vault and retrieve them through authorized pipeline identities at execution time.

Incorrect Answers

B:

This risk is associated with Azure Pipelines secure files: Secure files are protected pipeline resources with permissions and checks, unlike publicly retrievable general artifacts. The present scenario instead leaves the key vault runtime secret retrieval requirement unresolved, which creates this more direct risk: credential exposure through YAML or build output can compromise downstream production resources.

C:

That consequence is characteristic of Dependabot dependency alerts: Dependency scanning connects known advisories to manifest and lockfile versions and can propose reviewed updates. The present scenario instead leaves the key vault runtime secret retrieval requirement unresolved, which creates this more direct risk: credential exposure through YAML or build output can compromise downstream production resources.

D:

That is a credible failure 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 key vault runtime secret retrieval requirement unresolved, which creates this more direct risk: credential exposure through YAML or build output can compromise downstream production resources.

Question 770

A container image build intermittently fails while pull requests still merge without reliable check enforcement.

Which explanation best supports the needed implementation decision?

  1. Approvals should cover the final content actually merged, rather than an earlier snapshot of the branch.
  2. Server-enforced branch rules validate executable evidence before integration, independent of informal reviewer assurances.
  3. Revert preserves the published commit graph while negating the selected change through a new auditable commit.
  4. Frequent small integrations reduce divergence while flags separate code integration from customer feature exposure.

Explanation

Correct Answer

B:

Server-enforced branch rules validate executable evidence before integration, independent of informal reviewer assurances. The appropriate response is to configure required status checks and block protected-branch merges until the specified CI jobs succeed. The expected evidence is that a failed required test blocks merging and the same PR becomes eligible after successful checks and review.

Incorrect Answers

A:

That explanation is about Merge policy stale approval: Approvals should cover the final content actually merged, rather than an earlier snapshot of the branch.

C:

This reasoning pertains to Recover one commit safely: Revert preserves the published commit graph while negating the selected change through a new auditable commit.

D:

That explanation is about Trunk-based short branches: Frequent small integrations reduce divergence while flags separate code integration from customer feature exposure.

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