CompTIA Study Materials
AWS Study Materials
AWS Certified Developer Associate AWS Certified Developer Associate
AWS Certified Developer Associate DVA-C02
AWS Certified Solutions Architect Associate AWS Certified Solutions Architect Associate
AWS Certified Solutions Architect Associate SAA-C03
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

Free CompTIA Linux+ XK0-005 Practice Question

A Linux system administrator notices that the journal logs on a production server are not persistent across reboots, which is necessary for troubleshooting ongoing issues that occur after system restarts. What's the BEST step the administrator should take to ensure journal logs are retained after a reboot?

  • Implement logrotate on /run/log/journal to ensure the logs are preserved after reboots.

  • Reboot the server to trigger a new instance of systemd-journald, which will then keep the logs.

  • Modify the 'Storage=' setting in '/etc/systemd/journald.conf' to 'persistent' and reboot the server.

  • Create the /var/log/journal directory and restart the systemd-journald service.

This question is for objective:
Troubleshooting
Your Score:
Troubleshooting
System Management
Security
Scripting, Containers, and Automation
SAVE $45