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 35

Question 340

A pipeline keeps every temporary binary indefinitely, creating excessive storage cost and unnecessary exposure.

What is the most appropriate action for this DevOps team?

  1. Inventory existing classic tasks and resource checks, migrate logic into versioned YAML and validate parity in parallel.
  2. Monitor pipeline success rates, flaky test frequency, queue delay and duration with actionable ownership.
  3. Use backward-compatible expand-and-contract schema changes before removing old fields.
  4. Apply lifecycle-based retention for artifacts and dependencies consistent with rollback and compliance needs.

Explanation

Correct Answer

D:

Apply lifecycle-based retention for artifacts and dependencies consistent with rollback and compliance needs. Retention should balance recovery evidence, cost and governance rather than indiscriminately retaining or deleting every build. A useful check is that required release artifacts remain accessible through the mandated window and expired temporary objects are purged.

Incorrect Answers

A:

This would instead address Migrate classic to YAML: YAML makes pipeline implementation reviewable as code, while protected environment checks remain separately configured.

B:

That intervention fits Pipeline health analytics: Build health includes reliability and time to feedback, not just the final successful outcome.

C:

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.

Question 341

A team wants repeatable builds but agents have accumulated different compiler versions and undocumented fixes.

What is the most appropriate action for this DevOps team?

  1. Manage versioned hardened runner images with patch schedules and automated smoke validation.
  2. Configure an exclusive environment lock or equivalent serialized deployment control.
  3. Right-size agent pools and job concurrency using observed utilization, queue duration and workload demand.
  4. Use a matrix strategy and parallel jobs for independent platforms within agent capacity.

Explanation

Correct Answer

A:

Manage versioned hardened runner images with patch schedules and automated smoke validation. Controlled immutable agent baselines reduce drift and known vulnerabilities while retaining build reproducibility. A useful check is that new runners launch from an approved image, report expected tool versions and pass test builds.

Incorrect Answers

B:

This is designed for Concurrent deployment serialization: Serialization prevents conflicting writes to the same mutable production target while allowing independent builds elsewhere.

C:

This would instead address Agent cost management: Pool sizing is a tradeoff between capacity, execution delay and infrastructure or licensing cost.

D:

That intervention fits Parallel matrix builds: Independent job combinations can run concurrently, making compatibility tests faster without weakening the requirement that all pass.

Question 342

Four service teams build the same shared .NET library from copied source folders and keep releasing incompatible versions.

Which explanation best supports the needed implementation decision?

  1. Deployment Environments enables self-service provisioning through approved templates rather than arbitrary subscription-wide access.
  2. A central package feed provides controlled distribution and dependency metadata instead of silently copying libraries between repositories.
  3. Calendar-based versions express release timing, but do not automatically convey semantic API compatibility.
  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:

This describes the mechanism for Azure Deployment Environments: Deployment Environments enables self-service provisioning through approved templates rather than arbitrary subscription-wide access.

C:

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

D:

This describes the mechanism for Package feed views: Views provide curated subsets of immutable feed packages for different consumer readiness levels.

Question 343

A regulated project needs repeatable Azure infrastructure deployments reviewed in the same pull requests as application changes.

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

  1. No credential appears in source history or build logs and each environment receives only its intended settings.
  2. A breaking update increments its major version and consumers intentionally opt into the new contract.
  3. Independent test environments deploy the same approved definitions with controlled parameter differences.
  4. Malformed definitions and policy failures stop in CI or test before the protected production stage.

Explanation

Correct Answer

C:

Independent test environments deploy the same approved definitions with controlled parameter differences. This shows that the control was implemented as intended: define Azure resources in version-controlled Bicep modules and deploy them through reviewed pipelines. It matters because declarative IaC expresses intended Azure resource configurations and enables repeatable, reviewed deployment rather than manual portal drift.

Incorrect Answers

A:

That result would verify Environment parameters without secrets, where the relevant control is separate nonsecret environment parameters and inject sensitive values from approved secret stores at deployment.

B:

This observation would support Semantic versioning, where the relevant control is apply semantic versioning and increase the major version for breaking public compatibility changes.

D:

That result would verify IaC test pipeline, where the relevant control is run IaC linting and validation plus representative nonproduction deployment tests before production approval.

Question 344

A customer service backend needs application dependency timings to explain why end-user requests are slow.

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

  1. A blind spot can hide the failed component while general infrastructure graphs look healthy.
  2. Sustained CI failures delay releases because nobody detects them promptly.
  3. Isolated service logs cannot establish the actual dependency path responsible for a degraded transaction.
  4. Operators may blame infrastructure while the actual failing application dependency remains invisible.

