nerdexam
Microsoft

70-465 · Question #33

Drag and Drop Question You plan to deploy a database to SQL Azure. You are designing two stored procedures named USP_1 and USP_2 that have the following requirements: - Prevent data read by USP_1 from

The correct answer is repeatable read; read uncommitted. USP_1 requires 'repeatable read' because this isolation level prevents other transactions from modifying data that has been read by the current transaction (by holding shared locks until the transaction completes), satisfying the requirement to prevent modifications by other acti

Submitted by obi.ng· Mar 5, 2026Design and implement database solutions - specifically recommending appropriate transaction isolation levels to balance data consistency requirements with maximum concurrency in Azure SQL environments.

Question

Drag and Drop Question You plan to deploy a database to SQL Azure. You are designing two stored procedures named USP_1 and USP_2 that have the following requirements: - Prevent data read by USP_1 from being modified by other active processes. - Allow USP_2 to perform dirty reads. You need to recommend the isolation level for the stored procedures. 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. Answer:

Exhibit

70-465 question #33 exhibit

Answer Area

Drag items

read committedread uncommittedrepeatable readserializable

Correct arrangement

  • repeatable read
  • read uncommitted

Explanation

USP_1 requires 'repeatable read' because this isolation level prevents other transactions from modifying data that has been read by the current transaction (by holding shared locks until the transaction completes), satisfying the requirement to prevent modifications by other active processes while still maximizing concurrency compared to 'serializable'. USP_2 requires 'read uncommitted' because this is the only isolation level that allows dirty reads - reading data that has been modified but not yet committed by other transactions - which directly matches the requirement. 'Repeatable read' is chosen over 'serializable' for USP_1 because 'serializable' adds range locks to prevent phantom reads, which is unnecessarily restrictive and reduces concurrency beyond what is needed.

Topics

#SQL Azure#Transaction Isolation Levels#Concurrency Control#Database Design

Community Discussion

No community discussion yet for this question.

Full 70-465 Practice