nerdexam
Microsoft

AZ-400 · Question #380

You use Azure Pipelines to build and release application code, The pipelines include validation tests that must be completed successfully before deployment proceeds from the test stage to production.

The correct answer is B. Configure a parallel test runner.. Inconsistent test outcomes suggest flaws in test logic or environment. Configuring a parallel test runner helps validate test logic by exposing hidden dependencies or race conditions.

Submitted by deeparc· Mar 6, 2026Design and implement build and release pipelines

Question

You use Azure Pipelines to build and release application code, The pipelines include validation tests that must be completed successfully before deployment proceeds from the test stage to production. You discover inconsistent test outcomes for the same source code. You need to validate the test logic. What should you do?

Options

  • ADecrease the test pass rate.
  • BConfigure a parallel test runner.
  • CEnable flaky test detection.
  • DInstall the Analytics extension.

How the community answered

(37 responses)
  • A
    5% (2)
  • B
    84% (31)
  • C
    3% (1)
  • D
    8% (3)

Why each option

Inconsistent test outcomes suggest flaws in test logic or environment. Configuring a parallel test runner helps validate test logic by exposing hidden dependencies or race conditions.

ADecrease the test pass rate.

Decreasing the test pass rate only lowers the success threshold and does not address the underlying technical issues causing inconsistent test outcomes or validate the test logic.

BConfigure a parallel test runner.Correct

Configuring a parallel test runner helps validate test logic by executing tests concurrently across multiple agents or processes, which can expose issues such as race conditions, shared state problems, or environmental dependencies that lead to inconsistent outcomes. This approach allows for a more rigorous assessment of the test logic under varying execution conditions, helping to pinpoint the root causes of flakiness.

CEnable flaky test detection.

Enabling flaky test detection identifies *which* tests are inconsistent, but it does not directly reconfigure the test execution environment or actively assist in debugging and validating the flawed test logic itself.

DInstall the Analytics extension.

Installing the Analytics extension provides reporting and insights into pipeline metrics but does not directly help validate test logic or resolve inconsistent test outcomes.

Concept tested: Test execution configuration for consistency and logic validation

Source: https://learn.microsoft.com/en-us/azure/devops/pipelines/test/parallel-testing

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice