exam questions

Exam 70-764 All Questions

View all questions & answers for the 70-764 exam

Exam 70-764 topic 1 question 151 discussion

Actual exam question from Microsoft's 70-764
Question #: 151
Topic #: 1
[All 70-764 Questions]

DRAG DROP -
You plan to deploy SQL Server 2014. You are designing two stored procedures named SP1 and SP2 that have the following requirements:
- Prevent data read by SP1 from being modified by other active processes.
- Prevent SP2 from performing dirty reads.
You need to recommend the isolation level for each stored procedure.
The solution must maximize concurrency. Which isolation levels should you recommend? To answer, drag the appropriate isolation level to the correct stored procedure in the answer area.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
- REPEATABLE READ
This isolation level includes the guarantees given by SNAPSHOT isolation level. In addition, REPEATABLE READ guarantees that for any row that is read by the transaction, at the time the transaction commits the row has not been changed by any other transaction. Every read operation in the transaction is repeatable up to the end of the transaction.
- Committed Read is SQL Server's default isolation level. It ensures that an operation will never read data another application has changed but not yet committed.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
msamm
Highly Voted 5 years, 2 months ago
SP1 - Repeatable Read SP2 - Read Committed. The question states that the SP2 should be prevented from performing dirty reads. https://vceguide.com/which-isolation-levels-should-you-recommend-5/ The link given by VabJosh in the discussions is for a different question which needs the SP2 to be able to perform Dirty Reads.
upvoted 5 times
...
Som2020
Most Recent 4 years ago
SP1 - Repeatable Read SP2 - Read Committed.
upvoted 1 times
...
Slava_bcd81
4 years, 3 months ago
the first can be sirializable also
upvoted 1 times
KC
4 years, 3 months ago
No, because serializable has low concurrency.
upvoted 2 times
Slava_bcd81
4 years, 3 months ago
"Prevent data read by SP1 from being modified by other active processes" - if there is no need to protect a range red - repeatable read, if there is - serializable; I think the question is not 100% clear
upvoted 1 times
Slava_bcd81
4 years, 3 months ago
I think will prefer repeatable read on the exam, but its good to have deeper understanding
upvoted 1 times
...
...
...
...
TheSwedishGuy
4 years, 10 months ago
SP1 - Repeatable Read. SP2 - Read Committed.
upvoted 3 times
...
vabjosh
5 years, 7 months ago
https://www.briefmenow.org/microsoft/which-isolation-levels-should-you-recommend/
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago