About the Exam

CompTIA Linux+ is a vendor-neutral certification for IT professionals who administer Linux systems in enterprise and cloud environments. The exam covers Linux system management, services and user management, security, automation and scripting, and troubleshooting across major Linux distributions. Passing demonstrates practical ability to configure, secure, automate, and troubleshoot Linux servers.

Exam Topics

  • System Management23%
  • Services and User Management20%
  • Security18%
  • Automation, Orchestration, and Scripting17%
  • Troubleshooting22%

How to Use This Practice Exam

  1. Browse — Read each question, select your answer, and reveal the explanation.
  2. Exam Mode — Simulate real exam conditions with a timed session and score report.
  3. Learn Mode — Spaced repetition schedules questions you struggle with for long-term retention.

Download the Full Exam PDF

Get every question and answer in a clean, printable PDF built for offline study. Purchase once, keep permanent access, and re-download the latest version anytime.

Last updated May 14, 2026 at 6:05 AM

Topic filter
Retired questions
Question sort

QuestionQ1

Troubleshooting

Users cannot access a server after it has been restarted. However, an administrator can connect directly to the server using a console in the server room and observes the following:

Question Image

Which of the following is the most likely cause of this connectivity issue?

  • A The server has no issue with the network and should be restarted to restore functionality
  • B The server networking cable is plugged into the wrong interface and needs to be moved
  • C The server is not able to obtain an IP address from the DHCP server
  • D The server's network card has failed and will need to be replaced with a new networking card
Explanation

The Ethernet link is operational, as shown by the interface state UP and LOWER_UP. The connection is configured for automatic IPv4 addressing, but it has a 169.254.120.5/16 link-local address instead of a routable DHCP lease. A link-local address in this range indicates that DHCP address acquisition did not succeed.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!

QuestionQ2

System Management

An administrator changes a server’s network configuration but wants to ensure that, if an issue occurs, the change will not cause an outage. Which command enables the administrator to achieve this?

  • A netplan try
  • B netplan rebind
  • C netplan ip
  • D netplan apply
Explanation

netplan try temporarily applies a Netplan configuration and automatically reverts it unless it is confirmed within the timeout period, helping prevent a network misconfiguration from causing a lasting outage or remote lockout.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!

QuestionQ3

Automation, Orchestration, and Scripting

Which command should an administrator use to convert a KVM disk file into another format?

  • A qemu-kvm
  • B qemu-ng
  • C qemu-io
  • D qemu-img
Explanation

The qemu-img utility manages QEMU/KVM disk images and provides the convert subcommand for converting disk-image formats, such as QCOW2, RAW, and VMDK. QEMU Disk Images documentation

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!

QuestionQ4

System Management

Which command should an administrator use to view a complete hardware inventory for a Linux system?

  • A dmidecode
  • B lsmod
  • C dmesg
  • D lscpu
Explanation

dmidecode reads the system’s SMBIOS/DMI tables to report detailed hardware and firmware inventory information, including BIOS, system, chassis, processor, memory, and related device data.

Community Discussion

No comments yet. Be the first to start the discussion!

QuestionQ5

Services and User Management

A DevOps engineer must create a local Git repository. Which command should the engineer use?

  • A git init
  • B git clone
  • C git config
  • D git add
Explanation

git init initializes a new Git repository in the current directory, creating the repository metadata needed for local version control.

Community Discussion

No comments yet. Be the first to start the discussion!
Know a question that should be here? Contribute to this exam
Back home