Microsoft AZ-400 Exam Dumps, Practice Test Questions

100% Latest & Updated Microsoft AZ-400 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

Microsoft AZ-400 Premium Bundle
$79.97
$59.98

AZ-400 Premium Bundle

  • Premium File: 398 Questions & Answers. Last update: Nov 7, 2026
  • Training Course: 27 Video Lectures
  • Study Guide: 784 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

AZ-400 Premium Bundle

Microsoft AZ-400 Premium Bundle
  • Premium File: 398 Questions & Answers. Last update: Nov 7, 2026
  • Training Course: 27 Video Lectures
  • Study Guide: 784 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$79.97
$59.98

Microsoft AZ-400 Practice Test 33

Question 320

A security investigation cannot retrieve the container image that ran during a payment incident from last quarter. Choose TWO measures that implement and verify an effective Azure DevOps response to this specific situation. (Choose TWO.)

  1. Define version-specific artifact retention and immutable references aligned to recovery and evidence requirements.
  2. Declare build artifact retention and reproducible rollback windows successful solely from a green pipeline status and skip checking its actual control outcome.
  3. Bypass review and testing for build artifact retention and reproducible rollback windows whenever the release deadline is urgent, applying the change to production immediately.
  4. Dismiss the known risk for build artifact retention and reproducible rollback windows and keep no evidence or accountable owner after deployment.
  5. Retrieve an archived release and validate its digest, access history, and ability to deploy into a safe test environment.

Explanation

Correct Answers

A:

Define version-specific artifact retention and immutable references aligned to recovery and evidence requirements. A rollback plan depends on preserving the actual validated bytes, not just the source commit or pipeline log. Premature artifact deletion can make incident reconstruction and safe restoration impossible.

E:

Retrieve an archived release and validate its digest, access history, and ability to deploy into a safe test environment. A rollback plan depends on preserving the actual validated bytes, not just the source commit or pipeline log.

Incorrect Answers

B:

Declare build artifact retention and reproducible rollback windows successful solely from a green pipeline status and skip checking its actual control outcome. It conflicts with the stated operating condition: A rollback plan depends on preserving the actual validated bytes, not just the source commit or pipeline log.

C:

Bypass review and testing for build artifact retention and reproducible rollback windows whenever the release deadline is urgent, applying the change to production immediately. It conflicts with the stated operating condition: A rollback plan depends on preserving the actual validated bytes, not just the source commit or pipeline log.

D:

Dismiss the known risk for build artifact retention and reproducible rollback windows and keep no evidence or accountable owner after deployment. It conflicts with the stated operating condition: A rollback plan depends on preserving the actual validated bytes, not just the source commit or pipeline log.

Question 321

Developers merge a broken tax calculation because unit tests run only nightly after the protected branch has changed. Which solution should be prioritized to resolve the stated failure?

  1. Choose agents with required capabilities and publish authenticated, machine-readable test results as release-gate evidence.
  2. Run deterministic unit tests as required pull-request checks and fail the merge or promotion on genuine test failure.
  3. Run integration tests against provisioned test dependencies with controlled identities, seeded data, and predictable cleanup.
  4. Define representative postdeployment smoke tests and make their results a required environment promotion check.

Explanation

Correct Answer

B:

Run deterministic unit tests as required pull-request checks and fail the merge or promotion on genuine test failure. Fast code-level tests detect known regressions only if their failure status controls integration. An apparently successful build can ship a defect already revealed by automated unit tests.

Incorrect Answers

A:

Choose agents with required capabilities and publish authenticated, machine-readable test results as release-gate evidence.

C:

Run integration tests against provisioned test dependencies with controlled identities, seeded data, and predictable cleanup.

D:

Define representative postdeployment smoke tests and make their results a required environment promotion check.

Question 322

Developers merge a broken tax calculation because unit tests run only nightly after the protected branch has changed. Which evidence would BEST demonstrate that the fix operates as intended?

  1. Introduce a known failing assertion in a test branch and verify the required check blocks merge.
  2. Re-run a platform-specific test and verify the expected agent image, test totals, failures, and output artifacts are recorded.
  3. Inspect line and branch coverage for the altered code and confirm failing edge cases are represented by tests.
  4. Deploy a controlled faulty revision and verify the rollout gate blocks approval or initiates defined rollback behavior.

Explanation

Correct Answer

A:

Introduce a known failing assertion in a test branch and verify the required check blocks merge. Fast code-level tests detect known regressions only if their failure status controls integration.

