Lead2pass provide the best training material for Microsoft 70-464 certification exams. When you use our products Lead2pass ensure that you emerge successful in your certification exam.
QUESTION 101
You need to ensure that a new execution plan is used by usp_GetOrdersByProduct each
time the stored procedure runs.
What should you do?
A. Add WITH (FORCESEEK) to line 07 in usp_GetOrdersByProduct.
B. Execute sp_recompile ‘usp_GetOrdersByProduct’.
C. Execute sp_help ‘usp_GetOrdersByProduct’.
D. Add WITH RECOMPILE to line 03 in usp_GetOrdersByProduct.
Answer: D
Explanation:
http://msdn.microsoft.com/en-us/librAry/ms190439(v=sql.90).aspx
QUESTION 102
You need to implement a solution that addresses the index monitoring requirements.
What should you do?
A. Schedule a SQL Server Agent job that saves data from the dynamic management views to a table in the database.
B. Create a SQL Server Audit that saves data to a log file, and then create a SQL Server Audit Specification that gathers data from the DATABASE_OPERATION group.
C. Create a performance monitor Data Collector Set (DCS) that monitors the SQL Server counters.
D. Schedule a SQL Server Profiler trace, and then save the trace data to a table in the database.
Answer: A
QUESTION 103
You need to implement a solution that addresses the page split issues.
Which statement should you execute?
A. ALTER INDEX IX_Orders_ShipDate ON Orders
REBUILD WITH (PAD_INDEX = OFF, DROP_EXISTING = ON);
B. ALTER INDEX IX_Orders_ShipDate ON Orders
REBUILD WITH (FILLFACTOR=50, DROP_EXISTING = ON);
C. ALTER INDEX IX_Orders_ShipDate ON Orders
REBUILD WITH (FILLFACTOR=0, DROP_EXISTING = ON);
D. ALTER INDEX IX_Orders_ShipDate ON Orders
REBUILD WITH (PAD_INDEX=ON/ DROP_EXISTING = ON);
Answer: B
QUESTION 104
You need to implement a solution that solves the performance issues of usp_GetOrdersAndItems.
Which statements should you execute?
A. CREATE INDEX IX_Orders_Active ON Orders(ShipDate, DeliveryDate, Amount)
B. CREATE INDEX IX_Orders_Active ON Orders(DeliveryDate) INCLUDE(Amount) WHERE ShipDate IS NXXL
C. CREATE INDEX IX_Orders_Active ON Orders(DeliveryDate, Amount) WHERE ShipDate IS NULL
D. CREATE INDEX IX_Orders_Active ON Orders(ShipDate, DeliveryDate) INCLUDE( Amount)
Answer: B
QUESTION 105
You need to modify usp_GetOrdersAndItems to ensure that an order is NOT retrieved by usp_GetOrdersAndItems while the order is being updated.
What should you add to usp_GetOrdersAndItems?
A. Add (READPAST) to the end of line 06.
B. Add SET TRANSACTION ISOLATION LEVEL SNAPSHOT to line 03.
C. Add SET TRANSACTION ISOLATION LEVEL SERIALIZABLE to line 03.
D. Add (UPDLOCK) to the end of line 06.
Answer: A
QUESTION 106
You need to implement a solution that addresses the bulk insert requirements.
What should you add to line 08 in usp_ImportOrderDetails?
A. LASTROW=0.
B. BATCHSIE=0.
C. BATCHSIZE=1000.
D. LASTROW = 1000.
Answer: C
QUESTION 107
You discover that the usp_GetOrdersAndItems stored procedures takes a long time to complete while usp_AddOrder or usp_AddXMLOrder run.
You need to ensure that usp_GetOrdersAndItems completes as quickly as possible.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Set the isolation level of the usp_GetOrdersAndItems stored procedure to SERIALIZABLE.
B. Execute the ALTER DATABASE Sales SET ALLOW_SNAPSHOT_ISOLATION ON statement.
C. Set the isolation level of the usp_AddOrder stored procedure to SERIALIZABLE.
D. Set the isolation level of the usp_GetOrdersAndItems stored procedure to SNAPSHOT.
E. Set the isolation level of the usp_AddOrder stored procedure to SNAPSHOT.
F. Execute the ALTER DATABASE Sales SET ALLOWSNAPSHOTISOLATION OFF statement.
Answer: BD
QUESTION 108
You need to modify the Orders table to store the XML data used by the retailers.
Which statement should you execute?
A. ALTER Orders
ADD originalOrder XML (ValidateOrder);
B. ALTER Orders
ADD originalOrder XML;
C. ALTER Orders
ADD originalOrdervarchar(max);
D. ALTER Orders
ADD originalOrdervarbinary(max);
Answer: D
QUESTION 109
You need to modify usp.GetOrdersAndItems to ensure that an order is NOT retrieved by
usp_GetOrdersAndItems while the order is being updated.
What should you add to usp.GetOrdersAndItems?
A. Add WITH (NOLOCK) to the end of line 47.
B. Add SET TRANSACTION ISOLATION LEVEL READ COMMITTED to line 44.
C. Add SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED to line 44.
D. Add WITH (READPAST) to the end of line 47.
Answer: B
QUESTION 110
You need to ensure that a new execution plan is used by usp_GetOrdersByProduct each
time the stored procedure runs.
What should you do?
A. Execute sp_help usp_GetOrdersByProduct.
B. Add WITH (FORCESEEK) to line 69 in usp.GetOrdersByProduct.
C. Add WITH RECOMPILE to line 64 in usp.GetOrdersByProduct.
D. Execute sp_recompile usp.GetOrdersByProduct’.
Answer: B
Lead2pass 70-464 material details are researched and created by the most professional certified authors who are regularly using current exams experience to create precise and logical dumps. You can get questions and answers from many other websites or books, but logic is the main key of success. And Lead2pass will give you this key of success.