nerdexam
CompTIACompTIA

XK0-005 · Question #1470

XK0-005 Question #1470: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-005 to reveal the answer and full explanation for question #1470. The question stem and answer options stay visible for context.

System Management

Question

A development team asks an engineer to guarantee the persistency of journal log files across system reboots. Which of the following commands would accomplish this task?

Options

  • Agrep -i auto /etc/systemd/journald.conf && systemctl restart systemd-journald.service
  • Bcat /etc/systemd/journald.conf | awk '(print $1,$3)'
  • Csed -i 's/auto/persistent/g' /etc/systemd/journald.conf && sed -i 'persistent/s/^#//q'
  • Djournalctl --list-boots && systemctl restart systemd-journald.service

Unlock XK0-005 to see the answer

You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#systemd-journald#Log Management#Configuration Management#sed
Full XK0-005 PracticeBrowse All XK0-005 Questions