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 23

Question 220

A reporting team needs to identify exactly which calendar release of a non-library deliverable was deployed.

Which explanation best supports the needed implementation decision?

  1. Artifact promotion ensures deployment stages share tested bytes rather than rebuilding from potentially changing source or packages.
  2. Critical-path analysis separates true sequential work from jobs that can safely run concurrently.
  3. A lockfile records the resolved dependency graph to make repeated builds use the same versions rather than current registry selection.
  4. Calendar-based versions express release timing, but do not automatically convey semantic API compatibility.

Explanation

Correct Answer

D:

Calendar-based versions express release timing, but do not automatically convey semantic API compatibility. The appropriate response is to use a documented CalVer scheme for chronological releases while separately tracking backward-compatibility obligations. The expected evidence is that the deployed report package maps unambiguously to its publication month and documented compatibility notes.

Incorrect Answers

A:

This reasoning pertains to Immutable pipeline artifact: Artifact promotion ensures deployment stages share tested bytes rather than rebuilding from potentially changing source or packages.

B:

That explanation is about Pipeline duration hotspot: Critical-path analysis separates true sequential work from jobs that can safely run concurrently.

C:

This describes the mechanism for Dependency lockfile reproducibility: A lockfile records the resolved dependency graph to make repeated builds use the same versions rather than current registry selection.

Question 221

An application becomes slow during traffic peaks while a dashboard shows only successful HTTP request totals.

Which explanation best supports the needed implementation decision?

  1. Infrastructure performance indicators help identify resource bottlenecks and distinguish saturation from application defects.
  2. Kusto Query Language supports time-window filtering, aggregation and ranking of collected telemetry for focused diagnosis.
  3. Application-level instrumentation exposes call outcomes and dependency contributions that basic host availability cannot explain.
  4. Trace correlation connects related requests and dependencies across service boundaries to reveal end-to-end latency contributors.

Explanation

Correct Answer

A:

Infrastructure performance indicators help identify resource bottlenecks and distinguish saturation from application defects. The appropriate response is to analyze CPU, memory, disk and network metrics alongside application error and latency telemetry. The expected evidence is that a time-aligned view connects resource saturation with service errors and supports an evidence-based capacity fix.

Incorrect Answers

B:

This describes the mechanism for Kusto query failed requests: Kusto Query Language supports time-window filtering, aggregation and ranking of collected telemetry for focused diagnosis.

C:

This reasoning pertains to Application Insights request telemetry: Application-level instrumentation exposes call outcomes and dependency contributions that basic host availability cannot explain.

D:

That explanation is about Correlated distributed traces: Trace correlation connects related requests and dependencies across service boundaries to reveal end-to-end latency contributors.

Question 222

A nightly integration workflow has failed for three days, but the development team reviews run status only on Fridays.

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

  1. A single user request displays its dependent spans and the slow or failed downstream component.
  2. A simulated failed run generates one useful alert with repository, workflow and failure links.
  3. The workspace receives container logs, service metrics and relevant resource diagnostic events with useful timestamps.
  4. Failed requests link to exceptions and dependencies with consistent operation correlation.

Explanation

Correct Answer

B:

A simulated failed run generates one useful alert with repository, workflow and failure links. This shows that the control was implemented as intended: configure workflow failure alerts and route them to the responsible operational channel with a run link. It matters because build failure signals have value only if owners receive timely actionable notifications rather than relying on manual inspection.

Incorrect Answers

A:

Such evidence would establish Correlated distributed traces, where the relevant control is use correlated distributed tracing across instrumented services with propagated operation identifiers.

C:

This observation would support Azure Monitor diagnostic collection, where the relevant control is configure Azure Monitor collection for the relevant services, including Container Insights and diagnostic logs.

D:

Such evidence would establish Application Insights request telemetry, where the relevant control is instrument the application with Application Insights request, dependency, exception and correlation telemetry.

Question 223

A shared library build needs to combine application source from one repository and approved infrastructure templates from another.

Which explanation best supports the needed implementation decision?

  1. Declarative IaC expresses intended Azure resource configurations and enables repeatable, reviewed deployment rather than manual portal drift.
  2. Includes and parameterized templates centralize repeatable pipeline logic while keeping service-specific inputs explicit.
  3. Explicit repository resources make multi-repository dependencies reproducible and subject to service-connection and permission checks.
  4. Both GitHub Actions and Azure Pipelines can automate CI/CD, but repository integration and governance capabilities determine the appropriate fit.

Explanation

Correct Answer

C:

Explicit repository resources make multi-repository dependencies reproducible and subject to service-connection and permission checks. The appropriate response is to declare authorized repository resources and checkout steps with pinned or reviewed source references. The expected evidence is that the build obtains both approved sources at recorded revisions, and unapproved repositories cannot be checked out.

