Filters
Question type

Study Flashcards

In the optimistic approach, during the phase, a transaction scans the database, executes the needed computations, and makes the updates to a private copy of the database values.


A) read
B) validation
C) write
D) shared

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

Correct Answer

verifed

verified

A(n) condition occurs when two or more transactions wait for each other to unlock data.


A) deadlock
B) exclusive lock
C) binary lock
D) two-phase lock

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

Correct Answer

verifed

verified

can take place at any of the following levels: database, table, page, row, or field.

Correct Answer

verifed

verified

The serializable isolation level is the least restrictive level defined by the ANSI SQL standard.

A) True
B) False

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

A shared lock produces no conflict as long as all the concurrent transactions are read-write only.

A) True
B) False

Correct Answer

verifed

verified

A occurs when two or more transactions wait for each other to unlock data.


A) livelock
B) database deadlock
C) distributed deadlock
D) phantom deadlocks

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

Correct Answer

verifed

verified

If T1 has not unlocked data item Y, T2 cannot begin; if T2 has not unlocked data item X, T1 cannot continue. Consequently, T1 and T2 each wait for the other to unlock the required data item. Such a deadlock is also known as a(n) _____.

Correct Answer

verifed

verified

The interleaves the execution of database operations to ensure serializability.

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

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

Correct Answer

verifed

verified

Most real-world database transactions are formed by only one database request.

A) True
B) False

Correct Answer

verifed

verified

The occurs when two concurrent transactions, T1 and T2, are updating the same data element and one of the updates is lost.

Correct Answer

verifed

verified

What are the three basic techniques to control deadlocks?

Correct Answer

verifed

verified

1. Deadlock prevention. A transaction re...

View Answer

control is important because the simultaneous execution of transactions over a shared database can create several data integrity and consistency problems.

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 manag...

View Answer

occurs when a transaction accesses data before and after one or more other transactions finish working with such data.


A) Inconsistent retrievals
B) The phenomena of uncommitted data
C) Lost update problems
D) Dirty read problems

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

Correct Answer

verifed

verified

The multiuser DBMS must implement controls to ensure serializability and isolation of transactions, in addition to atomicity and durability, in order to guard the database's consistency and integrity.

A) True
B) False

Correct Answer

verifed

verified

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) None of the above
F) A) and C)

Correct Answer

verifed

verified

-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

Incomplete or improper transactions can have a devastating effect on database integrity.

A) True
B) False

Correct Answer

verifed

verified

Showing 41 - 60 of 85

Related Exams

Show Answer