Novell Certified Linux Professional (CLP) — Question 9
What is the result of the following command?
dd if=/dev/zero of=/dev/hdd bs=512 count=1
Answer options
- A. Writes zeros in the first 512 bytes of the first hard disk block
- B. Assigns the physical volume zero to the logical volume hdd
- C. Overwrites an existing partition table
- D. Creates a LVM partition of 512 blocks
- E. Backs up the /dev/zero and /dev/hdd files
Correct answer: A, C
Explanation
The correct answer is A because the command specifically writes zeros to the first 512 bytes of the specified output file. Option C is incorrect because the command does not manipulate partition tables; it writes directly to a block device.