Which isolation level should you use?

Posted by: Pdfprep Category: 70-764 Tags: , ,

You use Microsoft SQL Server 2016 to write code for a transaction that contains several

statements. There is high contention between readers and writers on several tables used by your transaction. You need to minimize the use of the tempdb space.

You also need to prevent reading queries from blocking writing queries.

Which isolation level should you use?
A . SERIALIZABLE
B . SNAPSHOT
C . READ COMMITTED SNAPSHOT
D . REPEATABLE READ

Answer: C

Explanation:

For most applications, read committed isolation using row versioning is recommended over snapshot isolation for the following reasons:

It consumes less tempdb space than snapshot isolation. Etc.

References: https://msdn.microsoft.com/en-us/library/ms188277.aspx

Leave a Reply

Your email address will not be published.