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 28

Question 270

A regulated insurer audits GitHub commits while approval and defect evidence resides only in Azure Boards.

What is the most appropriate action for this DevOps team?

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

Explanation

Correct Answer

B:

Connect Azure Boards with GitHub and associate pull requests and commits with the corresponding work items. The Boards-GitHub integration surfaces development activity against the planning record, supporting end-to-end traceability across services. A useful check is that an auditor opens a work item and sees the linked GitHub pull request, associated commits and status.

Incorrect Answers

A:

This is designed for Wiki and process diagrams: Version-controlled documentation can evolve through ordinary review and makes dependencies inspectable by engineers and operators.

C:

That intervention fits GitHub Flow work visibility: Linking issues, pull requests, commits, checks, and releases gives stakeholders traceability without requiring a long-lived branch per ticket.

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 271

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

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

  1. Disconnected planning and source records conceal which approved work produced a delivered change.
  2. Unverified or duplicated webhook events can generate false notifications or repeated workflow actions.
  3. An unlinked production change can bypass review or be impossible to associate with its original requirement.
  4. The same defect class can repeatedly escape into production while dashboards show only increasing ticket throughput.

Explanation

Correct Answer

C:

An unlinked production change can bypass review or be impossible to associate with its original requirement. The failure follows from the described gap because linking issues, pull requests, commits, checks, and releases gives stakeholders traceability without requiring a long-lived branch per ticket. Mitigate it by choosing to establish GitHub Flow with short branches, reviewed pull requests, and explicit issue-to-commit and deployment links.

Incorrect Answers

A:

That is a credible failure of Azure Boards GitHub traceability: The Boards-GitHub integration surfaces development activity against the planning record, supporting end-to-end traceability across services. The present scenario instead leaves the github flow work visibility requirement unresolved, which creates this more direct risk: an unlinked production change can bypass review or be impossible to associate with its original requirement.

B:

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 github flow work visibility requirement unresolved, which creates this more direct risk: an unlinked production change can bypass review or be impossible to associate with its original requirement.

D:

That is a credible failure of Bug quality feedback loop: Tying operational feedback to original code and acceptance criteria exposes recurring failure patterns and supports process improvement. The present scenario instead leaves the github flow work visibility requirement unresolved, which creates this more direct risk: an unlinked production change can bypass review or be impossible to associate with its original requirement.

Question 272

A Kubernetes delivery flow trusts an image tag without checking OS libraries or image provenance.

What is the most appropriate action for this DevOps team?

  1. Enable Dependabot alerts and security updates, then validate proposed fixes in CI with clear ownership.
  2. Run CodeQL analysis appropriate to the code language and act on high-severity findings before release.
  3. Scope service connection roles and approvals to the smallest necessary Azure resources and pipeline consumers.
  4. Scan container images and dependencies before promotion, enforce risk-based gates and retain image provenance.

Explanation

Correct Answer

D:

Scan container images and dependencies before promotion, enforce risk-based gates and retain image provenance. Container scanning examines packaged runtime components that may not appear in application source analysis. A useful check is that a deliberately vulnerable image is blocked and the promoted digest maps to an acceptable scan result.

Incorrect Answers

A:

That intervention fits Dependabot dependency alerts: Dependency scanning connects known advisories to manifest and lockfile versions and can propose reviewed updates.

B:

This is designed for CodeQL static analysis: Static code analysis can trace risky code patterns and data flow without relying on runtime exploitation to surface the flaw.

C:

This would instead address Service connection scope: Service connections are privileged deployment identities, so resource RBAC and use restrictions should match actual blast radius.

Question 273

A regulated service needs recent rollback packages and audit evidence but cannot retain all build logs forever.

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

  1. Required release artifacts remain accessible through the mandated window and expired temporary objects are purged.
  2. The flag changes behavior only for the approved cohort and disables the feature without a new binary deployment.
  3. Queue and build times meet service targets with lower unused capacity and documented capacity thresholds.
  4. A parallel run matches current outputs and release controls before classic execution is retired.

Explanation

Correct Answer

A:

Required release artifacts remain accessible through the mandated window and expired temporary objects are purged. This shows that the control was implemented as intended: apply lifecycle-based retention for artifacts and dependencies consistent with rollback and compliance needs. It matters because retention should balance recovery evidence, cost and governance rather than indiscriminately retaining or deleting every build.

Incorrect Answers

B:

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.

C:

This observation would support Agent cost management, where the relevant control is right-size agent pools and job concurrency using observed utilization, queue duration and workload demand.

D:

