Want to pass your CompTIA Linux+ Certification Exam XK0-005 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
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?
A. grep -i auto /etc/systemd/journald.conf andand systemctl restart systemd-journald.service
B. cat /etc/systemd/journald.conf | awk '(print $1,$3)'
C. sed -i 's/auto/persistent/g' /etc/systemd/journald.conf andand sed -i 'persistent/s/^#//q' /etc/systemd/journald.conf
D. journalctl --list-boots andand systemctl restart systemd-journald.service
A cloud engineer needs to remove all dangling images and delete all the images that do not have an associated container. Which of the following commands will help to accomplish this task?
A. docker images prune -a
B. docker push images -a
C. docker rmi -a images
D. docker images rmi --all
A Linux administrator has physically added a new RAID adapter to a system. Which of the following commands should the Linux administrator run to confirm that the device has been recognized? (Choose two.)
A. rmmod
B. ls -ll /etc
C. lshw -class disk
D. pvdisplay
E. rmdir /dev
F. dmesg