Courseiva
System Management →easyMultiple Choice

XK0-006 System Management Practice Question

A Linux administrator needs to scan all currently connected USB devices and display detailed information such as vendor ID, product ID, and device class. Which command should the administrator run?

⚠ Common exam trap

Candidates often confuse PCI device listing with USB device listing; lspci shows internal buses, not external USB peripherals.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

lsusb

The lsusb command queries the USB subsystem and prints a line for each connected USB device, including vendor and product IDs, device class, and bus topology. It is the standard utility for quickly enumerating USB devices on a Linux system without needing elevated privileges.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    lsusb

    Why this is correct

    lsusb enumerates USB buses and connected devices, showing vendor and product IDs, device class, and bus/device numbers. It directly answers the need to list currently connected USB devices with detailed identification information without requiring root privileges.

  • ✗

    lshw -class usb

    Why it's wrong here

    lshw -class usb provides detailed hardware information for USB controllers and devices but is not the standard command for a quick device enumeration. It may require root to show full details and is more verbose than needed for simply listing connected USB devices with IDs.

  • ✗

    lspci

    Why it's wrong here

    lspci lists PCI devices such as network cards, GPUs, and storage controllers. It does not enumerate USB devices connected to the system, so it cannot show vendor and product IDs for USB peripherals. The administrator needs USB-specific output, which lspci does not provide.

  • ✗

    lsblk

    Why it's wrong here

    lsblk displays block devices like disks and partitions in a tree format, including mountpoints and sizes. It may show USB storage as a block device, but it does not list all USB devices such as keyboards, cameras, or hubs, nor does it display USB vendor and product IDs.

About these practice questions

Courseiva writes every XK0-006 question from scratch — 781 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official CompTIA exam blueprint

This XK0-006 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XK0-006 exam.