Such evidence would establish Migrate classic to YAML, where the relevant control is inventory existing classic tasks and resource checks, migrate logic into versioned YAML and validate parity in parallel.

Question 274

A deploy stage automatically reruns every failed script, including a non-idempotent database migration that can duplicate updates.

Which explanation best supports the needed implementation decision?

  1. Correct cache keys improve speed while preventing incompatible or stale cached outputs from silently changing builds.
  2. Retries are reliable only when repeated execution has a defined effect and partial failures are detectable.
  3. An agent placed on an approved reachable network can exercise private services without exposing those services publicly.
  4. Pool sizing is a tradeoff between capacity, execution delay and infrastructure or licensing cost.

Explanation

Correct Answer

B:

Retries are reliable only when repeated execution has a defined effect and partial failures are detectable. The appropriate response is to retry only safe idempotent operations and use checkpoints and explicit recovery for state-changing steps. The expected evidence is that a failed stage resumes or rolls back without duplicate schema changes or conflicting infrastructure resources.

Incorrect Answers

A:

This reasoning pertains to Build cache with correctness: Correct cache keys improve speed while preventing incompatible or stale cached outputs from silently changing builds.

C:

This describes the mechanism for Test agent network isolation: An agent placed on an approved reachable network can exercise private services without exposing those services publicly.

D:

This reasoning pertains to Agent cost management: Pool sizing is a tradeoff between capacity, execution delay and infrastructure or licensing cost.

Question 275

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

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

  1. A targeted unit-test failure prevents promotion and reports the failing function within the first CI stage.
  2. Small-percentage traffic meets agreed latency and error thresholds before the rollout expands.
  3. The pilot ring meets stability targets before subsequent rings receive the signed update.
  4. Both old and new application versions pass compatibility tests during the overlap window.

Explanation

Correct Answer

C:

The pilot ring meets stability targets before subsequent rings receive the signed update. This shows that the control was implemented as intended: implement a ring-based rollout with ordered cohorts, monitoring and explicit promotion criteria. It matters because rings separate user populations for controlled exposure and detect population-specific problems before broad deployment.

Incorrect Answers

A:

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.

B:

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

D:

This observation would support Database expand-contract migration, where the relevant control is use backward-compatible expand-and-contract schema changes before removing old fields.

Question 276

A startup stores application code in GitHub and wants a native workflow for pull-request tests and container publishing.

Which explanation best supports the needed implementation decision?

  1. An extends template can constrain allowed pipeline steps, while checks on protected resources prevent easy removal of the requirement.
  2. Image digests identify exact content, preserving supply-chain consistency across environments despite tag changes.
  3. Trigger rules map source changes to relevant pipelines and reduce unnecessary executions without weakening critical release 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

D:

Both GitHub Actions and Azure Pipelines can automate CI/CD, but repository integration and governance capabilities determine the appropriate fit. The appropriate response is to select the pipeline platform that integrates with repository hosting, required approvals and deployment environments. The expected evidence is that a pilot triggers from the intended repository, enforces approvals and deploys to the target environment with auditable identities.

Incorrect Answers

A:

This describes the mechanism for Extends security template: An extends template can constrain allowed pipeline steps, while checks on protected resources prevent easy removal of the requirement.

B:

This reasoning pertains to Container image digest promotion: Image digests identify exact content, preserving supply-chain consistency across environments despite tag changes.

C:

That explanation is about Trigger branch and path filters: Trigger rules map source changes to relevant pipelines and reduce unnecessary executions without weakening critical release checks.

Question 277

A build needs a licensed proprietary compiler absent from Microsoft-hosted images and requires durable tool caching.

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

  1. An unmanaged runner can become an unpatched privileged foothold or repeatedly fail for missing tools.
  2. Copied pipeline fragments drift, leaving projects with missing or outdated controls.
  3. Implicit downloads from uncontrolled source locations can change pipeline behavior without review.
  4. An incorrect scope or excessive identity permissions can fail deployment or expand unintended blast radius.

Explanation

Correct Answer

A:

An unmanaged runner can become an unpatched privileged foothold or repeatedly fail for missing tools. The failure follows from the described gap because custom execution environments support private dependencies while making the organization responsible for patching, isolation and capacity. Mitigate it by choosing to provision managed self-hosted runners or agents with required toolchains, networking and hardened lifecycle controls.

Incorrect Answers

B:

This risk is associated with Reusable YAML template: Includes and parameterized templates centralize repeatable pipeline logic while keeping service-specific inputs explicit. The present scenario instead leaves the hosted versus self-hosted agents requirement unresolved, which creates this more direct risk: an unmanaged runner can become an unpatched privileged foothold or repeatedly fail for missing tools.

