Filters
Question type

Study Flashcards

One of the three most common data integrity and consistency problems is .


A) lost updates
B) disk failures
C) user errors
D) deadlocks

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

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

In a heavily used database management system (DBMS), the prevention and detection of constitutes an important DBMS function.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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


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

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

Correct Answer

verifed

verified

A scheduler facilitates data isolation to ensure that two transactions do not update the same data element at the same time.

A) True
B) False

Correct Answer

verifed

verified

To ensure consistency of the database, every transaction must begin with the database in an unstable state.

A) True
B) False

Correct Answer

verifed

verified

False

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


A) phantom read
B) dirty read
C) uncommitted dependency
D) nonrepeatable read

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

Correct Answer

verifed

verified

A

The isolation level ensures that queries return consistent results.


A) Read Uncommitted
B) Read Committed
C) Serializable
D) Repeatable Read

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

Correct Answer

verifed

verified

Time stamping demands a lot of system resources because many transactions might have to be stopped, rescheduled, and stamped.

A) True
B) False

Correct Answer

verifed

verified

are required to prevent another transaction from reading inconsistent data.


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

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

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

What are database checkpoints?

Correct Answer

verifed

verified

Database checkpoints are operations in w...

View Answer

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

Correct Answer

verifed

verified

How do transaction recovery procedures use the deferred-write and write-through techniques to recover transactions?

Correct Answer

verifed

verified

The database recovery process involves b...

View Answer

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

What is a rule that applies to the two-phase locking protocol?


A) Two transactions cannot have conflicting locks.
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) A) and B)
F) A) and D)

Correct Answer

verifed

verified

To determine the appropriate order of the operations, the scheduler bases its actions on concurrency control algorithms, such as or time stamping methods.

Correct Answer

verifed

verified

In the wait/die scheme,:


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

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

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

False

Showing 1 - 20 of 85

Related Exams

Show Answer