Database Recovery Techniques - recovery management, backup and restore strategies - Question Bank
1. What is the principle of 'durability' in ACID properties, and how do recovery techniques ensure it?
2. What is the concept of 'atomicity' in the context of database transactions and recovery?
3. Which recovery technique is generally considered simpler to implement but can be less efficient for large databases due to the overhead of page copying?
4. What is the main drawback of performing backups too infrequently?
5. Why is it important to test the restore process regularly?
6. What is the primary goal of a 'full backup' strategy?
7. What is the role of 'ARIES' (Algorithm for Recovery and Isolation Exploiting Semantics) in database recovery?
8. Which of the following best describes a 'transaction' in a database system from a recovery perspective?
9. What is the main advantage of using a separate storage system for backups and transaction logs?
10. In the context of Immediate Update recovery, what is the purpose of the 'undo' list maintained for each transaction?
11. What is the purpose of 'block-level' recovery?
12. Which of the following is a common strategy to ensure that log records are safely stored before data modifications are committed?
13. What is the role of the 'System Log' (or transaction log) in database recovery?
14. What is the main challenge in implementing the Shadow Paging technique?
15. What is the fundamental difference between a 'backup' and a 'log file' in recovery management?
16. Which type of failure requires the longest recovery time, assuming all other factors are equal?
17. What is the purpose of archiving transaction logs?
18. In Shadow Paging, if a system crash occurs during the write of a new page, what is the state of the database after recovery?
19. Which of the following is NOT a characteristic of stable storage, which is ideal for storing log files?
20. What does Recovery Time Objective (RTO) refer to in disaster recovery planning?
21. Which of the following is a critical factor in determining the frequency of backups?
22. What is a 'cold backup' in database terminology?
23. What is a 'hot backup' in database terminology?
24. If a transaction is aborted before it commits, which recovery operation is performed?
25. Consider a scenario where a system crashes after a transaction has committed, but before the changes are written to the main database file on disk. Which recovery operation is essential to ensure data consistency?
26. What is the 'recovery manager' component in a DBMS responsible for?
27. Which of the following is a common strategy for storing transaction logs?
28. What is 'transaction commit'?
29. What is 'transaction rollback'?
30. In a system using Immediate Update recovery, if a transaction fails before committing, what must be done?
31. What is the role of the 'redo' operation in log-based recovery?
32. What is the role of the 'undo' operation in log-based recovery?
33. Which of the following is a potential issue with frequent checkpointing?
34. What is the 'Write-Ahead Logging' (WAL) principle in database recovery?
35. To restore a database from a full backup and subsequent incremental backups, what is the minimum set of backups required?
36. To restore a database from a full backup and subsequent differential backups, what is the minimum set of backups required?
37. What is the 'restore' process in database management?
38. What is the main advantage of performing incremental or differential backups over full backups?
39. A 'differential backup' copies all data that has changed since the last:
40. Which type of backup copies only the data that has changed since the last backup?
41. What is the primary purpose of a 'backup' in database management?
42. What is the main advantage of Shadow Paging over log-based recovery techniques in some scenarios?
43. Which recovery technique involves creating a copy of the database pages before modifying them?
44. What is the purpose of a 'checkpoint' in database recovery?
45. In the Deferred Update recovery technique, when are the changes to the database actually written?
46. Which recovery technique uses the log file to undo the effects of incomplete transactions and redo the effects of committed transactions?
47. What is a 'log file' in the context of database recovery?
48. Which of the following is NOT a type of database failure that recovery techniques address?
49. What is the primary goal of database recovery techniques?