C:

That consequence is characteristic 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 hosted versus self-hosted agents requirement unresolved, which creates this more direct risk: an unmanaged runner can become an unpatched privileged foothold or repeatedly fail for missing tools.

D:

That is a credible failure of Deployment scopes: Azure Resource Manager scopes determine where resources and policy assignments can be created, independently of template language. The present scenario instead leaves the hosted versus self-hosted agents requirement unresolved, which creates this more direct risk: an unmanaged runner can become an unpatched privileged foothold or repeatedly fail for missing tools.

Question 278

A monorepo's infrastructure directory changes should run a provisioning pipeline but currently run every application test suite.

What is the most appropriate action for this DevOps team?

  1. Declare authorized repository resources and checkout steps with pinned or reviewed source references.
  2. Set precise branch and path trigger filters, retaining broad protected-branch verification where needed.
  3. Apply semantic versioning and increase the major version for breaking public compatibility changes.
  4. Provision managed self-hosted runners or agents with required toolchains, networking and hardened lifecycle controls.

Explanation

Correct Answer

B:

Set precise branch and path trigger filters, retaining broad protected-branch verification where needed. Trigger rules map source changes to relevant pipelines and reduce unnecessary executions without weakening critical release checks. A useful check is that representative commits run only expected pipelines and a security-sensitive main-branch change still executes its required gate.

Incorrect Answers

A:

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

C:

This would instead address Semantic versioning: SemVer communicates compatibility intent by distinguishing major breaks, compatible additions and backward-compatible fixes.

D:

That intervention fits Hosted versus self-hosted agents: Custom execution environments support private dependencies while making the organization responsible for patching, isolation and capacity.

Question 279

A pipeline maintains one broad credential for staging, production and audit systems with no rotation procedure.

Which explanation best supports the needed implementation decision?

  1. Azure-managed workload identities authenticate Azure resources without an application-managed secret, with access granted through role assignments.
  2. Secure files are protected pipeline resources with permissions and checks, unlike publicly retrievable general artifacts.
  3. Scoped identities and rehearsed rotation reduce the security impact and operational disruption of credential compromise.
  4. A dedicated secret store provides access control, rotation and auditing while preventing credentials from becoming ordinary source artifacts.

Explanation

Correct Answer

C:

Scoped identities and rehearsed rotation reduce the security impact and operational disruption of credential compromise. The appropriate response is to separate credentials by environment and purpose, use short lifetimes or federation, and test rotation and revocation. The expected evidence is that an old identity is revoked successfully while each pipeline continues using only its own authorized environment credentials.

Incorrect Answers

A:

This describes the mechanism for Managed identity versus service principal: Azure-managed workload identities authenticate Azure resources without an application-managed secret, with access granted through role assignments.

B:

This reasoning pertains to Azure Pipelines secure files: Secure files are protected pipeline resources with permissions and checks, unlike publicly retrievable general artifacts.

D:

This describes the mechanism for Key Vault runtime secret retrieval: A dedicated secret store provides access control, rotation and auditing while preventing credentials from becoming ordinary source artifacts.

Question 280

A repository administrator grants all automation identities write access to every project for convenience.

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

  1. Unreviewed modifications can reach main under an obsolete approval.
  2. Rewriting shared commits can break dependent clones and make published build history difficult to audit.
  3. Repository history becomes increasingly expensive to clone and unsuitable for normal source-control workflows.
  4. A compromised low-trust account could change production code or repository governance.

Explanation

Correct Answer

D:

A compromised low-trust account could change production code or repository governance. The failure follows from the described gap because least-privilege repository authorization minimizes the impact of a compromised user or automation token. Mitigate it by choosing to assign repository permissions by task and restrict branch write operations to approved roles and workflows.

Incorrect Answers

A:

That is a credible failure of Merge policy stale approval: Approvals should cover the final content actually merged, rather than an earlier snapshot of the branch. The present scenario instead leaves the repository least privilege requirement unresolved, which creates this more direct risk: a compromised low-trust account could change production code or repository governance.

B:

This risk is associated with Recover one commit safely: Revert preserves the published commit graph while negating the selected change through a new auditable commit. The present scenario instead leaves the repository least privilege requirement unresolved, which creates this more direct risk: a compromised low-trust account could change production code or repository governance.

C:

That consequence is characteristic of Git LFS for binaries: Git LFS replaces eligible large file content in history with lightweight pointers and manages binary content separately. The present scenario instead leaves the repository least privilege requirement unresolved, which creates this more direct risk: a compromised low-trust account could change production code or repository governance.

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