Filters
Question type

Study Flashcards

The _____ isolation level ensures that queries return consistent results.


A) read uncommitted
B) read committed
C) serializable
D) repeatable read

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

Correct Answer

verifed

verified

A single-user database system automatically ensures_____ of the database, because only one transaction is executed at a time.


A) serializability and durability 
B) atomicity and isolation
C) serializability and isolation
D) atomicity and serializability

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

Correct Answer

verifed

verified

As a rule, a(n) _____ must unlock the object after its termination.

Correct Answer

verifed

verified

The objective of _____ control is to ensure the serializability of transactions in a multiuser database environment.

Correct Answer

verifed

verified

A(n) ______ occurs when a transaction executes a query at time T1, and it runs the same query at same time T2, yielding additional rows that satisfy the query.

Correct Answer

verifed

verified

Uniqueness ensures that no equal time stamp values can exist, and _____ ensures that time stamp values always increase.

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

Correct Answer

verifed

verified

The _____ rule states that only one transaction at a time can own an exclusive lock on the same object.

Correct Answer

verifed

verified

ANSI has defined standards that govern SQL database transactions. Transaction support is provided by two SQL statements _____ and ROLLBACK.


A) RETRIEVE
B) ASSIGN
C) UPDATE
D) COMMIT

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

Correct Answer

verifed

verified

D

A _____ lock will lock the entire table, preventing access to any row by a transaction while another transaction is using the table.


A) database-level
B) table-level
C) page-level
D) row-level

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

Correct Answer

verifed

verified

A field-level lock allows concurrent transactions to access the same row, as long as they require the use of different fields within that row.

A) True
B) False

Correct Answer

verifed

verified

True

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

Correct Answer

verifed

verified

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

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

False

As long as two transactions, T1 and T2, access _____ data, there is no conflict, and the order of execution is irrelevant to the final outcome.


A) shared
B) common
C) unrelated
D) locked

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

Correct Answer

verifed

verified

The _____ interleaves the execution of database operations to ensure serializability.

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

Atomicity indicates the permanence of the database's consistent state.

A) True
B) False

Correct Answer

verifed

verified

Time stamps must only have the single property of uniqueness.

A) True
B) False

Correct Answer

verifed

verified

The scheduler establishes the order in which the operations within concurrent transactions are executed.

A) True
B) False

Correct Answer

verifed

verified

Showing 1 - 20 of 74

Related Exams

Show Answer