nerdexam
ExamsLX0-103Questions#7
CompTIA

LX0-103 · Question #7

LX0-103 Question #7: Real Exam Question with Answer & Explanation

The correct answer is A: Every existing directory can be used as a mount point.. In Linux, any existing directory, regardless of whether it is empty, can be used as a mount point.

Devices, Linux Filesystems, Filesystem Hierarchy Standard

Question

Which of the following is correct when talking about mount points?

Options

  • AEvery existing directory can be used as a mount point.
  • BOnly empty directories can be used as a mount point.
  • CDirectories need to have the SetUID flag set to be used as a mount point.
  • DFiles within a directory are deleted when the directory is used as a mount point.

Explanation

In Linux, any existing directory, regardless of whether it is empty, can be used as a mount point.

Common mistakes.

  • B. Using an empty directory is best practice to avoid hiding existing files, but it is not a technical requirement enforced by the kernel or mount command.
  • C. The SetUID permission flag has no relationship to mount point eligibility; it is used to execute files with the owner's privileges.
  • D. Files inside a directory used as a mount point are not deleted; they are simply hidden while another filesystem is mounted over that directory and reappear after unmounting.

Concept tested. Linux mount point directory requirements

Reference. https://linux.die.net/man/8/mount

Topics

#mount points#filesystem#directory#mounting

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice
Which of the following is correct when talking about mount points? | LX0-103 Q#7 Answer | NerdExam