Question 570
The lab examiner asks for evidence after this assignment: An application service fails to start but an administrator looks only at its unit's enabled state. What is the decisive verification step?
Explanation
Correct Answer
The relevant exit status and journal error identify the cause, not merely whether the unit is enabled. This check confirms the expected effect of: Use `journalctl -u labworker.service -b --no-pager` and inspect `systemctl status labworker.service` for the actual failure. It distinguishes the intended result from the original failure mechanism: Service enablement controls boot dependencies; it does not establish successful execution.
Incorrect Answers
The host restarts cleanly, and journal boot IDs show the new boot. That verifies a separate lab task: A lab system needs a controlled reboot after updates but the operator plans to unplug the virtual power without syncing writes. It does not validate the implementation required here: Use `journalctl -u labworker.service -b --no-pager` and inspect `systemctl status labworker.service` for the actual failure.
The host presents the expected rescue environment where the affected service can be repaired. That verifies a separate lab task: A VM has a misconfigured service and requires recovery operations in an isolated rescue target. It does not validate the implementation required here: Use `journalctl -u labworker.service -b --no-pager` and inspect `systemctl status labworker.service` for the actual failure.
The intended service listens on the expected IP/port before any firewall modification is made. That verifies a separate lab task: A listening service appears healthy but clients cannot connect, and the administrator must distinguish service binding from firewall failures. It does not validate the implementation required here: Use `journalctl -u labworker.service -b --no-pager` and inspect `systemctl status labworker.service` for the actual failure.