Multiple choice technology databases

A Transaction ends

  1. Only when it is Committed

  2. Only when it is Rolled back

  3. When it is Committed or Rolled back

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A database transaction always terminates either by being committed (saving all changes) or rolled back (undoing all changes). These are the only two ways a transaction can end. Options A and B are incomplete because transactions can end either way, not just one.