CompTIA Linux+ (XK0-004) — Question 216
Which of the following commands allow an administrator to determine if the current system is a virtual machine?
Answer options
- A. lspci
- B. mdadm
- C. vmstat
- D. vgdisplay
Correct answer: A
Explanation
The command 'lspci' is used to list all PCI devices and can reveal information specific to virtualized hardware, indicating if the system is a virtual machine. The other commands, such as 'mdadm', 'vmstat', and 'vgdisplay', are related to managing disks and system statistics, but do not provide information about the virtualization status.