getcertified4sure.com

Questions Ask for sql server 70-464




It is more faster and easier to pass the Microsoft 70-464 exam by using Simulation Microsoft Developing Microsoft SQL Server 2012 Databases questuins and answers. Immediate access to the Leading 70-464 Exam and find the same core area 70-464 questions with professionally verified answers, then PASS your exam with a high score now.

2021 Sep microsoft sql server 2012 development (70-464) course:

Q91. You have a SQL Server 2012 database named DB1 that is accessed by 650 concurrent users. 

You need to log all of the queries to DB1 that become deadlocked. The solution must meet the following requirements: 

. Provide a representation of the deadlock in XML format. 

. Minimize the impact on the server. 

What should you create? 

A. A SQL Server Profiler trace 

B. A SQL Server Agent job that retrieves information from the sys.dm_tran_session_transactions dynamic management views 

C. A SQL Server Agent job that retrieves information from the sys.dm_tran_active_transactions dynamic management views 

D. A script that enables trace flags 

Answer: A 


Q92. 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 


Q93. You are creating a stored procedure named usp1. Usp1 will create a table that will be used during the execution of usp1. Only usp1 will be allowed to access the table. 

You need to write the code required to create the table for usp1. The solution must minimize the need to recompile the stored procedure. 

Which code segment should you use to create the table? 

A. CREATE TABLE oneTable 

B. CREATE TABLE ##oneTable 

C. CREATE TABLE #oneTable 

D. DECLARE oneTable TABLE 

Answer: B 


Q94. You need to modify the stored procedure usp_LookupConcurrentUsers. What should you do? 

A. Use the summary table as an in-memory optimized table with a non-hash clustered index. 

B. Use the summary table as an in-memory optimized table with a non-hash nonclustered index. 

C. Use a type variable instead of the summary table. 

D. Add a clustered index to the summary table. 

Answer: A 


Q95. You need to recommend a solution to ensure that SQL1 supports the auditing requirements of usp_UpdateSpeakerName. 

What should you include in the recommendation? 

A. The Distributed Transaction Coordinator (DTC) 

B. Transactional replication 

C. Change data capture 

D. Change tracking 

Answer: A 


70-464 test

Updated 70-464 certification:

Q96. You need to implement a solution that meets the data recovery requirements. You update each stored procedure to accept a parameter named @transactionID. What should you add next to the beginning of each stored procedure? 

A. SAVE TRANSACTION WITH MARK @transactionID 

B. ROLLBACK DISTRIBUTED TRANSACTION @transactionID 

C. BEGIN TRANSACTION WITH MARK @transactionID 

D. COMMIT TRANSACTION @transactionID 

Answer: C 


Q97. You discover that the usp_GetOrdersAndItems stored procedure 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 ALLOW_SNAPSHOT_ISOLATION OFF statement. 

Answer: B,D 


Q98. Topic 7) 

You need to create the usp.AssignUser stored procedure. 

Develop the solution by selecting and arranging the required code blocks in the correct order. You may not need all of the code blocks. 

Answer: 


Q99. 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 


Q100. While testing the CategoryFromType function, you discover that the function is returning 'Other'. 

You need to update CategoryFromType to return the category name. 

Which line of code should you modify in CategoryFromType.sql? 

A. 04 

B. 05 

C. 12 

D. 14 

Answer: B