Search Header Logo

Locking Protocols and Recovery Management

Authored by Ayush Baghel

Computers

University

Used 2+ times

Locking Protocols and Recovery Management
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?