Question: Question 5: Two-Phase Locking . . . . . . . . . . . . . . . . . . . . .

Question 5: Two-Phase Locking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [8 points] Check True or False for each of the following statements. (a) [1 point] 2 T 2 F The 2PL protocol guarantees that the resulting schedules are always serial. (b) [1 point] 2 T 2 F 2PL guarantees that the DBMS will never have a deadlock. (c) [1 point] 2 T 2 F Strict 2PL guarantees that the DBMS will never have a deadlock. (d) [1 point] 2 T 2 F Strict 2PL is sufficient to guarantee the SERIALIZABLE isolation level. (e) [2 points] 2 T 2 F In the multi-granularity (i.e., hierarchical) locking scheme, it is possible that two transactions both hold an intention exclusive lock for the same object at the same time. (f) [1 point] 2 T 2 F In the Wound-Wait 2PL scheme, the DBMS will never have deadlocks. (g) [1 point] 2 T 2 F In the Wait-Die 2PL scheme, the DBMS may have deadlocks. Question 5: Two-Phase Locking . . . . . . . .

Question 5: Two-Phase Locking Check 'T'rue or 'F'alse for each of the following statements. (a) [1 point] TF The 2PL protocol guarantees that the resulting schedules are always serial. (b) [1 point] TF 2PL guarantees that the DBMS will never have a deadlock. (c) [1 point ]T F Strict 2PL guarantees that the DBMS will never have a deadlock. (d) [1 point] TF Strict 2PL is sufficient to guarantee the SERIALIZABLE isolation level. (e) [2 points] TF In the multi-granularity (i.e., hierarchical) locking scheme, it is possible that two transactions both hold an "intention exclusive" lock for the same object at the same time. (f) [1 point] TF In the 'Wound-Wait' 2PL scheme, the DBMS will never have deadlocks. (g) [1 point] TF In the 'Wait-Die' 2PL scheme, the DBMS may have deadlocks

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!