Managing Multiuser Databases Questions

Practice Managing Multiuser Databases MCQs with answers and explanations. Page 1 of 2.

Category
Database
Topic
Managing Multiuser Databases
Page
1 / 2
Mode
Practice

Questions

Open any question to view the answer and explanation.

In database concurrency control, which type of lock prevents other transactions from modifying an item but still allows them to read it?
Open
View answer
Database Administration (DBA): what is the overall responsibility of the DBA in an organization using a DBMS?
Open
View answer
In DBMS locking, which lock mode prevents any other transaction from accessing an item (neither read nor write) while the lock is held?
Open
View answer
Transaction isolation levels: which level allows dirty reads, nonrepeatable reads, and phantom reads?
Open
View answer
Cursors: which cursor type stores primary keys at open time and uses the keys to fetch the current row values later (so changes by others are visible)?
Open
View answer
Isolation level comparison: which level disallows dirty reads and nonrepeatable reads, but still allows phantom reads?
Open
View answer
ACID properties: a transaction where either all individual actions occur or none occur exemplifies which property?
Open
View answer
Isolation levels: at which level are dirty reads, nonrepeatable reads, and phantom reads all prevented?
Open
View answer
Locking terminology: what do we call the “size” or scope of a lock (for example, row-level vs. page-level vs. table-level)?
Open
View answer
Lock acquisition: what is the term for locks that are automatically placed by the DBMS (as opposed to locks explicitly requested by an application)?
Open
View answer
Database cursors and concurrency visibility Which cursor type shows changes of any kind and from any source as they occur (i.e., the application always sees the latest committed state)?
Open
View answer
Transaction anomalies and isolation What is it called when a transaction reads data that was modified by another transaction but not yet committed (i.e., uncommitted changes)?
Open
View answer
Phantoms in range queries What anomaly occurs when a transaction re-executes a predicate (range) query and finds additional rows inserted by other transactions since its prior read?
Open
View answer
Choosing the right isolation level At which isolation level are dirty reads disallowed, while nonrepeatable reads and phantom reads can still occur?
Open
View answer
Optimistic vs. pessimistic locking What is the primary advantage of optimistic locking in high-concurrency applications?
Open
View answer
ACID properties of transactions Which ACID property guarantees that once a transaction commits, its changes are permanent and will survive failures?
Open
View answer
Static snapshot cursors Which cursor type shows the data exactly as it was when the cursor opened, regardless of subsequent inserts, updates, or deletes by other sessions?
Open
View answer
Forward-only navigation Which cursor type allows the application to move only in the forward direction through the recordset (no backward scrolling)?
Open
View answer
Locking semantics and control Locks that are explicitly requested by an application or a specific SQL statement (rather than acquired implicitly by the engine) are called:
Open
View answer
Nonrepeatable reads defined What anomaly occurs when a transaction re-reads rows it previously read and finds that some have been modified or deleted by another committed transaction?
Open
View answer

Practice smarter

Solve a few questions daily and revisit weak topics regularly to improve accuracy.