Explanation

Correct Answer

D:

Operators may blame infrastructure while the actual failing application dependency remains invisible. The failure follows from the described gap because application-level instrumentation exposes call outcomes and dependency contributions that basic host availability cannot explain. Mitigate it by choosing to instrument the application with Application Insights request, dependency, exception and correlation telemetry.

Incorrect Answers

A:

This risk is associated with Azure Monitor diagnostic collection: Azure Monitor unifies service-specific telemetry needed to distinguish infrastructure faults from application and container behavior. The present scenario instead leaves the application insights request telemetry requirement unresolved, which creates this more direct risk: operators may blame infrastructure while the actual failing application dependency remains invisible.

B:

That consequence is characteristic of GitHub Actions workflow alert: Build failure signals have value only if owners receive timely actionable notifications rather than relying on manual inspection. The present scenario instead leaves the application insights request telemetry requirement unresolved, which creates this more direct risk: operators may blame infrastructure while the actual failing application dependency remains invisible.

C:

That is a credible failure of Correlated distributed traces: Trace correlation connects related requests and dependencies across service boundaries to reveal end-to-end latency contributors. The present scenario instead leaves the application insights request telemetry requirement unresolved, which creates this more direct risk: operators may blame infrastructure while the actual failing application dependency remains invisible.

Question 345

Engineers begin ignoring CI failures because a test suite depends on race-prone timing and random execution order.

What is the most appropriate action for this DevOps team?

  1. Diagnose and stabilize nondeterministic tests, isolating known flaky cases without silently disabling all quality gates.
  2. Configure the required GitHub Packages permissions and least-privilege workflow token access.
  3. Run representative load tests with production-like demand and enforce agreed latency and error thresholds.
  4. Collect coverage alongside risk-based assertions and branch or integration test evidence for important behavior.

Explanation

Correct Answer

A:

Diagnose and stabilize nondeterministic tests, isolating known flaky cases without silently disabling all quality gates. Flaky tests weaken confidence in build signals and consume delivery capacity; stabilization restores trustworthy pass/fail evidence. A useful check is that repeated identical commits yield consistent results and any quarantined tests remain visible with tracked remediation.

Incorrect Answers

B:

This would instead address GitHub Packages access: Package registry operations are authorized separately from ordinary repository read access, and permissions must match publish or consume operations.

C:

That intervention fits Load test realistic capacity: Load testing exercises concurrency, capacity and bottlenecks that low-traffic correctness tests do not expose.

D:

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

Question 346

A production Azure resource is modified directly in the portal so the next pipeline apply surprises the team with unwanted changes.

What is the most appropriate action for this DevOps team?

  1. Publish an immutable versioned build artifact once and promote the same artifact through environments.
  2. Compare deployed Azure state against the declared IaC baseline and reconcile drift through reviewed changes.
  3. Define Azure resources in version-controlled Bicep modules and deploy them through reviewed pipelines.
  4. Use an appropriate Azure Machine Configuration or desired-state policy mechanism to audit and remediate configuration drift.

Explanation

Correct Answer

B:

Compare deployed Azure state against the declared IaC baseline and reconcile drift through reviewed changes. Infrastructure-as-code remains trustworthy only if manual changes are detected and either approved into code or safely reverted. A useful check is that a drift report identifies the change and the approved reconciliation restores the intended configuration.

Incorrect Answers

A:

This would instead address Immutable pipeline artifact: Artifact promotion ensures deployment stages share tested bytes rather than rebuilding from potentially changing source or packages.

C:

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

D:

This would instead address Desired state configuration: Desired-state tools assess ongoing configuration after provisioning, whereas resource deployment alone does not ensure guest settings persist.

Question 347

A developer group wants actionable deployment completion summaries in Microsoft Teams without disclosing build secrets.

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

  1. Unverified or duplicated webhook events can generate false notifications or repeated workflow actions.
  2. Ambiguous handoffs leave production work stranded or moved ahead before necessary verification.
  3. Critical failures remain invisible, or noisy unrestricted messages cause sensitive information disclosure.
  4. Users may adopt incompatible clients or support teams may misdiagnose expected release behavior.

Explanation

Correct Answer

C:

Critical failures remain invisible, or noisy unrestricted messages cause sensitive information disclosure. The failure follows from the described gap because purposeful notifications give stakeholders timely actionable status while original pipeline permissions continue to protect detail. Mitigate it by choosing to integrate filtered pipeline status notifications with Microsoft Teams and link back to the secured run records.

Incorrect Answers

A:

