Which action should you take?

You are a database developer on an instance of SQL Server 2008. You receive input from several business partners as XML documents. You process the incoming
XML documents and store the data in the InData table in an xml data type column.
You have a stored procedure named ProcessUpdate that includes a transaction that performs the following tasks:
Updates several rows in a lookup table
Updates rows in the Master table based on the xml column value in the InData table
Deletes rows from the InData table for rows successfully processed. You expect a high volume of incoming XML files and are concerned about performance of the ProcessUpdate stored procedure. You want to ensure that queries do not time out or cause lock escalation if possible. Which action should you take?
A. Store the incoming XML documents on the file system instead of in the database.
B. Modify the ProcessUpdate stored procedure to execute multiple transactions, with each transaction processing a smaller batch of incoming XML documents.
C. Set the transaction isolation level to SERIALIZABLE.
D. Include the TABLOCK table hint on the query that updates the Master table.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.