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 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 deadlocksStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started