nerdexam
CompTIACompTIA

XK0-005 · Question #1330

XK0-005 Question #1330: Real Exam Question with Answer & Explanation

The correct answer is A: Ismod. To troubleshoot issues with hardware like a non-working graphics card in Linux, lsmod is the appropriate command to check which kernel modules are currently loaded, helping to identify if the correct driver for the problematic card is active.

Troubleshooting

Question

A technician recently installed Linux on a desktop computer. The desktop has two graphics cards from two different vendors. One of the graphics cards works, but the other does not. Which of the following commands should the technician use to start troubleshooting this issue?

Options

  • AIsmod
  • BVmstat
  • CGdm
  • Dstartx

Explanation

To troubleshoot issues with hardware like a non-working graphics card in Linux, lsmod is the appropriate command to check which kernel modules are currently loaded, helping to identify if the correct driver for the problematic card is active.

Common mistakes.

  • B. vmstat reports statistics about virtual memory, processes, I/O, and CPU activity, which is not directly relevant to diagnosing a non-working graphics card driver.
  • C. gdm refers to the GNOME Display Manager, which is a graphical login manager, not a command for troubleshooting kernel modules or hardware drivers.
  • D. startx is used to manually start an X session (graphical environment) and typically works after drivers are loaded and configured, so it wouldn't help diagnose a missing or incorrect driver.

Concept tested. Linux kernel module management for hardware troubleshooting

Reference. https://man7.org/linux/man-pages/man8/lsmod.8.html

Topics

#Linux commands#Hardware drivers#Kernel modules#Graphics troubleshooting

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions