What are the two types of recovery?
-
Horizontal and Vertical
-
Forward and Backward
-
Left and Right
-
Front and Back
B
Correct answer
Explanation
Database recovery uses two fundamental approaches: forward recovery (also called roll-forward) applies logged changes from a checkpoint to restore the database to a more recent state, while backward recovery (rollback) undoes incomplete or erroneous transactions to return to a consistent state. Together, these mechanisms ensure ACID properties after failures.