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

  1. Question 102: A site reliability engineer updated the latest configuration management scripts and committed them to a workstream called either test or patch. A Linux adminis…
  2. Question 103: A Linux administrator needs to remotely update the contents of the www.comptia.org/contacts URL. Which of the following commands would allow the administrator…
  3. Question 106: A junior administrator needs to unload an older video kernel module. Which of the following commands would BEST accomplish this task?
  4. Question 108: A systems administrator received a request to change the hostname to a new name. Which of the following file configurations should be changed to fix the hostna…
  5. Question 110: A raw VM image is being compressed with bzip2 and copied to a flash drive at /dev/hdb for off-site use by the marketing department. Which of the following comm…
  6. Question 112: A technician wants to secure a sensitive workstation by ensuring network traffic is kept within the local subnet. To accomplish this task, the technician execu…
  7. Question 113: A junior Linux administrator needs to ensure a service will start on system boot. Which of the following commands should be used to accomplish this task?
  8. Question 115: A junior systems administrator is creating a cron job. The cron job requirements are as follows: ✑ Run the hello.sh script every hour (24 times in one day). ✑…
  9. Question 116: A Linux storage administrator wants to create a logical volume group. Which of the following commands is required to start the process?
  10. Question 117: A Linux administrator is using a public cloud provider to host servers for a company's website. Using the provider's tools, the administrator wrote a JSON file…