QUESTION 54Developers report that usp_UpdateSessionRoom periodically returns error 3960.You need to prevent the error from occurring. The solution must ensure that the stored procedure returns the original values to all of the updated rows.What should you configure in Procedures.sql?

A. Replace line 46 with the following code:SET TRANSACTION ISOLATION LEVEL SERIALIZABLEB. Replace line 46 with the following code:SETTRANSACTIONISOLATIONLEVELREPEATABLEREADC. Move the SELECT statement at line 49 to line 57.D. Move the SET statement at line 46 to line 53.

Answer: A

QUESTION 55You discover that usp.SelectSpeakersByName executes slowly if usp_UpdateSpeakerName executes simultaneously.You need to minimize the execution time of usp.SelectSpeakersByName. The solution must not affect the performance of the other stored procedures.What should you update?

A. Usp_UpdateSpeakerName to use the NOLOCK query hintB. Usp_UpdateSpeakerName to use snapshot isolationC. Usp_SelectSpeakersByName to use the NOLOCK query hintD. Usp_SelectSpeakersByName to use snapshot isolation

QUESTION 56While testing usp.GetFutureSessions, you discover that IX_Sessions is accessed by a scan rather than a seek.You need to minimize the amount of time it takes to execute usp_GetFutureSessions.What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Option AB. Option BC. Option CD. Option DE. Option EF. Option F

Answer: BEExplanation:Future delivery dates.

QUESTION 57You need to ensure that if any of the statements in usp_UpdateSpeakerName return an error message, all of the changes executed by usp_UpdateSpeakerName are not committed to the database.What should you do in Procedures.sql? (Each correct answer presents part of the solution. Choose all that apply.)