Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 4 : 0x34

Advertisement

Detailed Solution

सही उत्तर 0x34 है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

A RAID-5 array has $4$ disks; one disk fails. A stripe held data blocks $0\text{x}12$, $0\text{x}34$, $0\text{x}56$ with parity $0\text{x}70$, and the block $0\text{x}34$ was on the failed disk. What value is rebuilt for the missing block? / $4$ डिस्कों वाले RAID-5 ऐरे में एक डिस्क विफल हो गई। एक स्ट्राइप में डेटा ब्लॉक $0\text{x}12$, $0\text{x}34$, $0\text{x}56$ और पैरिटी $0\text{x}70$ थी; $0\text{x}34$ वाला ब्लॉक विफल डिस्क पर था। लापता ब्लॉक हेतु कौन-सा मान पुनर्निर्मित होगा?

1.
0x70
2.
0x12
3.
0x56
4.
0x34

Correct Answer: 0x34

Missing block $= $ XOR of survivors $= 0\text{x}12 \oplus 0\text{x}56 \oplus 0\text{x}70 = 0\text{x}34$ ($0\text{x}12 \oplus 0\text{x}56 = 0\text{x}44$; $0\text{x}44 \oplus 0\text{x}70 = 0\text{x}34$). Option (a) wrongly returns the parity block itself instead of XORing it with the surviving data. / लापता ब्लॉक $=$ बचे ब्लॉकों का XOR $= 0\text{x}12 \oplus 0\text{x}56 \oplus 0\text{x}70 = 0\text{x}34$। विकल्प (a) बचे डेटा से XOR किए बिना पैरिटी ब्लॉक को ही उत्तर मानने की गलती है।

Downloaded from PrepSnap (prepsnap.in)