Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation LFCS Exam - Topic 3 Question 55 Discussion

Posted by Jani on Mar 21, 2023 at 08:30 PM

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?

Suggested Answer: C

Get Premium LFCS Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
30 comments · newest first
LA
Lashonda 12 months ago
Nope, only foo gets deleted, bar is fine!
MA
Mari 1 year ago
I thought both would be removed? This is confusing.
EN
Ena 1 year ago
Wait, are you sure? I thought bar would be unusable.
YO
Youlanda 1 year ago
Definitely B, that's how hard links work!
KA
Kassandra 1 year ago
Bar stays accessible after deleting foo.
BA
Barb 1 year ago
I’m leaning towards D, but I’m not confident. I just remember that hard links point to the same inode.
SU
Susana 1 year ago
I feel like I might be mixing this up with symbolic links. I thought hard links keep the file intact even if the original is deleted.
PA
Paris 1 year ago
I remember practicing a question like this, and I think the answer is B. Foo gets deleted, but bar remains.
YO
Yolando 1 year ago
I think if foo is deleted, bar should still be accessible since it's a hard link, right? But I'm not completely sure.
LI
Lilli 1 year ago
This looks like a straightforward Scrum question. I'll focus on identifying the Scrum principles and see which one doesn't align with the benefits for customers.
VI
Vivienne 1 year ago
The Service Portfolio manages the organization's service offerings, so I think the correct answer is Conceptual Service. That makes the most sense to me.
LA
Laurena 1 year ago
Public key cryptography was definitely used in this scenario, but I have a nagging feeling there's more to it than just that. I hope I'm not overthinking it.
KI
Kirk 1 year ago
I think WS-Addressing is related to message routing, but I'm a bit uncertain about that.
MI
Micaela 1 year ago
Haha, I bet the developers who came up with this question were having a hard time coming up with a good 'delete file with hard link' scenario. But I'm going with B, it makes the most sense to me.
LA
Larae 1 year ago
↳ replying to Micaela
I agree, foo would be removed but bar would still be accessible.
TH
Thaddeus 1 year ago
↳ replying to Micaela
Yeah, it seems like the most logical outcome.
JA
Jamie 1 year ago
↳ replying to Micaela
I think B is the correct answer too.
TE
Tess 2 years ago
Hmm, I'm leaning towards D. Since a hard link is just another name for the same file, both foo and bar should remain accessible even if one is deleted.
GI
Gianna 1 year ago
↳ replying to Tess
So, it's safe to say that creating a hard link doesn't really create a separate copy of the file, just another way to access it.
BE
Beth 1 year ago
↳ replying to Tess
I agree, it's like having two different paths to the same file. Deleting one shouldn't affect the other.
AR
Arlyne 1 year ago
↳ replying to Tess
I think you're right, D does make sense. Both foo and bar should still be accessible.
ET
Ethan 2 years ago
I'm pretty sure the correct answer is C. The hard link would still exist, but it would be unusable since the actual file it points to is gone.
AM
Amie 2 years ago
I'm not sure about this one. Can someone explain why option B is the correct answer?
AL
Alpha 2 years ago
I agree with Gearldine. Since bar is a hard link to foo, it should still be accessible even after foo is deleted.
GE
Gearldine 2 years ago
I think the answer is B) foo would be removed while bar would remain accessible.
KA
Kati 2 years ago
I think the answer is B. Once you create a hard link, the file itself is accessible through multiple names, so deleting the original file won't affect the hard link.
DE
Deandrea 1 year ago
↳ replying to Kati
Exactly. Hard links provide multiple paths to the same data on the filesystem.
GR
Graham 1 year ago
↳ replying to Kati
So, even though foo is gone, bar will still be there for us to access.
LU
Lura 1 year ago
↳ replying to Kati
Yes, that's correct. The hard link will still point to the file's data even after the original file is deleted.
EI
Eileen 2 years ago
↳ replying to Kati
I think the answer is B. Once you create a hard link, the file itself is accessible through multiple names, so deleting the original file won't affect the hard link.
0/2000 characters

Save Cancel