Filters
Question type

Study Flashcards

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 lock allows concurrent transactions to access different rows of the same table.


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

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

Lock indicates the level of lock use.


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

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

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

Timestamps must only have the single property of uniqueness.

A) True
B) False

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) timestamping

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

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

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

Correct Answer

verifed

verified

When using an optimistic approach, during the write phase, the transaction is validated to ensure that the changes made will not affect the integrity and consistency of the database.

A) True
B) False

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

The reason for the different levels of isolation is to increase transaction concurrency.

A) True
B) False

Correct Answer

verifed

verified

A lock locks the entire diskpage.


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

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

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 defines four events that signal the end of a transaction. 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) The program is abnormally terminated.
D) The database is shut down for maintenance.

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

Correct Answer

verifed

verified

requires that all operations of a transaction be completed.


A) Specificity
B) Atomicity
C) Durability
D) Time stamping

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

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

Correct Answer

verifed

verified

How does a shared/exclusive lock schema increase the lock manager's overhead?

Correct Answer

verifed

verified

The type of lock held must be known befo...

View Answer

Database transaction restores a database from an inconsistent state to a previously consistent state.

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

Correct Answer

verifed

verified

Showing 21 - 40 of 85

Related Exams

Show Answer