For which database object can a lock be obtained?
-
a database directory
-
a database tablespace
-
a database bufferpool
-
a database column
B
Correct answer
Explanation
In database systems, locks can be obtained on tablespaces to manage concurrent access and maintain data integrity. Locking on individual columns is too granular, while bufferpools are memory structures. Directories don't support locking in the same way. Tablespaces are the primary locking granularity in many DBMS like DB2.