201-450 Exam QuestionsBrowse all questions from this exam

201-450 Exam - Question 1


Which of the following commands erases the contents of the /dev/sdb3 partition?

Show Answer
Correct Answer: B

The correct command to erase the contents of the /dev/sdb3 partition is 'dd if=/dev/zero of=/dev/sdb3'. This command uses 'dd' to copy data; 'if=/dev/zero' specifies the input file as /dev/zero, a special file in Unix-like systems that provides as many null bytes (zeroes) as are read from it. 'of=/dev/sdb3' specifies the output file as the /dev/sdb3 partition. Thus, this command effectively overwrites the partition with zeroes, erasing its contents.

Discussion

3 comments
Sign in to comment
ArminaOption: B
Jan 28, 2022

B is correct , if =input data file which is here /dev/zero and has no data Of =output data file which is here /dev/sdb3 Then the “if” will be write on the “of” by “dd” command dd if=/dev/zero of=/dev/sdb3

milan92stankovicOption: B
Jan 15, 2021

B - 100%

debloidOption: B
Jul 16, 2024

B is correct. dd if=/dev/zero of=/dev/sdb3