This risk is associated with Webhooks for event integration: Event subscriptions push relevant changes to a receiver; delivery validation and idempotency are necessary for dependable automation. The present scenario instead leaves the teams pipeline notifications requirement unresolved, which creates this more direct risk: critical failures remain invisible, or noisy unrestricted messages cause sensitive information disclosure.

B:

That consequence is characteristic of 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. The present scenario instead leaves the teams pipeline notifications requirement unresolved, which creates this more direct risk: critical failures remain invisible, or noisy unrestricted messages cause sensitive information disclosure.

D:

This risk is associated with Versioned release notes: Releasing documented change history helps consumers and support understand compatible features, fixes and known constraints. The present scenario instead leaves the teams pipeline notifications requirement unresolved, which creates this more direct risk: critical failures remain invisible, or noisy unrestricted messages cause sensitive information disclosure.

Question 348

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

Which explanation best supports the needed implementation decision?

  1. Package registry operations are authorized separately from ordinary repository read access, and permissions must match publish or consume operations.
  2. Coverage shows code exercised, not whether assertions verify correct outcomes or critical boundary conditions.
  3. Load testing exercises concurrency, capacity and bottlenecks that low-traffic correctness tests do not expose.
  4. An agent placed on an approved reachable network can exercise private services without exposing those services publicly.

Explanation

Correct Answer

D:

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

Incorrect Answers

A:

This describes the mechanism for GitHub Packages access: Package registry operations are authorized separately from ordinary repository read access, and permissions must match publish or consume operations.

B:

This reasoning pertains to Coverage meaningful measurement: Coverage shows code exercised, not whether assertions verify correct outcomes or critical boundary conditions.

C:

That explanation is about Load test realistic capacity: Load testing exercises concurrency, capacity and bottlenecks that low-traffic correctness tests do not expose.

Question 349

A shared resource module is changed and developers rely on human reading to detect a missing required property.

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

  1. A preventable template defect causes a production outage or partial configuration state.
  2. Manual resource creation produces inconsistent environments and untraceable production changes.
  3. An unanticipated deletion or configuration drift reaches production without prior impact review.
  4. A rushed rewrite may drop critical approvals or inadvertently change build behavior.

Explanation

Correct Answer

A:

A preventable template defect causes a production outage or partial configuration state. The failure follows from the described gap because infrastructure code benefits from the same automated feedback and controlled promotion as application code. Mitigate it by choosing to run IaC linting and validation plus representative nonproduction deployment tests before production approval.

Incorrect Answers

B:

This risk is associated with Bicep as code: Declarative IaC expresses intended Azure resource configurations and enables repeatable, reviewed deployment rather than manual portal drift. The present scenario instead leaves the iac test pipeline requirement unresolved, which creates this more direct risk: a preventable template defect causes a production outage or partial configuration state.

C:

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 iac test pipeline requirement unresolved, which creates this more direct risk: a preventable template defect causes a production outage or partial configuration state.

D:

That is a credible failure of Migrate classic to YAML: YAML makes pipeline implementation reviewable as code, while protected environment checks remain separately configured. The present scenario instead leaves the iac test pipeline requirement unresolved, which creates this more direct risk: a preventable template defect causes a production outage or partial configuration state.

Question 350

An enterprise rolls out an agent to thousands of branches and wants to learn from low-risk cohorts first.

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

  1. A latent production-only defect affects all customers at once after a full switch.
  2. A full-fleet rollout amplifies an endpoint-specific failure before it can be contained.
  3. The pipeline reports success while customers experience degraded application behavior.
  4. A developer could delete an in-YAML approval step and deploy without independent authorization.

Explanation

Correct Answer

B:

A full-fleet rollout amplifies an endpoint-specific failure before it can be contained. The failure follows from the described gap because rings separate user populations for controlled exposure and detect population-specific problems before broad deployment. Mitigate it by choosing to implement a ring-based rollout with ordered cohorts, monitoring and explicit promotion criteria.

Incorrect Answers

A:

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 ring deployment cohort requirement unresolved, which creates this more direct risk: a full-fleet rollout amplifies an endpoint-specific failure before it can be contained.

C:

That is a credible failure of Rollback health criteria: Successful command execution is not proof of healthy user traffic; objective health checks guide safe progression. The present scenario instead leaves the ring deployment cohort requirement unresolved, which creates this more direct risk: a full-fleet rollout amplifies an endpoint-specific failure before it can be contained.

D:

This risk is associated with YAML environments approvals: Environment checks are managed on the resource rather than inside the pipeline YAML, resisting bypass by repository edits. The present scenario instead leaves the ring deployment cohort requirement unresolved, which creates this more direct risk: a full-fleet rollout amplifies an endpoint-specific failure before it can be contained.

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