Incorrect Answers

B:

Re-run a platform-specific test and verify the expected agent image, test totals, failures, and output artifacts are recorded.

C:

Inspect line and branch coverage for the altered code and confirm failing edge cases are represented by tests.

D:

Deploy a controlled faulty revision and verify the rollout gate blocks approval or initiates defined rollback behavior.

Question 323

Developers merge a broken tax calculation because unit tests run only nightly after the protected branch has changed. Which DevOps implementation principle BEST explains the issue?

  1. Fast code-level tests detect known regressions only if their failure status controls integration.
  2. A successful job exit does not establish coverage when tests may have been skipped or results dropped.
  3. A headline coverage percentage is insufficient unless it measures relevant code and behavior.
  4. Unit tests cannot prove correctness at remote service and serialization boundaries.

Explanation

Correct Answer

A:

Fast code-level tests detect known regressions only if their failure status controls integration. An apparently successful build can ship a defect already revealed by automated unit tests.

Incorrect Answers

B:

A successful job exit does not establish coverage when tests may have been skipped or results dropped.

C:

A headline coverage percentage is insufficient unless it measures relevant code and behavior.

D:

Unit tests cannot prove correctness at remote service and serialization boundaries.

Question 324

Developers merge a broken tax calculation because unit tests run only nightly after the protected branch has changed. What preventive practice should be maintained after the fix?

  1. Maintain smoke-test coverage of top user journeys and retest gates after dependency changes.
  2. Protect test workflows and review skipped or disabled test gates when pipeline configuration changes.
  3. Version test-environment definitions and refresh contract fixtures after upstream API changes.
  4. Monitor agent image drift and alert when expected test counts or reporting artifacts disappear.

Explanation

Correct Answer

B:

Protect test workflows and review skipped or disabled test gates when pipeline configuration changes. An apparently successful build can ship a defect already revealed by automated unit tests.

Incorrect Answers

A:

Maintain smoke-test coverage of top user journeys and retest gates after dependency changes.

C:

Version test-environment definitions and refresh contract fixtures after upstream API changes.

D:

Monitor agent image drift and alert when expected test counts or reporting artifacts disappear.

Question 325

Developers merge a broken tax calculation because unit tests run only nightly after the protected branch has changed. What outcome most clearly explains the business impact?

  1. An apparently successful service rollout may interrupt customers still using supported older clients.
  2. A faulty build can be promoted simply because its infrastructure reported healthy.
  3. An apparently successful build can ship a defect already revealed by automated unit tests.
  4. A release may break at runtime even though each individual code module passed its unit tests.

Explanation

Correct Answer

C:

An apparently successful build can ship a defect already revealed by automated unit tests. This is the directly relevant business or security consequence of pull-request unit tests gating azure pipelines builds. Root cause: Fast code-level tests detect known regressions only if their failure status controls integration.

Incorrect Answers

A:

An apparently successful service rollout may interrupt customers still using supported older clients. That risk is relevant to consumer-driven api contract compatibility testing, but the specific unresolved condition here concerns pull-request unit tests gating azure pipelines builds and has a different direct consequence.

B:

A faulty build can be promoted simply because its infrastructure reported healthy. That risk is relevant to staging smoke tests as environment approval gates, but the specific unresolved condition here concerns pull-request unit tests gating azure pipelines builds and has a different direct consequence.

D:

A release may break at runtime even though each individual code module passed its unit tests. That risk is relevant to service integration tests with ephemeral environments, but the specific unresolved condition here concerns pull-request unit tests gating azure pipelines builds and has a different direct consequence.

Question 326

A GitHub Actions test step uses a command that swallows nonzero exit codes and reports green despite failing cases. Which implementation BEST addresses the operational issue?

  1. Run deterministic unit tests as required pull-request checks and fail the merge or promotion on genuine test failure.
  2. Choose agents with required capabilities and publish authenticated, machine-readable test results as release-gate evidence.
  3. Define representative postdeployment smoke tests and make their results a required environment promotion check.
  4. Run integration tests against provisioned test dependencies with controlled identities, seeded data, and predictable cleanup.

Explanation

Correct Answer

A:

Run deterministic unit tests as required pull-request checks and fail the merge or promotion on genuine test failure. Fast code-level tests detect known regressions only if their failure status controls integration. An apparently successful build can ship a defect already revealed by automated unit tests.

Incorrect Answers

B:

Choose agents with required capabilities and publish authenticated, machine-readable test results as release-gate evidence.

C:

