Locking Protocols and Recovery Management

Locking Protocols and Recovery Management

University

12 Qs

quiz-placeholder

Similar activities

INTERNET CONNECTIONS

INTERNET CONNECTIONS

University

10 Qs

IT DAY QUIZ BEE EASY ROUND)

IT DAY QUIZ BEE EASY ROUND)

University

15 Qs

Ch5_Database Transaction Management

Ch5_Database Transaction Management

University

15 Qs

TPS_Concurrency COntrol

TPS_Concurrency COntrol

University

12 Qs

Database Transaction Management Quiz

Database Transaction Management Quiz

University

15 Qs

DBMS - Deadlocks

DBMS - Deadlocks

University

10 Qs

Database Solution Development Quiz

Database Solution Development Quiz

University

14 Qs

Data warehouse Malam-Quiz

Data warehouse Malam-Quiz

University

10 Qs

Locking Protocols and Recovery Management

Locking Protocols and Recovery Management

Assessment

Quiz

Computers

University

Medium

Created by

Ayush Baghel

Used 2+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of lock allows multiple transactions to read a data item but prevents any modifications to it?

Exclusive Lock

Shared Lock

Pre-Claiming Lock

Simplistic Lock

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main disadvantage of the simplistic lock protocol?

It prevents deadlocks.

It uses multiple types of locks.

It limits concurrency and can cause bottlenecks.

It does not ensure data consistency.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the Two-Phase Locking protocol, what is the first phase called?

Acquiring Phase

Expanding Phase

Growing Phase

Releasing Phase

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which locking protocol ensures that a transaction holds all its exclusive locks until it commits?

Simplistic Lock Protocol

Pre-Claiming Lock Protocol

Strict Two-Phase Locking

Shared Lock Protocol

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a key disadvantage of the Pre-Claiming Lock Protocol?

It can lead to deadlocks.

It reduces concurrency.

It increases transaction speed.

It prevents cascading aborts.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of lock must a transaction acquire to update a data item?

Shared Lock

Exclusive Lock

Read-Only Lock

Phantom Lock

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does the Strict Two-Phase Locking protocol prevent cascading aborts?

By acquiring all locks upfront

By releasing shared locks after the growing phase

By holding exclusive locks until the transaction commits

By using only shared locks throughout the transaction

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?