Filters
Question type

Study Flashcards

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

Correct Answer

verifed

verified

The information stored in the ____ is used by the DBMS 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.


A) data dictionary
B) metadata
C) rollback manager
D) transaction log

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

Correct Answer

verifed

verified

A consistent database is ____.


A) one in which all tables have foreign keys
B) one in which all data integrity constraints are satisfied
C) one in which all tables are normalized
D) one in which all SQL statements only update one table at a time

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

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

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


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

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

What is transaction isolation and why it is important?

Correct Answer

verifed

verified

Isolation means that the data used durin...

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

All transactions must display ____.


A) atomicity, consistency, and durability
B) durability and isolation
C) consistency, durability, and isolation
D) atomicity, durability, consistency, and isolation

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

Correct Answer

verifed

verified

If a(n)____________________ is issued before the termination of a transaction,the DBMS will restore the database only for that particular transaction,rather than for all transactions,in order to maintain the durability of the previous transactions.

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

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

A) True
B) False

Correct Answer

verifed

verified

The DBMS keeps several copies of ____________________ to ensure that a disk physical failure will not impair the DBMS's ability to recover data.

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

Correct Answer

verifed

verified

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 ____________________ correct.

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

The implicit beginning of a transaction is ____.


A) when the database is started
B) when a table is accessed for the first time
C) when the first SQL statement is encountered
D) when the COMMIT command is issued

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

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

Correct Answer

verifed

verified

Showing 41 - 60 of 70

Related Exams

Show Answer