CompTIA Linux+ Practice Questions (Free Sample)

These 15 free questions give you a real feel for the Linux+ exam, the same scenario style and difficulty you get inside Certifym, with an instant score the moment you submit and a full explanation for every answer once you enter your email. They span System Management, Services and User Management, Security, Automation, Orchestration, and Scripting, and Troubleshooting.

Ready for the real thing? Members get ten full-length Linux+ practice exams with full explanations, study mode, and domain drills. New practice content is added every week, and your progress is saved when you join.

CompTIA Linux+ (XK0-006) — Free Sample Questions

  1. Question 1 of 15System Management

    Which command displays disk space usage for each mounted filesystem in human-readable units?

  2. Question 2 of 15System Management

    Which command configures a systemd service to start automatically at boot without starting it right now?

  3. Question 3 of 15System Management

    Which file defines the filesystems that are mounted automatically at boot?

  4. Question 4 of 15System Management

    Which command provides a continuously updating view of running processes ranked by CPU usage?

  5. Question 5 of 15Services and User Management

    Which command creates a new user and also creates a home directory for that user?

  6. Question 6 of 15Services and User Management

    Where are the hashed passwords for local user accounts stored on a modern Linux system?

  7. Question 7 of 15Services and User Management

    Which crontab entry runs a backup script at 2:30 AM every day?

  8. Question 8 of 15Security

    What access does chmod 640 grant on a file?

  9. Question 9 of 15Security

    Which command lets an authorized user run a single command with root privileges while logging the action?

  10. Question 10 of 15Security

    Which subsystem enforces mandatory access control policies on Red Hat based distributions?

  11. Question 11 of 15Automation, Orchestration, and Scripting

    What does the first line #!/bin/bash accomplish in a script file?

  12. Question 12 of 15Automation, Orchestration, and Scripting

    Which tool applies declarative configuration to many servers over SSH without requiring an agent on each host?

  13. Question 13 of 15Troubleshooting

    Which command shows which TCP ports are listening and the processes bound to them?

  14. Question 14 of 15Troubleshooting

    Which command queries the systemd journal to review recent log messages for a failing service?

  15. Question 15 of 15Troubleshooting

    Users cannot create files on a volume, but df -h shows plenty of free space. Which command reveals the most likely cause?

Untimed, no account needed. Your score appears instantly. Add your email afterwards if you want the explanation for every question and a copy of your results.