A deadlock may occur when _______.

A.
one transaction attempts to update a data item that is locked by a long-running transaction
B.
two transactions attempt to lock the same two data items in the opposite order
C.
two transactions attempt to update the same data item
D.
a transaction attempts to read through another transaction’s database locks