Linux Foundation Certified System Administrator

Here you have the best Linux Foundation LFCS practice exam questions

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

Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?

    Correct Answer: C

    The /etc/inittab configuration file should be modified to disable the ctrl-alt-delete key combination in systems using the SysV init system. This file is used by the init program to define system runlevels and processes started at boot time. Disabling this key combination is typically done by commenting out or modifying the specific line in this file that handles it.

Question 2 of 140

During a system boot cycle, what program is executed after the BIOS completes its tasks?

    Correct Answer: A

    After the BIOS completes its tasks during a system boot cycle, the bootloader is executed. The bootloader's primary responsibility is to load the operating system kernel into memory and initiate the startup of the operating system. This is why the bootloader is the correct answer.

Question 3 of 140

Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)

    Correct Answer: A, E

    Run level 0 is used to halt the system and therefore should never be declared as the default run level because the system will not boot up. Similarly, run level 6 is used to reboot the system, and setting it as the default run level would result in the system continuously rebooting without completing the boot process. Therefore, both run levels 0 and 6 should never be set as the default run level when using SysV init.

Question 4 of 140

Which of the following statements is correct when talking about /proc/?

    Correct Answer: C

    The /proc directory is a virtual filesystem that provides an interface to kernel data structures. Files in /proc are not real files stored on disk but represent system and process information dynamically generated by the kernel. Changes to writable files in /proc are immediately recognized by the kernel, as /proc acts as a communication layer with the kernel.

Question 5 of 140

What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)

    Correct Answer: B, D

    When using udev, additional rules can be created by adding them to /etc/udev/rules.d/. The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup. This allows device nodes in /dev/ to be dynamically created and removed as devices are added and removed from the system.