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 27 of 28.

  1. Question 300: An administrator clones a Git repository onto a local laptop. While inspecting the code, the administrator notices a bug and wants to fix it. Which of the foll…
  2. Question 301: A technician wants to archive and compress all files and folders contained within the /home/user directory. Which of the following commands should the technici…
  3. Question 302: A system shows high utilization of swap space but low utilization of physical memory. Which of the following commands should an administrator run to free up us…
  4. Question 303: A company's httpd server has stopped working and restarting the service does not fix the issue. A junior systems administrator is investigating log files for c…
  5. Question 305: A technician wants to implement a firewall ACL to block external access to the company's SSH server. Which of the following should the technician implement to…
  6. Question 306: A junior Linux administrator receives a request to add a user, Ann, to the secondary group `cashiers`. Ann is also a member of the secondary group, `managers`.…
  7. Question 307: Which of the following are Linux desktop managers? (Choose two.)
  8. Question 308: A Linux administrator needs to schedule a cron job to run at 1:15 p.m. every Friday to report the amount of free disk space on the system and to send the outpu…
  9. Question 309: An administrator has a CSV file named hosts.csv. The contents of hosts.csv include the following: 192.168.2.57,lnx1prd.example.com,Linux,Production 192.168.2.5…
  10. Question 310: A Linux administrator recently changed the IP addresses of all the web servers from 10.10.50.x to 10.10.100.x. The administrator needs to update the serverlist…