📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What is a compensating transaction?

A. A transaction that undoes the effect of an earlier committed transaction with new correcting changes ✅
B. A backup restore
C. A rollback of an uncommitted transaction
D. A savepoint

Correct Answer: A. A transaction that undoes the effect of an earlier committed transaction with new correcting changes

Explanation

  • Because committed work cannot be rolled back, a compensating transaction reverses its effect.
  • For example a second transfer returns the money.