Incorrect Answers

A:

This reasoning pertains to Bicep as code: Declarative IaC expresses intended Azure resource configurations and enables repeatable, reviewed deployment rather than manual portal drift.

B:

That explanation is about Reusable YAML template: Includes and parameterized templates centralize repeatable pipeline logic while keeping service-specific inputs explicit.

D:

This reasoning pertains to 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.

Question 224

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

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

  1. An application-only investigation can miss throttling, exhaustion or network constraints.
  2. Fast delivery can conceal worsening reliability because build success is mistaken for user outcome.
  3. Operators may blame infrastructure while the actual failing application dependency remains invisible.
  4. Teams make changes based on total error volume without identifying the affected operations.

Explanation

Correct Answer

D:

Teams make changes based on total error volume without identifying the affected operations. The failure follows from the described gap because kusto Query Language supports time-window filtering, aggregation and ranking of collected telemetry for focused diagnosis. Mitigate it by choosing to query the relevant Azure Monitor Logs tables with KQL filters, summarize counts and order by failure frequency.

Incorrect Answers

A:

This risk is associated with Resource CPU memory investigation: Infrastructure performance indicators help identify resource bottlenecks and distinguish saturation from application defects. The present scenario instead leaves the kusto query failed requests requirement unresolved, which creates this more direct risk: teams make changes based on total error volume without identifying the affected operations.

B:

That consequence is characteristic of Telemetry SLO feedback loop: Aligning deployment events to relevant user-facing reliability metrics turns observability into continuous improvement decisions. The present scenario instead leaves the kusto query failed requests requirement unresolved, which creates this more direct risk: teams make changes based on total error volume without identifying the affected operations.

C:

That is a credible failure of Application Insights request telemetry: Application-level instrumentation exposes call outcomes and dependency contributions that basic host availability cannot explain. The present scenario instead leaves the kusto query failed requests requirement unresolved, which creates this more direct risk: teams make changes based on total error volume without identifying the affected operations.

Question 225

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

What is the most appropriate action for this DevOps team?

  1. Use a securely managed self-hosted agent with approved private connectivity and narrowly scoped credentials.
  2. Define mandatory test, security and governance gates that block promotion on a failing check.
  3. Define Azure resources in version-controlled Bicep modules and deploy them through reviewed pipelines.
  4. Collect coverage alongside risk-based assertions and branch or integration test evidence for important behavior.

Explanation

Correct Answer

A:

Use a securely managed self-hosted agent with approved private connectivity and narrowly scoped credentials. An agent placed on an approved reachable network can exercise private services without exposing those services publicly. A useful check is that the test stage reaches private endpoints and the agent's network access remains limited to required systems.

Incorrect Answers

B:

This would instead address Quality security release gate: A gate turns verifiable quality and risk evidence into an enforceable deployment decision rather than advisory console output.

C:

That intervention fits Bicep as code: Declarative IaC expresses intended Azure resource configurations and enables repeatable, reviewed deployment rather than manual portal drift.

D:

This is designed for Coverage meaningful measurement: Coverage shows code exercised, not whether assertions verify correct outcomes or critical boundary conditions.

Question 226

An organization wants a tracking service to react when a repository pull request changes state without polling continuously.

Which explanation best supports the needed implementation decision?

  1. An explicit work-item flow gives each team a shared view of readiness and blocked dependencies rather than separate informal queues.
  2. Event subscriptions push relevant changes to a receiver; delivery validation and idempotency are necessary for dependable automation.
  3. Purposeful notifications give stakeholders timely actionable status while original pipeline permissions continue to protect detail.
  4. Version-controlled documentation can evolve through ordinary review and makes dependencies inspectable by engineers and operators.

Explanation

Correct Answer

B:

Event subscriptions push relevant changes to a receiver; delivery validation and idempotency are necessary for dependable automation. The appropriate response is to configure authenticated webhooks for specific repository events and handle retries and duplicate deliveries safely. The expected evidence is that a signed event causes one correct downstream update even after a retried webhook delivery.

Incorrect Answers

A:

This reasoning pertains to 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.

C:

This describes the mechanism for Teams pipeline notifications: Purposeful notifications give stakeholders timely actionable status while original pipeline permissions continue to protect detail.

D:

This reasoning pertains to Wiki and process diagrams: Version-controlled documentation can evolve through ordinary review and makes dependencies inspectable by engineers and operators.

Question 227

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

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

  1. A secret may become reachable in repository history even if subsequent commits delete the visible line.
  2. A compromised pipeline could reconfigure production resources outside its intended deployment target.
  3. A leaked or expired static credential can enable unauthorized deployments or interrupt legitimate release work.
  4. Excessive project rights permit unrelated pipeline or repository changes by a low-trust user.

Explanation

Correct Answer

C:

