Question

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

Option 3 : Journal mode (data=journal), the only mode that writes file data blocks into the journal / जर्नल मोड (data=journal), एकमात्र मोड जो फ़ाइल डेटा ब्लॉकों को जर्नल में लिखता है

Advertisement

Detailed Solution

सही उत्तर Journal mode (data=journal), the only mode that writes file data blocks into the journal / जर्नल मोड (data=journal), एकमात्र मोड जो फ़ाइल डेटा ब्लॉकों को जर्नल में लिखता है है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

An ext4 server was seized mid-write during log tampering. The examiner hopes the journal still contains the overwritten log file's data blocks. Under which ext4 journaling mode would that hope be justified? / लॉग छेड़छाड़ के दौरान लिखते समय ext4 सर्वर जब्त किया गया। परीक्षक आशा करता है कि जर्नल में अभी भी अधिलिखित लॉग फ़ाइल के डेटा ब्लॉक हैं। किस ext4 जर्नलिंग मोड में यह आशा उचित होगी?

1.
Ordered mode, the default, which journals file data before metadata / ऑर्डर्ड मोड, डिफ़ॉल्ट, जो मेटाडेटा से पहले फ़ाइल डेटा जर्नल करता है
2.
Writeback mode, which journals data and metadata together / राइटबैक मोड, जो डेटा और मेटाडेटा एक साथ जर्नल करता है
3.
Journal mode (data=journal), the only mode that writes file data blocks into the journal / जर्नल मोड (data=journal), एकमात्र मोड जो फ़ाइल डेटा ब्लॉकों को जर्नल में लिखता है
4.
None — the ext4 journal never stores file content under any mode / कोई नहीं — ext4 जर्नल किसी भी मोड में फ़ाइल सामग्री संग्रहित नहीं करता

Correct Answer: Journal mode (data=journal), the only mode that writes file data blocks into the journal / जर्नल मोड (data=journal), एकमात्र मोड जो फ़ाइल डेटा ब्लॉकों को जर्नल में लिखता है

Only data=journal mode commits actual file data blocks to the journal; ordered (the default) journals metadata while writing data directly, and writeback may journal metadata before data reaches disk. Option (a) traps with "the default must be the safest" reasoning. / केवल data=journal मोड वास्तविक फ़ाइल डेटा ब्लॉकों को जर्नल में कमिट करता है; ऑर्डर्ड (डिफ़ॉल्ट) मेटाडेटा जर्नल करता है जबकि डेटा सीधे लिखता है, और राइटबैक डेटा डिस्क पर पहुँचने से पहले मेटाडेटा जर्नल कर सकता है। विकल्प (a) "डिफ़ॉल्ट सबसे सुरक्षित होगा" तर्क का जाल है।

Downloaded from PrepSnap (prepsnap.in)