PrepAway - Latest Free Exam Questions & Answers

Which isolation level should you use?

You are developing an ASP.NET MVC application that reads and writes data from a SQL
Server database.
You need to prevent the application from reading data that is locked by other transactions.
You also need to prevent exclusive range locks.
Which isolation level should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
ReadCommitted

B.
Serializable

C.
Repeatable

D.
ReadUncommitted

8 Comments on “Which isolation level should you use?

  1. Paul says:

    I still think it’s option D.
    The question states :
    – “an ASP.NET MVC application that reads and writes data”
    – “You need to prevent the application from reading data that is locked by other transactions.”
    ==> A write transaction results in an exclusive lock.
    ==> A ReadCommited is locked by definition when it tries to get on SharedLock on a resource that is already Exclusively Locked.




    0



    0

Leave a Reply