A leaked or expired static credential can enable unauthorized deployments or interrupt legitimate release work. The failure follows from the described gap because oIDC-based federation exchanges trusted workflow identity assertions for short-lived cloud access, reducing static credential exposure. Mitigate it by choosing to use a scoped workload identity federation service connection or GitHub OIDC trust instead of storing long-lived cloud secrets.

Incorrect Answers

A:

This risk is associated with Secret scanning in pull requests: Secret scanning detects known credential patterns before promotion and alerts owners to rotate any exposed credential. The present scenario instead leaves the workload identity federation requirement unresolved, which creates this more direct risk: a leaked or expired static credential can enable unauthorized deployments or interrupt legitimate release work.

B:

That consequence is characteristic 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 workload identity federation requirement unresolved, which creates this more direct risk: a leaked or expired static credential can enable unauthorized deployments or interrupt legitimate release work.

D:

This risk is associated with Azure DevOps least privilege: Access levels govern available features while permissions and security groups govern allowed actions; both matter for least privilege. The present scenario instead leaves the workload identity federation requirement unresolved, which creates this more direct risk: a leaked or expired static credential can enable unauthorized deployments or interrupt legitimate release work.

Question 228

An Azure Pipeline cannot build a mono-service deployment because a required policy template is maintained in a separate secured repo.

Which explanation best supports the needed implementation decision?

  1. Structured test results allow failures and trends to be associated with builds and commits, instead of buried in unstructured logs.
  2. Pipelines may execute independent jobs in parallel, so dependent stages must be linked to upstream successful work.
  3. Both GitHub Actions and Azure Pipelines can automate CI/CD, but repository integration and governance capabilities determine the appropriate fit.
  4. Explicit repository resources make multi-repository dependencies reproducible and subject to service-connection and permission checks.

Explanation

Correct Answer

D:

Explicit repository resources make multi-repository dependencies reproducible and subject to service-connection and permission checks. The appropriate response is to declare authorized repository resources and checkout steps with pinned or reviewed source references. The expected evidence is that the build obtains both approved sources at recorded revisions, and unapproved repositories cannot be checked out.

Incorrect Answers

A:

This describes the mechanism for Publish test results: Structured test results allow failures and trends to be associated with builds and commits, instead of buried in unstructured logs.

B:

This reasoning pertains to YAML multi-stage dependency: Pipelines may execute independent jobs in parallel, so dependent stages must be linked to upstream successful work.

C:

That explanation is about 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.

Question 229

Security teams see code and dependency findings in GitHub, but the cloud security dashboard cannot correlate repository exposure.

What is the most appropriate action for this DevOps team?

  1. Configure GitHub Advanced Security for the relevant repositories and integrate available findings with Defender for Cloud DevOps Security.
  2. Enable automated secret scanning and push or pull-request protection with clear remediation for exposed values.
  3. Enable Dependabot alerts and security updates, then validate proposed fixes in CI with clear ownership.
  4. Use a scoped workload identity federation service connection or GitHub OIDC trust instead of storing long-lived cloud secrets.

Explanation

Correct Answer

A:

Configure GitHub Advanced Security for the relevant repositories and integrate available findings with Defender for Cloud DevOps Security. Integrated DevOps security posture helps central teams connect source risk with affected development assets and cloud governance. A useful check is that security findings appear against the correct repositories and have accountable remediation workflows.

Incorrect Answers

B:

That intervention fits Secret scanning in pull requests: Secret scanning detects known credential patterns before promotion and alerts owners to rotate any exposed credential.

C:

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

D:

This would instead address Workload identity federation: OIDC-based federation exchanges trusted workflow identity assertions for short-lived cloud access, reducing static credential exposure.

Question 230

A service supports Linux and Windows, but separate sequential builds add hours to every release.

What is the most appropriate action for this DevOps team?

  1. Retry only safe idempotent operations and use checkpoints and explicit recovery for state-changing steps.
  2. Use a matrix strategy and parallel jobs for independent platforms within agent capacity.
  3. Declare explicit YAML stage/job dependencies and conditions to enforce required execution order.
  4. Declare authorized repository resources and checkout steps with pinned or reviewed source references.

Explanation

Correct Answer

B:

Use a matrix strategy and parallel jobs for independent platforms within agent capacity. Independent job combinations can run concurrently, making compatibility tests faster without weakening the requirement that all pass. A useful check is that every required runtime and OS combination reports a result before final promotion, with reduced elapsed test time.

Incorrect Answers

A:

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

C:

This would instead address YAML multi-stage dependency: Pipelines may execute independent jobs in parallel, so dependent stages must be linked to upstream successful work.

D:

That intervention fits Cross-repository pipeline checkout: Explicit repository resources make multi-repository dependencies reproducible and subject to service-connection and permission checks.

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