Filters
Question type

Study Flashcards

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

When using an optimistic approach, during the read phase, a transaction reads the database, executes the needed computations, and makes the updates to a private copy of the database values.

A) True
B) False

Correct Answer

verifed

verified

Lock _____ indicates the level of lock use.


A) granularity
B) shrinking
C) growing
D) serializability

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

Correct Answer

verifed

verified

_____ are required to prevent another transaction form reading inconsistent data.


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

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

Correct Answer

verifed

verified

The _____ approach to scheduling concurrent transactions assigns a global unique stamp to each transaction.


A) scheduled
B) table-locking
C) unique
D) time stamping 

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

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) A) and D)
F) B) and C)

Correct Answer

verifed

verified

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


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

E) A) 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

What are database checkpoints?

Correct Answer

verifed

verified

Database checkpoints are operations in w...

View Answer

Of the following events, which is defined by ANSI as being equivalent to a ROLLBACK?


A) Five SQL statements are executed.
B) The end of a program is successfully reached.
C) All changes are aborted and returned to a previous consistent state.
D) The database is shut down for maintenance.

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

_____ ensure that a disk physical failure will not impair the DBMS's ability to recover data.

Correct Answer

verifed

verified

Redundant ...

View Answer

Although the DBMS is designed to recover a database to a previous consistent state when an interruption prevents the completion of a required set of transactions, the transactions themselves are defined by the end user or programmer and must be semantically correct.

A) True
B) False

Correct Answer

verifed

verified

What rule applies to the two-phase locking protocol?


A) Two transactions cannot have conflicting lock.
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) All of the above
F) C) and D)

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

The _____ manager is responsible for assigning and policing the locks used by transactions.


A) transaction
B) database
C) lock
D) schedule

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

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

Transaction is a _____ unit of work that must be either entirely completed or aborted.


A) time
B) practical
C) logical
D) physical

E) A) and D)
F) All of the above

Correct Answer

verifed

verified

The DBMS uses the information stored in the _____log for a recovery requirement triggered by a ROLLBACK statement, a program's abnormal termination, or a system failure such as a network discrepancy or a disk crash.

Correct Answer

verifed

verified

In the wait/die scheme, the:


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

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

Correct Answer

verifed

verified

Showing 21 - 40 of 74

Related Exams

Show Answer