Sign In
Home/Linux Foundation/LFCS/Free questions

LFCS — Free Practice Questions

10 free sample questions from a bank of 140, with the correct answers and explanations. No signup required — start practising right now.

1Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
  • /etc/keys
  • /proc/keys
  • /etc/inittab
  • /proc/inittab
  • /etc/reboot
Answer: C
2What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
  • Device IRQ settings
  • PCI bus speed
  • System battery type
  • Device vendor identification
  • Ethernet MAC address
Answer:
3Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?
  • dirname
  • which
  • basename
  • query
  • whereis
Answer: E
4Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
  • tune2fs -d 200 /dev/sda1
  • tune2fs -c 200 /dev/sda1
  • tune2fs -i 200 /dev/sda1
  • tune2fs -n 200 /dev/sda1
  • tune2fs --days 200 /dev/sda1
Answer: C
5Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?
  • ext2
  • ext3
  • ext4
  • XFS
  • VFAT
Answer: A
6How many fields are in a syntactically correct line of /etc/fstab?
  • 3
  • 4
  • 5
  • 6
  • 7
Answer: D
7SIMULATION - Which command is used to create and initialize the files used to store quota information? (Specify ONLY the command without any path or parameters.)
    Answer:
    8Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
    • /sbin/mke2fs -j /dev/sdb1
    • /sbin/mkfs -t ext3 /dev/sdb1
    • /sbin/mkfs -c ext3 /dev/sdb1
    • /sbin/mke3fs -j /dev/sdb1
    Answer:
    9Which of the following commands will change the quota for a specific user?
    • edquota
    • repquota
    • quota -e
    • quota
    Answer: A
    10Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?
    • mod2fs
    • fsck
    • tune2fs
    • mke2fs
    • fixe2fs
    Answer: C

    Want the full bank of 140 questions for LFCS? See all practice exams.