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

CompTIA XK0-006 Exam - Topic 4 Question 9 Discussion

Actual exam question for CompTIA's XK0-006 exam
Question #: 9
Topic #: 4
[All XK0-006 Questions]

Which of the following utilities can securely delete a Linux directory from a filesystem and ensure it cannot be recovered?

Show Suggested Answer Hide Answer
Suggested Answer: B

The correct answer is B. shred because it is specifically designed to securely delete data by overwriting files multiple times, making data recovery extremely difficult or practically impossible. In Linux environments, simply deleting a file or directory does not remove the actual data from the disk; instead, it only removes the file's reference from the filesystem. Until that space is overwritten, the data can potentially be recovered using forensic tools.

The shred command mitigates this risk by overwriting the contents of files with random data repeatedly before deletion. This aligns with security best practices outlined in Linux+ objectives, particularly in the domain of data protection and secure data disposal. When used with appropriate options (such as recursive handling through scripting or combining with other commands), shred can be applied to files within directories to ensure secure deletion.

Option A (dd) is incorrect because while dd can overwrite disks or partitions with zeros or random data, it is not specifically designed for secure deletion of directories and requires careful manual targeting. Misuse can lead to accidental data loss.

Option C (unlink) is incorrect because it simply removes a file name from the filesystem, similar to rm, without overwriting the data. Therefore, the data remains recoverable.

Option D (rm) is also incorrect because it removes files or directories at the filesystem level but does not securely erase the data. Even with options like -r or -f, it does not overwrite file contents.

From a Linux+ security standpoint, shred is the most appropriate utility among the given options for secure data destruction, helping ensure sensitive information cannot be recovered.


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel