AZ-400 · Question #489
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might h
The correct answer is B. No. Why B (No) is Correct: Test Impact Analysis (TIA) is designed to identify which tests are relevant to run based on code changes, helping to reduce unnecessary test execution by only running tests affected by recent code modifications. Since the problem states that TestSuite1 fail
Question
Options
- AYes
- BNo
How the community answered
(37 responses)- A16% (6)
- B84% (31)
Explanation
Why B (No) is Correct: Test Impact Analysis (TIA) is designed to identify which tests are relevant to run based on code changes, helping to reduce unnecessary test execution by only running tests affected by recent code modifications. Since the problem states that TestSuite1 failures are unrelated to source code changes, TIA would not address the root cause of the intermittent failures. TIA does not help minimize troubleshooting effort for flaky or intermittent test failures.
Why A (Yes) is Wrong: Enabling TIA would be a mismatch for this scenario - it optimizes which tests to run, not how to handle unreliable or flaky tests. It would not reduce the effort needed to investigate failures that are already known to be unrelated to code changes.
The Correct Solution: The appropriate solution for intermittent/flaky test failures unrelated to code or environment is to configure a test retry mechanism (flaky test management), which automatically re-runs failed tests and flags consistently failing ones, directly reducing manual troubleshooting effort.
Memory Tip: Think of TIA as a "test filter" based on code changes - if the problem says failures are not related to code changes, TIA is irrelevant. For flaky/intermittent tests, think retry + flaky test detection, not TIA.
Topics
Community Discussion
No community discussion yet for this question.