GATE CSE 2021 Set 1 Q23: Recovering again after a crash during recovery
- Databases
- 1 mark
- MSQ
- No negative marking
Question
Suppose a database system crashes again while recovering from a previous crash. Assume checkpointing is not done by the database either during the transactions or during recovery.
Which of the following statements is/are correct?
Try it: multiple select: one or more correct options
Show answer and explanation
Answer: A (official GATE 2021 final answer key)
Concept used: Undo and redo are idempotent, so log-based recovery can simply be restarted from the same log.
First step: Without a checkpoint, recovery rebuilds its undo and redo lists from the same log: does anything change after a second crash?
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2021 Set 1 CS question paper and final answer key, organised by IIT Bombay. Question paper · Answer key
More Databases PYQs
- 2026 Session 1 · Q30Which functional dependency inferences always hold
- 2026 Session 1 · Q31Dependency-preserving decompositions for 1NF, 2NF, 3NF, BCNF
- 2026 Session 1 · Q43Relational algebra equivalent of a tuple calculus join query
- 2026 Session 1 · Q65Number of superkeys with candidate keys {A,B} and {A,C}
- 2026 Session 2 · Q15Match DBMS schema levels with what they describe
- 2026 Session 2 · Q20When two transactions do not conflict on a data item