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

  1. Question 1: A junior Linux administrator is updating local name resolution to support IPv6. The administrator issues the command cat /etc/hosts and receives the following…
  2. Question 2: A Linux administrator needs to set permissions on an application with the following parameters: ✑ The owner of the application should be able to read, write, a…
  3. Question 3: An administrator needs to create a shared directory in which all users are able to read, write, and execute its content but none of the regular users are able…
  4. Question 4: A systems administrator must clean up all application files in the directory /var/log/app. However, the company's security policy requires the files to be kept…
  5. Question 5: A Linux systems administrator wants the ability to access systems remotely over SSH using RSA authentication. To which of the following files should the RSA to…
  6. Question 6: A Linux administrator is testing connectivity to a remote host on a shared terminal. The administrator wants to allow other users to access the terminal while…
  7. Question 7: An administrator is analyzing a Linux server which was recently hacked. Which of the following will the administrator use to find all unsuccessful login attemp…
  8. Question 8: Which of the following commands would show the default printer on a Linux system?
  9. Question 9: A junior administrator of a physical server receives log messages indicating the out-of-memory killer has been active. All memory slots are in use on the mothe…
  10. Question 10: A Linux systems administrator needs to provision multiple web servers into separate regional datacenters. The systems architect has instructed the administrato…