Question 310
After the team applies this response: Insert deterministic unit test jobs that fail the pipeline when assertions fail and run for all relevant changes. In the situation—A YAML pipeline compiles successfully but fails to run unit tests before releasing a financial calculation update. Which evidence BEST demonstrates the response is effective?
Explanation
Correct Answer
The governing engineering principle is: Build success proves compilation, not application behavior; CI should execute appropriate assertions before release.
Incorrect Answers
Modular IaC reduces coupling when contracts, deployment order and shared ownership are explicit. The relevant control is to introduce a controlled failing test and verify the required check blocks artifact promotion.
Immutable artifact references prevent deployment from silently selecting different bytes than those tested. The needed step here is to introduce a controlled failing test and verify the required check blocks artifact promotion.
Parallel pipeline stages must preserve artifact identity to avoid silent overwrites. The appropriate remedy is to introduce a controlled failing test and verify the required check blocks artifact promotion.






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