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

222 real CompTIA Linux+ (XK0-005) exam questions with answers and AI explanations. CompTIA certification prep — page 1 of 23.

  1. Question 1: A cloud engineer needs to change the secure remote login port from 22 to 49000. Which of the following files should the engineer modify to change the port numb…
  2. Question 2: A Linux administrator was tasked with deleting all files and directories with names that are contained in the sobelete.txt file. Which of the following command…
  3. Question 3: An administrator accidentally deleted the /boot/vmlinuz file and must resolve the issue before the server is rebooted. Which of the following commands should t…
  4. Question 4: A Linux administrator needs to redirect all HTTP traffic temporarily to the new proxy server 192.0.2.25 on port 3128. Which of the following commands will acco…
  5. Question 5: Which of the following technologies can be used as a central repository of Linux users and groups?
  6. Question 7: A systems administrator needs to clone the partition /dev/sdc1 to /dev/sdd1. Which of the following commands will accomplish this task?
  7. Question 9: A new file was added to a main Git repository. An administrator wants to synchronize a local copy with the contents of the main repository. Which of the follow…
  8. Question 10: Developers have requested implementation of a persistent, static route on the application server. Packets sent over the interface eth0 to 10.0.213.5/32 should…
  9. Question 11: A Linux administrator needs to analyze a failing application that is running inside a container. Which of the following commands allows the Linux administrator…
  10. Question 13: A systems administrator wants to back up the directory /data and all its contents to /backup/data on a remote server named remote. Which of the following comma…