← All RHCSA Flashcard Decks

RHCSA Linux Essentials Flashcards

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

Read the first 7 RHCSA Linux Essentials flashcards as text
  1. Which NFS mount option ensures the client retries indefinitely if the server is unavailable at boot?

    Answer: hard

    The `hard` option causes the NFS client to keep retrying indefinitely until the server responds, preventing data corruption.

  2. You want to extend a logical volume `/dev/vg0/lv0` by 5 GiB while also resizing the XFS filesystem. Which command does both?

    Answer: Both B and C are correct

    Both `lvresize -r` and `lvextend -r` use the `-r` flag to resize the underlying filesystem automatically after extending the LV.

  3. Which file must be edited to persist an NFS mount across reboots?

    Answer: /etc/fstab

    /etc/fstab is read at boot to mount filesystems, including NFS shares, automatically.

  4. What is the purpose of the `--system` flag in `useradd --system myservice`?

    Answer: Creates a user with UID below 1000 and no login shell or home directory by default

    System accounts get a UID below 1000, no aging, no home directory, and no login shell — suitable for service accounts.

  5. Which command verifies that an RPM package's files have not been modified since installation?

    Answer: rpm -V package

    `rpm -V` (verify) checks file attributes like size, checksum, permissions, and timestamps against the RPM database.

  6. A process with PID 1234 is unresponsive. Which signal terminates it immediately without cleanup?

    Answer: kill -9 1234

    Signal 9 (SIGKILL) cannot be caught or ignored and forces the kernel to terminate the process immediately.

  7. Which command displays the routing table on a RHEL system?

    Answer: ip route show

    `ip route show` (or `ip r`) displays the kernel routing table using the modern iproute2 suite.