Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Exam LFCS topic 1 question 38 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 38
Topic #: 1
[All LFCS Questions]

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

  • A. dd if=/dev/zero of=/dev/sda bs=512
  • B. dd if=/dev/zero of=/dev/sda bs=512 count=1
  • C. dd if=/dev/zero of=/dev/sda bs=440 count=1
  • D. dd if=/dev/zero of=/dev/sda bs=440
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Flubu
2 months, 4 weeks ago
For example in Windows, “the 4 bytes following the first 440 bytes contain the Windows Unique Disk Signature” -> https://unix.stackexchange.com/questions/254657/mbr-size-is-440-bytes-or-512-bytes#254662
upvoted 1 times
...
Flubu
2 months, 4 weeks ago
None, is correct. ... it is composed of 3 parts: the boot code (446 bytes long), the partition table (64 bytes long) and the boot code signature (2 bytes long) -> https://unix.stackexchange.com/questions/252509/using-dd-in-order-to-save-and-restore-a-boot-sector
upvoted 1 times
...
ignou143
1 year, 9 months ago
Right Answer is : dd if=/dev/zero of=/dev/sda bs=512 count=1
upvoted 3 times
Funkslinger
5 months, 2 weeks ago
Do we want to overwrite the bootloader or the whole MBR? Answer is C
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...