Question 240
A request for a security fix allows broad changes that are hard to review. Following the chosen solution, what evidence best proves that it worked?
Explanation
Correct Answer
This outcome directly checks the intended behavior: The diff is small and passes security regression checks. The requested action was: Ask for a minimal patch limited to the affected function and relevant tests.
Incorrect Answers
“Only permitted files change and targeted tests pass.” does not demonstrate the result required here: The diff is small and passes security regression checks.
“The output passes the requested Python interpreter syntax check.” does not demonstrate the result required here: The diff is small and passes security regression checks.
“The proposed command passes a safe dry run on the target shell.” does not demonstrate the result required here: The diff is small and passes security regression checks.