Linux-foundation

LFCS practice test

Practice with 15 free Testara sample questions, or choose paid access to the full 115-question bank.

Provider
Linux-foundation
Question bank
115
Free sample
15 questions
Publisher
Testara

About this practice material

This page covers Testara's practice question bank for LFCS, a certification listed under Linux-foundation. Questions use original, exam-style scenarios and are not questions from the official certification exam.

Testara is an independent practice platform and is not affiliated with, endorsed by, or authorized by Linux-foundation. The certification credential is issued by Linux-foundation, not Testara. Certification and provider names belong to their respective owners.

Start practicing

The guest demo does not save an attempt. Sign in before buying access.

Try 15 questions free

Available without signing in

Free sample questions

These 15 questions and their explanations are server-rendered so you can inspect the material before opening the interactive demo.

  1. Question 1 · 1

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

    Choose one answer.

    • /etc/keys
    • /proc/keys
    • /etc/inittab
    • /proc/inittab
    • /etc/reboot
  2. Question 2 · 1

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

    Choose all answers that apply.

    • Device IRQ settings
    • PCI bus speed
    • System battery type
    • Device vendor identification
    • Ethernet MAC address
  3. Question 3 · 1

    Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?

    Choose one answer.

    • dirname
    • which
    • basename
    • query
    • whereis
  4. Question 4 · 1

    Which 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?

    Choose one answer.

    • 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
  5. Question 5 · 1

    Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?

    Choose one answer.

    • ext2
    • ext3
    • ext4
    • XFS
    • VFAT
  6. Question 6 · 1

    How many fields are in a syntactically correct line of /etc/fstab?

    Choose one answer.

    • 3
    • 4
    • 5
    • 6
    • 7
  7. Question 7 · 1

    Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)

    Choose all answers that apply.

    • /sbin/mke2fs -j /dev/sdb1
    • /sbin/mkfs -t ext3 /dev/sdb1
    • /sbin/mkfs -c ext3 /dev/sdb1
    • /sbin/mke3fs -j /dev/sdb1
  8. Question 8 · 1

    Which of the following commands will change the quota for a specific user?

    Choose one answer.

    • edquota
    • repquota
    • quota -e
    • quota
  9. Question 9 · 1

    Which 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?

    Choose one answer.

    • mod2fs
    • fsck
    • tune2fs
    • mke2fs
    • fixe2fs
  10. Question 10 · 1

    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.)

    Choose all answers that apply.

    • shutdown -R 1 now
    • shutdown -single now
    • init 1
    • telinit 1
    • runlevel 1
  11. Question 11 · 1

    Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)

    Choose all answers that apply.

    • ext3
    • JFS
    • ext2
    • XFS
    • procfs
  12. Question 12 · 1

    What is the purpose of the Filesystem Hierarchy Standard?

    Choose one answer.

    • It is a security model used to ensure files are organized according to their permissions and accessibility.
    • It provides unified tools to create, maintain and manage multiple filesystems in a common way.
    • It defines a common internal structure of inodes for all compliant filesystems.
    • It is a distribution neutral description of locations of files and directories.
  13. Question 13 · 1

    Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)

    Choose all answers that apply.

    • FIND
    • ID
    • LABEL
    • NAME
    • UUID
  14. Question 14 · 1

    Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)

    Choose all answers that apply.

    • chmod +s /tmp
    • chmod +t /tmp
    • chmod 1775 /tmp
    • chmod 4775 /tmp
    • chmod 2775 /tmp
  15. Question 15 · 1

    Which of the following commands can be used to display the inode number of a given file?

    Choose one answer.

    • inode
    • ls
    • ln
    • cp

Each purchase applies to this certification. Prices are one-time payments, not monthly subscriptions.

Starter

$29 USD one time

Full access to one certification's question bank in standard practice mode for 60 days.

  • Full question bank for one certification
  • 60 days of access
  • Standard practice mode
  • Question notes and community discussions
  • Attempt scores and answer review

Professional

$49 USD one time

Full access to one certification's question bank, custom test controls and advanced analytics for 60 days.

  • Custom test builder
  • Timers and question selection
  • Randomized question and answer order
  • Advanced performance and weak-question analytics
  • Priority customer support
Try 15 questions free