Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam LFCS topic 1 question 91 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 91
Topic #: 1
[All LFCS Questions]

After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?

  • A. foo and bar would both be removed.
  • B. foo would be removed while bar would remain accessible.
  • C. foo would be removed. bar would still exist but would be unusable.
  • D. Both foo and bar would remain accessible.
  • E. The user is prompted whether bar should be removed, too.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
9866666
1 week, 5 days ago
Selected Answer: B
The correct answer is B. foo would be removed while bar would remain accessible. Here's why: Hard links are multiple directory entries (names) that point to the same underlying data on the filesystem. Deleting one of the hard links (in this case, foo) only removes that specific name, not the underlying data. As long as at least one hard link exists (bar in this case), the data remains accessible. Therefore, even after deleting foo, the content is still accessible through the hard link bar.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in