Linux+ Powered by LPI 1

Here you have the best CompTIA LX0-103 practice exam questions

  • You have 95 total questions to study from
  • Each page has 5 questions, making a total of 19 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on December 11, 2024
Question 1 of 95

SIMULATION -

Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)

    Correct Answer:

    The correct file in the /proc filesystem that lists parameters passed from the bootloader to the kernel is 'cmdline'. This file contains the kernel command line arguments, which are passed to the kernel during the boot process.

Question 2 of 95

What information can the lspci command display about the system hardware? (Choose THREE correct answers.)

    Correct Answer: A, D, E

    The lspci command is used to display information about PCI buses and details of devices connected to the PCI bus in a system. Specifically, it can provide information on device IRQ settings, device vendor identification, and Ethernet MAC addresses. However, it does not provide information on PCI bus speed or system battery type.

Question 3 of 95

Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)

    Correct Answer: C, D

    To bring a system running SysV init into a state safe for maintenance tasks, the system must be switched to single-user mode, which is runlevel 1. The commands 'init 1' and 'telinit 1' both transition the system to runlevel 1. In single-user mode, only essential system services are running, and only the root user can log in, making it suitable for maintenance tasks. Other options either do not exist, do not change the runlevel, or are not standard commands for this purpose.

Question 4 of 95

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?

    Correct Answer: B

    The first program that is usually started, at boot time, by the Linux kernel when using SysV init is /sbin/init. This program is responsible for initializing the system, setting up the environment, and starting other system services and user processes. It acts as the parent process for all other processes on the system and manages system runlevels.

Question 5 of 95

SIMULATION -

Which command will display messages from the kernel that were output during the normal boot sequence?

    Correct Answer:

    The correct command to display messages from the kernel that were output during the normal boot sequence is 'dmesg'. The 'dmesg' command reads the kernel ring buffer, which contains messages and log information from the kernel, including information about the system boot process, hardware detection, device drivers, and other system events. By running the 'dmesg' command, you can view the output from the kernel that was generated during the boot process.