Question 190
At Evergreen Research, a manually built service installs into /usr/local but a deployment policy requires /opt/tenantapp. The team is preparing a reversible change and needs a test that distinguishes the suspected fault from unrelated symptoms. A colleague suggests: “Move selected compiled files arbitrarily after installation without accounting for configured paths.” Which flaw makes that recommendation inappropriate?
Explanation
Correct Answer
Pass the supported configure --prefix value, build with make and install through approved permissions and staging. Verify that the binaries and support files appear under the intended prefix with no unreviewed overwrite of packaged paths.
Incorrect Answers
“Assume an archive's existence proves that a usable restore will work.” is a different mistake. The current issue is that compiled paths, libraries and data directories can remain tied to the configured prefix.
“Execute the compressed tarball as though it were an ELF binary.” is a different mistake. The current issue is that compiled paths, libraries and data directories can remain tied to the configured prefix.
“Force a patch with numerous rejected hunks and deploy without reviewing differences.” is a different mistake. The current issue is that compiled paths, libraries and data directories can remain tied to the configured prefix.