Machine-translated by Google. Questions are authored in English.
Top

Discussion

Execution of a transaction in isolation preserves the _________ of a database

  • A.Atomicity
  • B.Consistency
  • C.Durability
  • D.All of the mentioned

Answer: B

Correct answer: Consistency

Isolation exists to preserve consistency: if each transaction taken alone leaves the database valid, then running them so that none sees another’s intermediate state leaves it valid too. Without isolation, two individually correct transactions can interleave to produce an incorrect result - two withdrawals both reading the same balance, for instance.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.