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

  1. Question 163: A systems administrator manually added a new library to the server. The administrator wants to rebuild the library cache for immediate use. Which of the follow…
  2. Question 164: Which of the following is the BEST reason for not storing database files in the /var directory?
  3. Question 165: Which of the following is the template for the grub.cfg file?
  4. Question 166: A Linux administrator needs to back up the folder /usr/domain, and the output must be a gzip compressed tar. Which of the following commands should be used?
  5. Question 167: A user needs to modify the IP address of a laptop. Which of the following files can be used to configure the network interface named eth0?
  6. Question 168: A user has been locked out of an account due to too many failed password attempts. Which of the following commands will unlock the user's account?
  7. Question 169: A Linux administrator is updating iptables rules and is given the following tasks: ✑ Output a list of iptables rules. ✑ Remove all iptables rules. Which of the…
  8. Question 170: A junior administrator is configuring local name lookups for fully qualified domain names in an isolated environment. The administrator is given a checklist an…
  9. Question 171: A storage administrator in a virtualized environment has been told by a user that there is no space left on the volume to which the user can write. However, a…
  10. Question 172: An administrator receives a warning about a filesystem filling up, and then identifies a large file located at /tmp/largelogfile. The administrator deletes the…