nerdexam
ExamsLX0-103Questions#54
CompTIA

LX0-103 · Question #54

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

The correct answer is C: By creating a symbolic link from the old to the new path of the data.. After moving data to a new filesystem, a symbolic link at the old path or mounting the new filesystem on the original path both preserve the original path transparently for existing applications.

Devices, Linux Filesystems, Filesystem Hierarchy Standard

Question

After moving data to a new filesystem, how can the former path of the data be kept intact in order to avoid reconfiguration of existing applications? (Choose TWO correct answers.)

Options

  • ABy creating an ACL redirection from the old to the new path of the data.
  • BBy creating a hard link from the old to the new path of the data.
  • CBy creating a symbolic link from the old to the new path of the data.
  • DBy running the command touch on the old path.
  • EBy mounting the new filesystem on the original path of the data.

Explanation

After moving data to a new filesystem, a symbolic link at the old path or mounting the new filesystem on the original path both preserve the original path transparently for existing applications.

Common mistakes.

  • A. ACL entries control file permissions, not path redirection; Linux provides no ACL-based mechanism for aliasing or redirecting filesystem paths.
  • B. Hard links cannot span different filesystems because they reference inode numbers, which are local identifiers within a single filesystem.
  • D. The touch command creates an empty file or updates timestamps at the given path; it does not redirect access to or link toward the relocated data.

Concept tested. Symbolic links and bind mounts for path preservation

Reference. https://man7.org/linux/man-pages/man1/ln.1.html

Topics

#symbolic links#mounting#path preservation#filesystem

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice