Question 660
A Copilot-assisted software team encounters the following situation: An automated refactor removes a feature flag branch that still serves older clients. Which approach targets the actual problem most precisely?
Explanation
Correct Answer
Refactoring suggestions require requirements-aware behavioral testing. The proposed action directly addresses the identified need: An automated refactor removes a feature flag branch that still serves older clients. A suitable acceptance check is: Older and newer clients both pass contract tests after the refactor.
Incorrect Answers
The generated serializer was reviewed for syntax but not for schema compatibility. The specific problem here is that the suggestion optimized code while overlooking existing compatibility constraints.
Copilot suggested unnecessary ambient privilege for convenience. The specific problem here is that the suggestion optimized code while overlooking existing compatibility constraints.
AI-generated code used a predictable general-purpose random source. The specific problem here is that the suggestion optimized code while overlooking existing compatibility constraints.