Home
31.
Typing fdisk - lu /dev/hda on a Linux computer with an MBR disk produces a listing of four partitions: /dev/hda1 , /dev/hda2 , /dev/hda5 , and /dev/hda6 . Which of the following is true?
  • A.
    The disk contains two primary partitions and two extended partitions.
  • B.
    Either /dev/hda1 or /dev/hda2 is an extended partition.
  • C.
    The partition table is corrupted; there should be a /dev/hda3 and a /dev/hda4 before /dev/hda5 .
  • D.
    If you add a /dev/hda3 with fdisk , /dev/hda5 will become /dev/hda6 , and /dev/ hda6 will become /dev/hda7 .
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
Logical partitions are numbered from 5 and up, and they reside inside an extended partition with a number between 1 and 4. Therefore, one of the first two partitions must be an extended partition that houses partitions 5 and 6. Because logical partitions are numbered starting at 5, their numbers won't change if /dev/hda3 is subsequently added. The disk holds one primary, one extended, and two logical partitions.
Report
Name Email  
32.
A new server is arriving at the end of the week. It will have four 1 TiB hard drives installed and configured in a RAID 5 array with no hot standby spare drives. How much data can be stored within this array?
  • A.
    4 TiB
  • B.
    3 TiB
  • C.
    2 TiB
  • D.
    1 TiB
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
In a RAID 5 array, the amount of data that can be stored is equal to the number of disks minus 1, since that amount of space will be used for holding parity information. (Hot standby spare drives further reduce available storage space, if used.) In this case, there are a total of four drives. Subtracting one means the amount of data space available is equal to three times the 1 TiB disk size, or a total of 3 TiB.
Report
Name Email  
33.
You have been told by your manager that the server being moved from the test lab to production must have the two drives within it mirrored. What level of RAID is used for mirroring?
  • A.
    RAID 6
  • B.
    RAID 5
  • C.
    RAID 1
  • D.
    RAID 0
  • Answer & Explanation
  • Report
Answer : [C]
Explanation :
In a RAID 1 array, the disks are mirrored. RAID 5 is an implementation of disk striping with parity, while RAID 0 is disk striping without parity. RAID 6 is an experimental implementation of striping with parity that can survive the failure of two disks at a time.
Report
Name Email  
34.
What can you conclude from the following line, which is found in /proc/mdstat ?
md0 : active raid4 sdd2[2] sdc1[1] sda8[0]
  • A.
    The /dev/md0 RAID 4 device is built from the /dev/sda8 , /dev/sdc1 , and /dev/sdd2 partitions.
  • B.
    The /dev/md0 RAID device is missing one partition; it should have four component partitions, given its RAID level (4).
  • C.
    The /dev/md0 RAID device is badly misconfigured; the partition numbers of the component devices should match.
  • D.
    None of the above.
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
Option A correctly summarizes some of the information encoded in the specified line. (The array is also fl agged as being active, and the order of the devices is encoded in the numbers following their names.) Option B is incorrect because RAID 4 arrays can be built from as few as three devices; the RAID level does not specify the minimum number of component devices. Option C is incorrect because Linux's software RAID implementation does not require the component devices to have matched partition numbers. Because option A is correct, option D cannot be correct.
Report
Name Email  
35.
Which of the following commands correctly assembles a RAID 1 array from the component devices /dev/sda1 and /dev/hda2 ?
  • A.
    mdadm - - create - - level=1 - - raid - devices=2 /dev/sda1 /dev/hda2
  • B.
    mdadm - - level=1 - - raid - devices=2 /dev/sda1 /dev/hda2
  • C.
    mdadm - - level=5 - - raid - devices=2 /dev/sda1 /dev/hda2
  • D.
    mdadm - - create /dev/md0 - - level=1 - - raid - devices=2 /dev/sda1 /dev/hda2
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
Option D is the correct command to do as the question asks. (This answer assembles the array to be accessible as /dev/md0 ; the question didn't specify a particular target device, but you must specify one with mdadm .) Option A is correct except that it's missing the device filename for the - - create option. Options B and C are both missing the necessary - - create option entirely, and option C incorrectly states the RAID level as being 5.
Report
Name Email