Courseiva

LPIC-1 Devices, Filesystems and FHS Practice Question

The /proc filesystem is described as a virtual filesystem. Which statement best describes its purpose?

⚠ Common exam trap

It's easy for candidates to confuse /proc with a real filesystem for storing configuration or executables, when in fact it is a virtual interface to kernel data structures that contains no persistent files.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

It provides an interface to kernel data structures and processes.

The /proc filesystem is a virtual filesystem that does not contain actual files on disk but instead provides a runtime interface to kernel data structures, including process information, system memory, CPU details, and hardware configuration. This allows users and system tools (like ps, top, and free) to read kernel state in real time without needing direct kernel memory access.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    It contains configuration files for system services.

    Why it's wrong here

    /proc holds kernel and per-process runtime information generated on access; service configuration files reside under /etc. The option is tempting because /proc/sys exposes kernel tunables that resemble settings, but these are live kernel parameters, not persistent service configuration files read at startup.

  • ✓

    It provides an interface to kernel data structures and processes.

    Why this is correct

    /proc is generated in memory by the kernel, not stored on disk, so it has no persistent backing blocks. It exposes kernel data structures and per-process information through files, satisfying the virtual filesystem definition in the stem.

  • ✗

    It holds binary executables for system administration.

    Why it's wrong here

    /proc exposes kernel and process state as readable pseudo-files; it contains no executable binaries, which live in /bin, /usr/bin and /sbin. The option is tempting because /proc/sys entries look like administration controls, but those are tunables written as text, not programs you run.

  • ✗

    It stores temporary files that survive reboots.

    Why it's wrong here

    /proc is regenerated in memory on every access and stores nothing persistently, so it cannot hold temporary files surviving reboots; that role belongs to /var/tmp or /tmp. It is tempting because /proc entries appear file-like, but they are kernel-generated views, not stored data.

About these practice questions

This LPIC-1 question is part of Courseiva's 402-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.