Skip to content
Home
Database Management Systems
Database Management Systems
Under write-ahead logging (WAL), what must happen before a…
Under write-ahead logging (WAL), what must happen before a modified data page is written to disk?
A
All locks on that page must be released
B
Its log records must be flushed to stable storage
Correct answer
C
A database checkpoint must be completed
D
The transaction must be fully committed first
Correct answer
B. Its log records must be flushed to stable storage
17 views
⚔️
Challenge a friend on Database Management Systems
Same MCQs, timed, live leaderboard. Send the link on WhatsApp – no sign-up needed.
Create challenge
Explanation
WAL guarantees the log describing a change reaches disk before the change itself. After a crash, the DBMS can then redo committed work and undo uncommitted work, preserving atomicity and durability.
Reference
Asked in: GATE CS, Technical Interviews
Doubts & discussionNot sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ
‹ Previous MCQ A table has 10 rows, and 3 of them have NULL in the email column. What does SELECT COUNT(email) return? Next MCQ › A candidate key in a relational schema is:
× Get 10 free MCQs every day for PPSC, FPSC & NTS preparation
MG Ask MCQ Guru Need help? Find an MCQ, a short question, a test or your certificate. Just ask.×