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

Discussion

Which of the following locks the item from access of any type?

  • A.Implicit lock
  • B.Explicit lock
  • C.Exclusive lock
  • D.
    Shared lock

Answer: C

Correct answer: Exclusive lock

An exclusive lock excludes everyone else entirely: no other transaction may read the item or change it while the lock is held. It is what a writing transaction needs. A shared lock is the weaker form, permitting concurrent readers but no writer, which is why several may be held on the same item at once.

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

Post your comment

Please log in or register to post a comment.