Question DB-CC-0021
EasyIn a DBMS, what is a lock?
- A.
A broken transaction
- B.
A key used to encrypt data
- C.
A password for the database
- D.
A mechanism that controls concurrent access to a data item
Show answer and explanation
Answer: D
Transactions must hold the right lock before reading or writing an item.