Question 670
At Pioneer Education, a vendor patch for a legacy daemon fails when applied because the source tree is at an unexpected release. The team is preparing a reversible change and needs a test that distinguishes the suspected fault from unrelated symptoms. A colleague suggests: “Force a patch with numerous rejected hunks and deploy without reviewing differences.” Which flaw makes that recommendation inappropriate?
Explanation
Correct Answer
Verify source and patch versions, inspect the patch, apply it with a supported patch tool and rebuild in a staging environment. Verify that the patch applies without rejected hunks and regression tests pass against the intended release.
Incorrect Answers
“Move selected compiled files arbitrarily after installation without accounting for configured paths.” is a different mistake. The current issue is that rejected hunks indicate that changes were not applied as intended.
“Execute the compressed tarball as though it were an ELF binary.” is a different mistake. The current issue is that rejected hunks indicate that changes were not applied as intended.
“Copy actively changing database files with plain cp and assume they form a consistent point-in-time backup.” is a different mistake. The current issue is that rejected hunks indicate that changes were not applied as intended.