Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 201-450 Topic 4 Question 95 Discussion

Actual exam question for LPI's 201-450 exam
Question #: 95
Topic #: 4
[All 201-450 Questions]

Which of the following commands will erase the contents of the /dev/sdb3 partition?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Pearline
3 months ago
I think Shonda is right, rm command is used to remove files, not erase partitions
upvoted 0 times
...
Ernie
3 months ago
But using dd with if=/dev/zero will write zeros to the partition, effectively erasing it
upvoted 0 times
...
Shonda
3 months ago
I disagree, I believe the answer is A) rm /dev/sdb3
upvoted 0 times
...
Lino
3 months ago
Haha, Option A is just asking to get in trouble. Trying to 'rm' a partition device? That's a bold move, cotton!
upvoted 0 times
Rosenda
2 months ago
Definitely not Option A, that would cause some serious trouble!
upvoted 0 times
...
Rosenda
2 months ago
Yeah, that's the correct command to erase the contents of the partition.
upvoted 0 times
...
Rosenda
2 months ago
B) dd if=/dev/zero of=/dev/sdb3
upvoted 0 times
...
...
Mari
3 months ago
Option D is the way to go. Unmounting the partition first is the safest approach before erasing anything.
upvoted 0 times
Glenna
3 months ago
No, option D is the safest way to go. You should unmount the partition first before erasing.
upvoted 0 times
...
Carmen
3 months ago
I think option B is the correct command to erase the contents of /dev/sdb3.
upvoted 0 times
...
...
Audra
3 months ago
I'd go with Option C. Putting 'of=/dev/zero' first makes it more clear that we're wiping the partition, not the other way around.
upvoted 0 times
...
Ernie
3 months ago
I think the answer is B) dd if=/dev/zero of=/dev/sdb3
upvoted 0 times
...
Susana
3 months ago
Option B looks good to me. The 'dd' command is perfect for erasing a partition.
upvoted 0 times
Rickie
2 months ago
Let's go with option B then.
upvoted 0 times
...
Mitsue
2 months ago
I agree, the 'dd' command is used for erasing partitions.
upvoted 0 times
...
Hubert
2 months ago
I think option B is the correct one.
upvoted 0 times
...
Glory
3 months ago
Yeah, 'dd' command is used for erasing partitions.
upvoted 0 times
...
Anisha
3 months ago
I think option B is the correct one.
upvoted 0 times
...
...

Save Cancel