CompTIA Linux+ (XK0-004) Free Practice Exam Questions

280 real CompTIA Linux+ (XK0-004) exam questions with answers and AI explanations. CompTIA certification prep — page 9 of 28.

  1. Question 89: A systems administrator configured a new kernel module, but it stopped working after reboot. Which of the following will allow the systems administrator to che…
  2. Question 90: Two specific users need access to a directory owned by root where backups are located. Which of the following commands would BEST ensure the specified users ca…
  3. Question 91: A company wants to ensure that all newly created files can be modified only by their owners and that all new directory content can be changed only by the creat…
  4. Question 92: A member of the production group issues the following command: echo "Monday through Friday" > /production_docs/days The command fails to execute, so the user o…
  5. Question 95: Ann, a junior Linux administrator, needs to copy software from her local machine to assist in developing a software application on a remote machine with the IP…
  6. Question 96: An administrator is tasked with increasing the size of the volume /dev/vg/lv to 20GB. Which of the following BEST illustrates the steps the administrator shoul…
  7. Question 97: An administrator notices a directory on a web server named /var/www/html/old_reports that should no longer be accessible on the web. Which of the following com…
  8. Question 98: A systems administrator is enabling quotas on the /home directory of a Linux server. The administrator makes the appropriate edits to the /etc/fstab file and a…
  9. Question 100: A systems administrator needs to allow the Linux server to receive HTTP connections from Internet hosts. By default, the port for HTTP connections is blocked.…
  10. Question 101: A security administrator wants to display a warning banner before a user logs in. Which of the following files must be edited to make this happen?