ITM5300EXB01 Chapter 10 Transaction Management and Concurrency Control

1.Which of the following best defines a transaction?
A)  A transaction is a logical unit of work that must be entirely completed or entirely aborted.

2. Which of the following is not a transaction property?
A) Completeness

3. Which of the following is NOT an event to end a transaction?
A) New SQL statement is reached.

4. Which of the following best defines inconsistent retrievals?
A) A concurrency control problem that arises when a transaction calculating summary functions over a set of data while other transactions are updating the same retrieved data.

5. Which of the following is NOT a valid lock level?
A) Column lock level

6. Which of the following statements best defines exclusive lock?
A) An exclusive lock exists when access is reserved specifically for the transaction that locked the object.

7. When do deadlocks occur?
A) When two transactions wait indefinitely for each other to unlock data

8. Which of the following allows dirty reads?
A) Read Uncommitted

9. Which of the following is not an event that can cause a database to stop working and compromise the integrity of the data?
A) Unauthorized access to database

10. Which of the following is NOT a valid technique to control deadlocks?
A) Deadlock abortion: all transactions are aborted for the requested object.

Leave a Reply

Your email address will not be published. Required fields are marked *