Frequently Asked Tough Database DBMS job interview Questions Answers & Solve Paper
Q. Explain the meaning of the expression ACID transaction.
ACID means Atomic, Consistency, Isolation, Durability, so when any transaction happen it should be Atomic that is it should either be complete or fully incomplete. There should not be anything like Semi complete. The Database State should remain consistent after the completion of the transaction. If there are more than one Transaction then the transaction should be scheduled in such a fashion that they remain in Isolation of one another. Durability means that Once a transaction commits, its effects will persist even if there are system failures.
![]() |
| Image Courtesy :media.proprofs.com |
Q. Explain the difference between an explicit and an implicit lock.
Explicit Lock :- Lock is explicitly requested for a record or table.
Implicit Lock :- Lock is implied but is not acquired.
Q. Explain how a database could be recovered via reprocessing. Why is this generally not feasible?
If we reprocess the transaction then the database can be made to come to a state where the database is consistent and so reprocessing the log can recover the database. Reprocessing is not very feasible for a very simple reason that its very costly from time point of view and requires lots of rework and many transaction are even rollback giving more and more rework.
Q. Define rollback and roll forward.
Rollback :- Undoing the changes made by a transaction before it commits or to cancel any changes to a database made during the current transaction
Roll Forward :- Re-doing the changes made by a transaction after it commits or to overwrite the changed clue again to ensure consistency
(130).jpg)