← All LFCS Certification Flashcard Decks

Kernel Parameter Modification Flashcards

7 cards from real LFCS Certification practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Kernel Parameter Modification flashcards as text
  1. Which file would you edit to make the kernel parameter 'net.ipv4.ip_forward=1' persist across reboots on a systemd-based system?

    Answer: /etc/sysctl.conf

    /etc/sysctl.conf is the primary file for persistent kernel parameter settings that survive reboots.

  2. What is the effect of running 'sysctl -w vm.swappiness=10'?

    Answer: Changes swappiness only for the current session until reboot

    The -w flag writes the value to the live kernel immediately but does not persist across reboots.

  3. Which directory under /proc/sys corresponds to the sysctl key 'kernel.hostname'?

    Answer: /proc/sys/kernel/hostname

    Sysctl keys map to /proc/sys paths by replacing dots with slashes, so kernel.hostname → /proc/sys/kernel/hostname.

  4. A sysadmin wants to apply all settings from /etc/sysctl.d/ without rebooting. Which command accomplishes this?

    Answer: sysctl --system

    'sysctl --system' loads settings from all standard sysctl configuration directories including /etc/sysctl.d/.

  5. What does the kernel parameter 'kernel.dmesg_restrict=1' control?

    Answer: Restricts dmesg output to privileged users only

    When set to 1, kernel.dmesg_restrict prevents unprivileged users from reading the kernel ring buffer via dmesg.

  6. Which sysctl parameter controls the maximum number of open file descriptors system-wide?

    Answer: fs.file-max

    fs.file-max sets the system-wide maximum number of file handles the kernel will allocate.

  7. Drop-in files placed in /etc/sysctl.d/ must have which file extension to be processed by sysctl --system?

    Answer: .conf

    Only files ending in .conf inside /etc/sysctl.d/ are automatically read by 'sysctl --system'.

How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy

Sources & references

Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy

  1. docs.linuxfoundation.org — Renewal, score release, exam format, passing score · verified Oct 2026
  2. training.linuxfoundation.org — Test delivery, eligibility, fees, registration deadline, time limit, score validity · verified Oct 2026