Question 140
A Linux administrator evaluates: A data directory backup must preserve ownership and symlinks so a restored service can restart correctly. Select TWO complementary answers: the most suitable corrective action AND the evidence proving it worked.
Explanation
Correct Answers
For the specific observation (A data directory backup must preserve ownership and symlinks so a restored service can restart correctly), the acceptance evidence is: A restore rehearsal recovers the expected files, ownership and permissions to an isolated path with matching checksums. This verifies the action (Use rsync with appropriate source, destination and preservation flags, then perform a controlled restore and compare file content and metadata.) rather than merely proving that an unrelated Linux tool works. It also addresses the known risk: An unverified mirror or incorrectly placed trailing slash can back up the wrong directory structure or propagate deletions.
The observed Linux condition is: A data directory backup must preserve ownership and symlinks so a restored service can restart correctly. The recommended direct administrative response is: Use rsync with appropriate source, destination and preservation flags, then perform a controlled restore and compare file content and metadata. The relevant failure or security risk is: An unverified mirror or incorrectly placed trailing slash can back up the wrong directory structure or propagate deletions. Validate success with: A restore rehearsal recovers the expected files, ownership and permissions to an isolated path with matching checksums.
Incorrect Answers
Persistent filesystem mounting by UUID (1.3) would demonstrate or implement: Using a changing /dev/sdX name or wrong filesystem type can mount the wrong disk or drop the system into emergency mode. The case states: the most suitable corrective action AND the evidence proving it worked. The most direct paired action and test is: A restore rehearsal recovers the expected files, ownership and permissions to an isolated path with matching checksums.
Route and socket inspection with IP and ss (1.4) would demonstrate or implement: The route lookup selects the intended next hop and ss shows the service listening on the required address and port. The required paired action and test concerns Rsync incremental backup and restoration verification; a passing result for this alternative could leave that requirement unresolved.
GRUB kernel boot parameter recovery (1.1) addresses another technical failure: An incorrect kernel or root filesystem parameter can stop the host before its normal init process starts. The paired-answer requirement concerns Rsync incremental backup and restoration verification; this alternative does not provide the matching intervention and separate acceptance evidence.