Question 580
A quick workaround is proposed for this Linux problem: An operator needs to find files ending in .log beneath /var/log without searching other filesystems. Which assumption creates the most relevant technical risk?
Explanation
Correct Answer
Leaving the glob unquoted lets the shell expand it before find evaluates its name pattern. This is the scenario's misleading assumption. An engineer should investigate: Inspect the starting directory and decide whether crossing filesystem boundaries is acceptable. Appropriate evidence afterward is: Results contain matching regular .log files under the intended filesystem only.
Incorrect Answers
Swapping dd input and output operands can overwrite the source device irreversibly. That would matter when an operator must produce a byte-for-byte image of an offline removable device before analysis. The relevant distinction in this case is: Leaving the glob unquoted lets the shell expand it before find evaluates its name pattern.
Decompression of the gzip layer alone does not extract the tar member files. That would matter when an archive was created with tar and gzip but an operator tries to restore it with a raw gunzip alone. It does not address this case's requirement: An operator needs to find files ending in .log beneath /var/log without searching other filesystems.
Archiving absolute paths without reviewing restoration behavior can write outside the target directory. That would matter when a directory tree must be archived with relative paths for transfer to another Linux machine. That separate mechanism does not verify the needed Linux administration outcome in this case.