New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GIAC GSEC Exam - Topic 9 Question 6 Discussion

Actual exam question for GIAC's GSEC exam
Question #: 6
Topic #: 9
[All GSEC Questions]

John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. He is working as a root user on the Linux operating system. He wants to delete his private.txt file from his operating system. He knows that the deleted file can be recovered easily. Hence, he wants to delete the file securely. He wants to hide the shredding, and so he desires to add a final overwrite of the file private.txt with zero. Which of the following commands will John use to accomplish his task?

Show Suggested Answer Hide Answer
Suggested Answer: C

According to the scenario, John will use the shred -vfuz private.txt command. The shred command with the -z option adds a final overwrite

with zeros to hide shredding.

Answer option D is incorrect. This command removes the file forcibly, but it does not perform a secure deletion.

Answer option B is incorrect. This command overwrites the file forcibly with changing permissions to allow writing.

Answer option A is incorrect. The rmdir command is used to remove the directories but not the files. The rmdir command is used to remove a

directory in a Linux computer.

Syntax:

rmdir [options] <directory name>

Example:

The following command will remove a directory named xdir from the /home/user directory:

rmdir /home/user/xdir


Contribute your Thoughts:

0/2000 characters
Yvonne
4 months ago
Why would he want to overwrite with zeros? Seems odd.
upvoted 0 times
...
Yolande
4 months ago
Definitely not A, that command is for directories!
upvoted 0 times
...
Amalia
4 months ago
Wait, can you really recover files after using rm?
upvoted 0 times
...
Samuel
4 months ago
I think B is better for secure deletion.
upvoted 0 times
...
Arlette
5 months ago
Option C is the right choice!
upvoted 0 times
...
Madelyn
5 months ago
I vaguely recall that `rmdir` is for directories, not files, so that option is definitely wrong.
upvoted 0 times
...
Lacresha
5 months ago
I feel like `rm` just deletes the file without securely overwriting it, so I don't think that's the answer.
upvoted 0 times
...
Kristel
5 months ago
I think the `shred -vfuz private.txt` option is the right one because it overwrites the file securely and hides the shredding process.
upvoted 0 times
...
Odette
5 months ago
I remember we practiced using the `shred` command in class, but I'm not sure if the `-u` option is necessary for this scenario.
upvoted 0 times
...
Franchesca
5 months ago
I think the key is to focus on the video-related settings that would be specific to each view area, rather than general system settings. Text overlay and PTZ controls seem like good bets.
upvoted 0 times
...
Genevieve
5 months ago
Option B looks promising, with the 'BlkContacts' array and the individual 'Phone' and 'Name' fields.
upvoted 0 times
...
Carmen
5 months ago
I feel like we definitely need the sender to be part of the criteria, but I thought there was also something about the email content itself that mattered for the web reputation check.
upvoted 0 times
...
Natalya
5 months ago
This seems pretty straightforward. I'd just sort the table to get the names in alphabetical order.
upvoted 0 times
...

Save Cancel