Define representative postdeployment smoke tests and make their results a required environment promotion check.

D:

Run integration tests against provisioned test dependencies with controlled identities, seeded data, and predictable cleanup.

Question 327

A GitHub Actions test step uses a command that swallows nonzero exit codes and reports green despite failing cases. How should the team validate the intended result?

  1. Introduce a known failing assertion in a test branch and verify the required check blocks merge.
  2. Deploy a controlled faulty revision and verify the rollout gate blocks approval or initiates defined rollback behavior.
  3. Inspect line and branch coverage for the altered code and confirm failing edge cases are represented by tests.
  4. Re-run a platform-specific test and verify the expected agent image, test totals, failures, and output artifacts are recorded.

Explanation

Correct Answer

A:

Introduce a known failing assertion in a test branch and verify the required check blocks merge. Fast code-level tests detect known regressions only if their failure status controls integration.

Incorrect Answers

B:

Deploy a controlled faulty revision and verify the rollout gate blocks approval or initiates defined rollback behavior.

C:

Inspect line and branch coverage for the altered code and confirm failing edge cases are represented by tests.

D:

Re-run a platform-specific test and verify the expected agent image, test totals, failures, and output artifacts are recorded.

Question 328

A GitHub Actions test step uses a command that swallows nonzero exit codes and reports green despite failing cases. Which DevOps implementation principle BEST explains the issue?

  1. A successful job exit does not establish coverage when tests may have been skipped or results dropped.
  2. Fast code-level tests detect known regressions only if their failure status controls integration.
  3. Unit tests cannot prove correctness at remote service and serialization boundaries.
  4. A headline coverage percentage is insufficient unless it measures relevant code and behavior.

Explanation

Correct Answer

B:

Fast code-level tests detect known regressions only if their failure status controls integration. An apparently successful build can ship a defect already revealed by automated unit tests.

Incorrect Answers

A:

A successful job exit does not establish coverage when tests may have been skipped or results dropped.

C:

Unit tests cannot prove correctness at remote service and serialization boundaries.

D:

A headline coverage percentage is insufficient unless it measures relevant code and behavior.

Question 329

A GitHub Actions test step uses a command that swallows nonzero exit codes and reports green despite failing cases. What preventive practice should be maintained after the fix?

  1. Maintain smoke-test coverage of top user journeys and retest gates after dependency changes.
  2. Protect test workflows and review skipped or disabled test gates when pipeline configuration changes.
  3. Version test-environment definitions and refresh contract fixtures after upstream API changes.
  4. Monitor agent image drift and alert when expected test counts or reporting artifacts disappear.

Explanation

Correct Answer

B:

Protect test workflows and review skipped or disabled test gates when pipeline configuration changes. An apparently successful build can ship a defect already revealed by automated unit tests.

Incorrect Answers

A:

Maintain smoke-test coverage of top user journeys and retest gates after dependency changes.

C:

Version test-environment definitions and refresh contract fixtures after upstream API changes.

D:

Monitor agent image drift and alert when expected test counts or reporting artifacts disappear.

Question 330

A GitHub Actions test step uses a command that swallows nonzero exit codes and reports green despite failing cases. What outcome most clearly explains the business impact?

  1. A release may break at runtime even though each individual code module passed its unit tests.
  2. A faulty build can be promoted simply because its infrastructure reported healthy.
  3. An apparently successful service rollout may interrupt customers still using supported older clients.
  4. An apparently successful build can ship a defect already revealed by automated unit tests.

Explanation

Correct Answer

D:

An apparently successful build can ship a defect already revealed by automated unit tests. This is the directly relevant business or security consequence of pull-request unit tests gating azure pipelines builds. Root cause: Fast code-level tests detect known regressions only if their failure status controls integration.

Incorrect Answers

A:

A release may break at runtime even though each individual code module passed its unit tests. That risk is relevant to service integration tests with ephemeral environments, but the specific unresolved condition here concerns pull-request unit tests gating azure pipelines builds and has a different direct consequence.

B:

A faulty build can be promoted simply because its infrastructure reported healthy. That risk is relevant to staging smoke tests as environment approval gates, but the specific unresolved condition here concerns pull-request unit tests gating azure pipelines builds and has a different direct consequence.

C:

An apparently successful service rollout may interrupt customers still using supported older clients. That risk is relevant to consumer-driven api contract compatibility testing, but the specific unresolved condition here concerns pull-request unit tests gating azure pipelines builds and has a different direct consequence.

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

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

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

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

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

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.