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

  1. Question 133: A Linux administrator needs to correct the permissions of a log file on the server. Which of the following commands should be used to set filename.log permissi…
  2. Question 134: A Linux administrator created a new file system. Which of the following files must be updated to ensure the filesystem mounts at boot time?
  3. Question 135: A Linux administrator is tasked with adding users to the system. However, the administrator wants to ensure the users’ access will be disabled once the project…
  4. Question 136: A Linux system is getting an error indicating the root filesystem is full. Which of the following commands should be used by the systems administrator to resol…
  5. Question 137: A DevOps engineer needs to allow incoming traffic to ports in the range of 4000 to 5000 on a Linux server. Which of the following commands will enforce this ru…
  6. Question 138: A Linux administrator needs to determine whether a hostname is in the DNS. Which of the following would supply the information that is needed?
  7. Question 139: A Linux engineer needs to create a custom script, cleanup.sh, to run at boot as part of the system services. Which of the following processes would accomplish…
  8. Question 140: A Linux administrator modified the SSH configuration file. Which of the following commands should be used to apply the configuration changes?
  9. Question 141: A Linux systems administrator receives a notification that one of the server’s filesystems is full. Which of the following commands would help the administrato…
  10. Question 142: A Linux administrator has been tasked with installing the most recent versions of packages on a RPM-based OS. Which of the following commands will accomplish t…