Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Managing Multiuser Databases Questions
In database concurrency control, which type of lock prevents other transactions from modifying an item but still allows them to read it?
Database Administration (DBA): what is the overall responsibility of the DBA in an organization using a DBMS?
In DBMS locking, which lock mode prevents any other transaction from accessing an item (neither read nor write) while the lock is held?
Transaction isolation levels: which level allows dirty reads, nonrepeatable reads, and phantom reads?
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)?
Isolation level comparison: which level disallows dirty reads and nonrepeatable reads, but still allows phantom reads?
ACID properties: a transaction where either all individual actions occur or none occur exemplifies which property?
Isolation levels: at which level are dirty reads, nonrepeatable reads, and phantom reads all prevented?
Locking terminology: what do we call the “size” or scope of a lock (for example, row-level vs. page-level vs. table-level)?
Lock acquisition: what is the term for locks that are automatically placed by the DBMS (as opposed to locks explicitly requested by an application)?
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)?
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)?
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?
Choosing the right isolation level At which isolation level are dirty reads disallowed, while nonrepeatable reads and phantom reads can still occur?
Optimistic vs. pessimistic locking What is the primary advantage of optimistic locking in high-concurrency applications?
ACID properties of transactions Which ACID property guarantees that once a transaction commits, its changes are permanent and will survive failures?
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?
Forward-only navigation Which cursor type allows the application to move only in the forward direction through the recordset (no backward scrolling)?
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:
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?
1
2