CompTIA Linux+ Practice Questions: Hardware

6 free, exam-style CompTIA Linux+ (XK0-006) practice questions covering Hardware, each with the correct answer and an explanation. Start a timed exam below, or scroll on to read through the questions.

🧠

Mini Exam

25 Questions · 50 minutes

Start Quiz 🚀
🏆

Mock Linux+ Exam

85 Questions · 165 minutes

Start Quiz 🚀
📅

Daily Quiz

10 Questions · 20 minutes

Start Quiz 🚀
🎯

Standard Practice

50 Questions · 100 minutes

Start Quiz 🚀

Hardware practice questions

Answers and explanations are shown. Take the timed exam above to test yourself first.

Q1. Which command shows PCI device information?

  • A.lspci✓ Correct
  • B.lsusb
  • C.lscpu
  • D.lsblk
Explanation: lspci lists PCI buses and connected devices. Learn more.

Q2. Which command shows hardware information?

  • A.lshw
  • B.dmidecode
  • C.hwinfo
  • D.All of the above✓ Correct
Explanation: All commands display hardware details (may require root). Learn more.

Q3. What command lists PCI devices?

  • A.lspci✓ Correct
  • B.lsusb
  • C.lscpu
  • D.lsblk
Explanation: lspci shows PCI buses and connected devices. Learn more.

Q4. Which command shows CPU architecture information?

  • A.lscpu
  • B.cpuid
  • C.dmidecode
  • D.All of the above✓ Correct
Explanation: All display CPU details at different levels. Learn more.

Q5. Which command shows detailed PCI device info?

  • A.lspci -vv
  • B.dmidecode -t 9
  • C.hwinfo --pci
  • D.All of the above✓ Correct
Explanation: All provide detailed PCI device information. Learn more.

Q6. Which command shows detailed USB device tree?

  • A.lsusb -t
  • B.usbview
  • C.dmesg | grep usb
  • D.All of the above✓ Correct
Explanation: Multiple tools display USB hierarchy. Learn more.

More CompTIA Linux+ practice topics

Keep studying CompTIA Linux+

Full CompTIA Linux+ practice exam · CompTIA Linux+ study guide · All CompTIA practice questions

Last updated