MCQ King
51 – Locking MCQ
Best of luck!
1 / 25
1. What is the primary purpose of a Shared Lock in SQL Server?
2 / 25
2. In SQL Server, what type of lock is acquired by a transaction when it wants to modify a resource?
3 / 25
3. What is the primary purpose of an Exclusive Lock in SQL Server?
4 / 25
4. Which type of lock is used when a transaction wants to indicate its intention to read a resource without acquiring an exclusive lock?
5 / 25
5. In SQL Server, what is the purpose of Intent Locks?
6 / 25
6. What is the primary benefit of using Intent Shared Locks in SQL Server?
7 / 25
7. In SQL Server, which type of lock indicates the intention to modify a resource without acquiring an exclusive lock?
8 / 25
8. What is the primary purpose of an Intent Exclusive Lock in SQL Server?
9 / 25
9. In SQL Server, what is the purpose of Shared Locks with Intent Exclusive Locks?
10 / 25
10. Which type of lock is acquired when a transaction intends to modify a resource exclusively in SQL Server?
11 / 25
11. What is the primary benefit of using Shared Locks in SQL Server?
12 / 25
12. In SQL Server, which type of lock indicates the intention of a transaction to modify a resource exclusively?
13 / 25
13. What is the primary purpose of Shared Locks with Intent Exclusive Locks in SQL Server?
14 / 25
14. In SQL Server, when does a transaction acquire an Exclusive Lock?
15 / 25
15. What is the primary purpose of Intent Exclusive Locks in SQL Server?
16 / 25
16. In SQL Server, what is the primary purpose of Shared Locks?
17 / 25
17. What is the primary benefit of using Shared Locks with Intent Exclusive Locks in SQL Server?
18 / 25
18. In SQL Server, when does a transaction acquire an Intent Shared Lock?
19 / 25
19. What is the primary purpose of Intent Shared Locks in SQL Server?
20 / 25
20. In SQL Server, what is the primary benefit of using Exclusive Locks?
21 / 25
21. What is the primary purpose of Intent Exclusive Locks in SQL Server?
22 / 25
22. In SQL Server, when does a transaction acquire an Intent Exclusive Lock?
23 / 25
23. What is the primary benefit of using Intent Locks in SQL Server?
24 / 25
24. In SQL Server, what is the primary purpose of Shared Locks with Intent Exclusive Locks?
25 / 25
25. What is the primary benefit of using Shared Locks with Intent Exclusive Locks in SQL Server?
Your score is
Restart quiz