Filters
Question type

Study Flashcards

A(n) lock exists when concurrent transactions are granted read access on the basis of a common lock.


A) shared
B) exclusive
C) binary
D) two-phase

E) A) and C)
F) None of the above

Correct Answer

verifed

verified

In a page-level lock,the DBMS will lock an entire diskpage.

A) True
B) False

Correct Answer

verifed

verified

True

The last step in the write-through technique recovery procedure is to identify the last checkpoint in the transaction log.

A) True
B) False

Correct Answer

verifed

verified

A(n) specifically reserves access to the transaction that locked the object.


A) shared lock
B) exclusive lock
C) binary lock
D) deadlock

E) B) and D)
F) A) and C)

Correct Answer

verifed

verified

A(n) phase in a two-phase lock is when a transaction releases all locks and cannot obtain any new lock.


A) growing
B) shrinking
C) locking
D) unlocking

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

A diskpage,or page,is the equivalent of a .


A) database table
B) disk sector
C) database schema
D) diskblock

E) C) and D)
F) A) and D)

Correct Answer

verifed

verified

The phenomenon of uncommitted data occurs when two transactions are executed concurrently and the first transaction is rolled back after the second transaction has already accessed the uncommitted data-thus violating the isolation property of transactions.

A) True
B) False

Correct Answer

verifed

verified

Most multiuser automatically initiate and enforce locking procedures,where all locking information is managed by the lock manager.

Correct Answer

verifed

verified

DBMSs database management systems database management systems (DBMSs)

-level locks are less restrictive than database-level locks,but they create traffic jams when many transactions are waiting to access the same table.

Correct Answer

verifed

verified

The scheduler's main job is to create a(n)of a transaction's operation,in which the interleaved executions of transactions yield the same results as if the transactions were executed in serial order.

Correct Answer

verifed

verified

serializab...

View Answer

In the wait/die scheme,:


A) the older transaction rolls back the younger transaction and reschedules it.
B) the younger,preempted transaction is rescheduled using the same time stamp.
C) the older transaction waits for the younger one to complete and release its locks.
D) both the younger and older transactions wait indefinitely to be released.

E) None of the above
F) All of the above

Correct Answer

verifed

verified

are required to prevent another transaction from reading inconsistent data.


A) Locks
B) Schedules
C) Stamps
D) Logs

E) C) and D)
F) A) and D)

Correct Answer

verifed

verified

Serializability means that data used during the execution of a transaction cannot be used by a second transaction until the first one is completed.

A) True
B) False

Correct Answer

verifed

verified

To determine the appropriate order of the operations,the scheduler bases its actions on concurrency control algorithms,such as or time stamping methods.

Correct Answer

verifed

verified

locking

One of the three most common data integrity and consistency problems is .


A) lost updates
B) disk failures
C) user errors
D) deadlocks

E) B) and C)
F) B) and D)

Correct Answer

verifed

verified

A lock guarantees the open use of a data item to multiple transactions.

A) True
B) False

Correct Answer

verifed

verified

ANSI defines four events that signal the end of a transaction.Of the following events,which is defined by ANSI as being equivalent to a COMMIT?


A) Five SQL statements are executed.
B) The end of a program is successfully reached.
C) The program is abnormally terminated.
D) The database is shut down for maintenance.

E) None of the above
F) C) and D)

Correct Answer

verifed

verified

In the optimistic approach,during the phase,changes are permanently applied to the database. a.read b.validation c.write d.shared

A) True
B) False

Correct Answer

verifed

verified

What is a rule that applies to the two-phase locking protocol?


A) Two transactions cannot have conflicting locks.
B) No unlock operation can precede a lock operation in a different transaction.
C) No data is affected until all locks are released.
D) No data is affected until the transaction is in its locked position.

E) A) and C)
F) B) and C)

Correct Answer

verifed

verified

A growing phase in a two-phase lock is when a transaction acquires all the required locks without locking any data.

A) True
B) False

Correct Answer

verifed

verified

Showing 1 - 20 of 76

Related Exams

Show Answer