Filters
Question type

Study Flashcards

A transaction is a unit of work that must be either entirely completed or aborted.


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

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

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

Durability requires that all portions of the transaction must be treated as a single, logical unit of work in which all operations are applied and completed to produce a consistent database.

A) True
B) False

Correct Answer

verifed

verified

In a page-level lock, the DBMS will lock an entire diskpage.

A) True
B) False

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) All of the above

Correct Answer

verifed

verified

Explain the transaction log. What is its function?

Correct Answer

verifed

verified

A DBMS uses a transaction log to keep tr...

View Answer

The transaction recovery write-ahead-log protocol ensures that transaction logs are always written before any database data are actually updated.

A) True
B) False

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

A lock prevents the use of any tables in the database from one transaction while another transaction is being processed.


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

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

Correct Answer

verifed

verified

A(n) lock has only two stages (0 and 1) .


A) shared
B) exclusive
C) binary
D) two-phase

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

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

What is transaction isolation and why it is important?

Correct Answer

verifed

verified

Isolation means that the data used durin...

View Answer

means that data used during the execution of a transaction cannot be used by a second transaction until the first one is completed.


A) Serializability
B) Atomicity
C) Isolation
D) Time stamping

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

Correct Answer

verifed

verified

The 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 C)

Correct Answer

verifed

verified

The scheduler's main job is to create a(n) of a transaction's operation, in which the interleaved executions of transactions yield the same results as if the transactions were executed in serial order.

Correct Answer

verifed

verified

serializab...

View Answer

Serializability means that data used during the execution of a transaction cannot be used by a second transaction until the first one is completed.

A) True
B) False

Correct Answer

verifed

verified

An optimistic approach is based on the assumption that the majority of the database operations do not conflict.

A) True
B) False

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 D)
F) All of the above

Correct Answer

verifed

verified

The DBMS guarantees that the semantic meaning of a transaction truly represents the real-world event.

A) True
B) False

Correct Answer

verifed

verified

Showing 61 - 80 of 85

Related Exams

Show Answer