70-465 · Question #60
70-465 Question #60: Real Exam Question with Answer & Explanation
The correct statement uses BEGIN TRANSACTION, SET TRANSACTION ISOLATION LEVEL SNAPSHOT, and COMMIT TRANSACTION to safely update SalesOrder. SNAPSHOT isolation level allows readers to see a consistent snapshot of data as it existed at the start of the transaction, preventing dirty
Question
Drag and Drop Question You need to recommend which statement should be used to update SalesOrder. How should you recommend completing the statement? To answer, drag the appropriate elements to the correct locations. Each element may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. Answer:
Explanation
The correct statement uses BEGIN TRANSACTION, SET TRANSACTION ISOLATION LEVEL SNAPSHOT, and COMMIT TRANSACTION to safely update SalesOrder. SNAPSHOT isolation level allows readers to see a consistent snapshot of data as it existed at the start of the transaction, preventing dirty reads and blocking issues without holding shared locks. This is the recommended pattern in Azure SQL / SQL Server when you need optimistic concurrency control - reads don't block writes and writes don't block reads, making it ideal for high-concurrency update scenarios like SalesOrder.
Topics
Community Discussion
No community discussion yet for this question.