nerdexam
Microsoft

AZ-400 · Question #604

You are designing a build and release pipeline. You need to implement a shift-left testing strategy for the pipeline. Which types of tests should you include?

The correct answer is C. unit, smoke, and integration. The goal for shifting testing left is to move quality upstream by performing testing tasks earlier in the pipeline. Through a combination of test and process improvements, shifting left reduces both the time it takes for tests to run, and the impact of failures later in the cycle

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

Question

You are designing a build and release pipeline. You need to implement a shift-left testing strategy for the pipeline. Which types of tests should you include?

Options

  • Aformal acceptance, user acceptance, and smoke
  • Bfunctional, regression, and formal acceptance
  • Cunit, smoke, and integration
  • Dintegration, user acceptance, and regression

How the community answered

(27 responses)
  • A
    11% (3)
  • B
    4% (1)
  • C
    78% (21)
  • D
    7% (2)

Explanation

The goal for shifting testing left is to move quality upstream by performing testing tasks earlier in the pipeline. Through a combination of test and process improvements, shifting left reduces both the time it takes for tests to run, and the impact of failures later in the cycle. Shifting left ensures that most testing is completed before a change merges into the main branch. Write tests at the lowest possible level Write more unit tests. Favor tests with the fewest external dependencies, and focus on running most tests as part of the build. https://learn.microsoft.com/en-us/devops/develop/shift-left-make-testing-fast-reliable

Topics

#shift-left testing#unit tests#integration tests#smoke tests

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice