LFCS · Question #741
LFCS Question #741: Real Exam Question with Answer & Explanation
The correct answer is C: Use a symbolic link.. A symbolic link allows moving data to a new partition while maintaining the original path, as applications will transparently follow the link to the new location.
Question
You have run out of disk space on a partition. Which of the following would be an easy way to move data to a new partition without reconfiguring the path to the data in existing applications?
Options
- ARun ext2fs ACL.
- BUse a hard link.
- CUse a symbolic link.
- DUse the loopback device.
- ECreate a block device offset.
Explanation
A symbolic link allows moving data to a new partition while maintaining the original path, as applications will transparently follow the link to the new location.
Common mistakes.
- A.
ext2fs ACLrefers to Access Control Lists for the ext2 filesystem, which manage permissions, not data relocation or path redirection. - B. A hard link creates an additional directory entry for an existing file, but it must reside on the same filesystem (partition) as the original file and cannot link to directories or files on different partitions.
- D. The loopback device is used to mount a file as if it were a block device, typically for disk images, and is not a mechanism for transparently moving data to a new partition without reconfiguring paths.
- E. Creating a block device offset refers to specifying a starting point within a block device, not a method for transparently redirecting application access to data moved to a different partition.
Concept tested. Linux symbolic links, data migration
Reference. https://man7.org/linux/man-pages/man7/symlink.7.html
Topics
Community Discussion
No community discussion yet for this question.