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

  1. Question 36: A cloud engineer needs to block the IP address 192.168.10.50 from accessing a Linux server. Which of the following commands will achieve this goal?
  2. Question 37: A development team asks an engineer to guarantee the persistency of journal log files across system reboots. Which of the following commands would accomplish t…
  3. Question 38: A systems administrator is notified that the mysqld process stopped unexpectedly. The systems administrator issues the following command: sudo grep –i -r ‘out…
  4. Question 39: User1 is a member of the accounting group. Members of this group need to be able to execute but not make changes to a script maintained by User2. The script sh…
  5. Question 41: A Linux administrator reviews a set of log output files and needs to identify files that contain any occurrence of the word denied. All log files containing en…
  6. Question 42: A systems administrator is encountering performance issues. The administrator runs a command with the following output: 09:10:18 up 457 days, 32min, 5 users, l…
  7. Question 43: Which of the following enables administrators to configure and enforce MFA on a Linux system?
  8. Question 44: Using AD Query, the security gateway connections to the Active Directory Domain Controllers using what protocol?
  9. Question 47: A systems administrator needs to reconfigure a Linux server to allow persistent IPv4 packet forwarding. Which of the following commands is the correct way to a…
  10. Question 49: Which of the following files holds the system configuration for journal when running systemd?