CompTIA Linux+ credential artwork

CompTIA Linux+ (XK0-006) Exam Guide

Validates knowledge of Linux system management, services and users, security, automation and scripting, and troubleshooting.

Linux+ tests whether you can run Linux servers from the command line, covering storage, services, users, security, scripting and troubleshooting. Expect command output, logs and configuration files. Learn the objectives with one course or book, practise every task in your own virtual machines, then use timed tests to find gaps.

Understand the exam

Syllabus

1.0System management23%
  1. 1.1Explain basic Linux concepts.
  2. 1.2Summarize Linux device management concepts and tools.
  3. 1.3Manage storage in a Linux system.Scenario
  4. 1.4Manage network services and configurations on a Linux server.Scenario
  5. 1.5Manage a Linux system using common shell operations.Scenario
  6. 1.6Perform backup and restore operations for a Linux server.Scenario
  7. 1.7Summarize virtualization on Linux systems.

Example scenario: A new disk has been added to a server running out of space in /var. How would you make the extra space available without reinstalling?

2.0Services and user management20%
  1. 2.1Manage files and directories on a Linux system.Scenario
  2. 2.2Perform local account management in a Linux environment.Scenario
  3. 2.3Manage processes and jobs in a Linux environment.Scenario
  4. 2.4Configure and manage software in a Linux environment.Scenario
  5. 2.5Manage Linux using systemd.Scenario
  6. 2.6Manage applications in a container on a Linux server.Scenario

Example scenario: A web service fails to start after a reboot. Which commands would you run to see why?

3.0Security18%
  1. 3.1Summarize authorization, authentication, and accounting methods.
  2. 3.2Configure and implement firewalls on a Linux system.Scenario
  3. 3.3Apply operating system (OS) hardening techniques on a Linux system.Scenario
  4. 3.4Explain account hardening techniques and best practices.
  5. 3.5Explain cryptographic concepts and technologies in a Linux environment.
  6. 3.6Explain the importance of compliance and audit procedures.

Example scenario: SSH logs show thousands of failed root logins from the internet. Which settings would you change first?

4.0Automation, orchestration, and scripting17%
  1. 4.1Summarize the use cases and techniques of automation and orchestration in a Linux environment.
  2. 4.2Perform automated tasks using shell scripting.Scenario
  3. 4.3Summarize Python basics used for Linux system administration.
  4. 4.4Implement version control using Git.Scenario
  5. 4.5Summarize best practices and responsible uses of artificial intelligence (AI).

Example scenario: You need to create the same ten user accounts on twenty servers. How would you automate it and keep the script under version control?

5.0Troubleshooting22%
  1. 5.1Summarize monitoring concepts and configurations in a Linux system.
  2. 5.2Analyze and troubleshoot hardware, storage, and Linux OS issues.Scenario
  3. 5.3Analyze and troubleshoot networking issues on a Linux system.Scenario
  4. 5.4Analyze and troubleshoot security issues on a Linux system.Scenario
  5. 5.5Analyze and troubleshoot performance issues.Scenario

Example scenario: A server responds slowly and the load average is high, but CPU use is low. What would you check next?

Official XK0-006 exam objectives · XK0-006 (V8)

Format

Questions
Up to 90
Duration
90 min
Passing score
720 / 900
Delivery
Test centre or online
Languages
English

Question types

Choose the best answer from the options, or the stated number of answers when a question asks for more than one.

CertUp example

A shell script must stop as soon as any command in it fails. Which line near the top does this?

  1. set -e
  2. set -x
  3. umask 077
  4. export -f
Show answer

A. set -e exits the script when a command returns an error. set -x only prints each command as it runs.

Make a study plan

Read the objectives and set up two virtual machines, one Debian-based and one Red Hat-based. Choose one main course or book, and practise every command as you learn it.

Most candidates spend 60–120 hours. Plan for the low end if you use Linux daily; plan for the high end if the command line is new to you.

9 weeksto be ready
  1. 1Understand the examRead the syllabus and format, check you’re eligible and pick a target date.5 h
  2. 3Learn the core conceptsWork through one main course or book, topic by topic.53 h
  3. 4Practice with mock examsTake timed practice tests and review every mistake.27 h
  4. 5Prepare for exam dayBook the exam and check the ID and delivery rules.5 h

Learn the core concepts

Use one complete XK0-006 course or the Sybex book as your main resource, and the objectives as your checklist. Practise everything on your own Linux virtual machines.

See all 4 Linux+ courses →

Run every command yourself. Install a Debian-based and a Red Hat-based distribution in free virtualization software, and repeat each task on both until you can do it without notes.

Practice with mock exams

Use timed tests to find weak domains, then go back to your virtual machines and run the commands you missed. Read the output carefully, because many questions depend on it.

See all 5 Linux+ practice tests →

Are you ready?

  • You can explain what a command's output shows and what you would run next.
  • You can fix a failed service, a full disk and a permission error without notes.
  • You can finish a timed practice exam with time left to review.

Prepare for exam day

Buy a voucher and schedule with Pearson VUE. The voucher is valid for 12 months, subject to the exam retirement date.

At a test centre

  • Bring the identification listed in your appointment confirmation, with the same name as your booking.
  • Arrive at the time specified in your confirmation and store personal belongings as instructed.
  • Use the exam tutorial before the 90-minute timer starts.
CompTIA test-centre information

CompTIA exam policies

Advice from exam takers

Practise in a virtual machine.

One commenter recommends an Ubuntu virtual machine in free VirtualBox, adding that yum and rpm work much like apt. They stress that output-based questions rarely make sense unless you have run the commands.