MCQ King
53 – Concurrency Models and Transactions MCQ
Best of Luck!
1 / 25
1. What is a transaction in MS SQL Server?
2 / 25
2. Which isolation level ensures that a transaction does not read uncommitted data?
3 / 25
3. What is the default isolation level in MS SQL Server?
4 / 25
4. Which keyword is used to start a transaction in MS SQL Server?
5 / 25
5. What happens to a transaction when the ROLLBACK statement is executed?
6 / 25
6. Which isolation level provides the highest level of data consistency but can lead to more contention?
7 / 25
7. What is the purpose of a lock in SQL Server?
8 / 25
8. Which command is used to release a lock explicitly in SQL Server?
9 / 25
9. What is an example of optimistic concurrency control in SQL Server?
10 / 25
10. In SQL Server, what is a deadlock?
11 / 25
11. Which isolation level allows a transaction to read data without acquiring locks?
12 / 25
12. What is the purpose of the COMMIT statement in SQL Server?
13 / 25
13. Which statement is used to permanently remove changes made by a transaction?
14 / 25
14. What is the primary purpose of the SAVEPOINT in SQL Server?
15 / 25
15. Which isolation level allows a transaction to read data without acquiring locks, but it may encounter dirty reads?
16 / 25
16. What is a serializable transaction in SQL Server?
17 / 25
17. Which command is used to explicitly roll back a transaction in SQL Server?
18 / 25
18. What is the purpose of the SET TRANSACTION ISOLATION LEVEL statement in SQL Server?
19 / 25
19. Which isolation level ensures that a transaction cannot read data that has been modified but not yet committed by other transactions?
20 / 25
20. What is the default behavior of SQL Server when a transaction is not explicitly started?
21 / 25
21. In SQL Server, what is a distributed transaction?
22 / 25
22. Which keyword is used to define a named transaction in SQL Server?
23 / 25
23. What is a transaction log in SQL Server?
24 / 25
24. Which isolation level allows a transaction to read and modify data without acquiring locks?
25 / 25
25. In SQL Server, what is a two-phase commit (2PC)?
Your score is
Restart quiz