Question 770
In a hands-on RHCSA practice VM, the assigned outcome was: The team needs the documented purpose and arguments of `systemctl` without accessing the Internet during training. What specific verification would demonstrate the target state?
Explanation
Correct Answer
The operator identifies documented syntax for `enable --now` and `is-enabled` from local manual pages. This check confirms the expected effect of: Read `man systemctl`, search within the manual, and check locally installed help text. It distinguishes the intended result from the original failure mechanism: System manuals are installed sources of command syntax rather than requiring external web search.
Incorrect Answers
`id -un`, `pwd`, and `printf '%s\n' "$HOME"` reflect the privileged login context. That verifies a separate lab task: A student becomes root with `su` but finds the previous user's PATH and working directory still active during an administrative test. It does not validate the implementation required here: Read `man systemctl`, search within the manual, and check locally installed help text.
`stat -c '%i %h'` reports the same inode and an increased link count for both paths. That verifies a separate lab task: Two paths should reference the same inode so edits through either name appear in the other, entirely on one file system. It does not validate the implementation required here: Read `man systemctl`, search within the manual, and check locally installed help text.
`stat -c '%a %y'` on source and destination confirms equivalent permissions and modification time. That verifies a separate lab task: A student copies a permission-sensitive fixture and unexpectedly changes its timestamp and permission bits. It does not validate the implementation required here: Read `man systemctl`, search within the manual, and check locally installed help text.