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 2 of 23.

  1. Question 15: Which of the following commands will display the operating system?
  2. Question 16: A Linux administrator recently downloaded a software package that is currently in a compressed file. Which of the following commands will extract the files?
  3. Question 17: Which of the following tools is commonly used for creating CI/CD pipelines?
  4. Question 19: A Linux administrator would like to use systemd to schedule a job to run every two hours. The administrator creates timer and service definitions and restarts…
  5. Question 20: A systems administrator created a web server for the company and is required to add a tag for the API so end users can connect. Which of the following would th…
  6. Question 22: A systems administrator requires that all files that are created by the user named web have read-only permissions by the owner. Which of the following commands…
  7. Question 25: A systems administrator wants to be sure the sudo rules just added to /etc/sudoers are valid. Which of the following commands can be used for this task?
  8. Question 27: Which of the following is a function of a bootloader?
  9. Question 30: A systems administrator was tasked with assigning the temporary IP address/netmask 192.168.168.1/255.255.255.255 to the interface eth0 of a Linux server. When…
  10. Question 34: Due to low disk space, a Linux administrator finding and removing all log files that were modified more than 180 days ago. Which of the following commands will…