Bird
0
0

A developer notices that after a system crash, some committed transactions are lost. Which ACID property is likely violated, and what should be fixed?

medium📝 Debug Q14 of 15
SQL - Transactions and Data Integrity
A developer notices that after a system crash, some committed transactions are lost. Which ACID property is likely violated, and what should be fixed?
AAtomicity; ensure transactions are all-or-nothing
BConsistency; fix data validation rules
CIsolation; improve transaction locking
DDurability; improve data saving and recovery
Step-by-Step Solution
Solution:
  1. Step 1: Identify property related to crash recovery

    Durability ensures committed transactions survive crashes and are saved permanently.
  2. Step 2: Match problem to property

    Lost committed transactions after crash means Durability is violated and saving/recovery must be improved.
  3. Final Answer:

    Durability; improve data saving and recovery -> Option D
  4. Quick Check:

    Crash survival = Durability [OK]
Quick Trick: Lost data after crash means Durability issue [OK]
Common Mistakes:
  • Confusing Atomicity with crash recovery
  • Thinking Isolation fixes lost data
  • Mixing Consistency with durability problems

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SQL Quizzes