Developing Microsoft SQL Server 2012/2014 Databases

Here you have the best Microsoft 70-464 practice exam questions

  • You have 209 total questions to study from
  • Each page has 5 questions, making a total of 42 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on December 6, 2025
  • This site is not affiliated with or endorsed by Microsoft.
Question 1 of 209
You have a table named Rooms that contains three columns.
You run the following Transact-SQL statement:
Exam 70-464: Question 1 - Image 1
You discover the execution plan shown in the exhibit. (Click the Exhibit button.)
Exam 70-464: Question 1 - Image 2
You need to recommend a solution to reduce the amount of time it takes to execute the query.
What should you do?
More than one answer choice may achieve the goal. Select the BEST answer.
Correct Answer: A

The execution plan shows that the query is using a nonclustered index (Room_IX) on the RoomName column and then performing a RID lookup on the heap to retrieve the Id and Position columns. This indicates that the index does not cover all the columns needed for the query, resulting in additional lookup operations. To make the index covering and avoid the RID lookup, including the RoomName and Position columns in the existing Room_IX index would ensure that all the necessary data is retrieved from the index itself, thus improving query performance.

Question 2 of 209
You have a database named database1.
Database developers report that there are many deadlocks.
You need to implement a solution to monitor the deadlocks. The solution must meet the following requirements:
✑ Support real-time monitoring.
✑ Be enabled and disabled easily.
✑ Support querying of the monitored data.
What should you implement?
More than one answer choice may achieve the goal. Select the BEST answer.
Correct Answer: D

To monitor deadlocks in real-time, you should implement an Extended Events session. Extended Events provide a lightweight and highly customizable framework for monitoring and troubleshooting problems in SQL Server. They can be easily enabled and disabled, and the data collected can be queried efficiently. This makes them suitable for fulfilling the requirements of real-time monitoring, easy manageability, and query support for monitored data.

Question 3 of 209
You execute the following code:
Exam 70-464: Question 3 - Image 1
The execution plan for the query is shown in the exhibit. (Click the Exhibit button.)
Exam 70-464: Question 3 - Image 2
You need to prevent the key lookup.
What should you modify?
More than one answer choice may achieve the goal. Select the BEST answer.
Exam 70-464: Question 3 - Image 3
Correct Answer: C

Question 4 of 209
DRAG DROP -
You have a table named Table1. Table1 has 1 million rows.
Table1 has a columnstore index for a column named Column1.
You need to import data to Table1. The solution must minimize the amount of time it takes to import the data.
What should you do?
To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:
Exam 70-464: Question 4 - Image 1
Correct Answer:
Box 1: Create a table named Table2 by using the same schema as Table1.
Note: Table2 is the staging table.

Box 2: Partition Table1 -
Box 3: Import the data to Table2.
Box 4: Create a columnstore index on Table2 for Column1.

Box 5: Switch Table2 to Table1 -
Note:
* An xVelocity memory optimized columnstore index, groups and stores data for each column and then joins all the columns to complete the whole index.
Columnstore indexes can transform the data warehousing experience for users by enabling faster performance for common data warehousing queries such as filtering, aggregating, grouping, and star-join queries.
* Tables that have a columnstore index cannot be updated.
There are three ways to work around this problem.
A) To update a table with a columnstore index, drop the columnstore index, perform any required INSERT, DELETE, UPDATE, or MERGE operations, and then rebuild the columnstore index. B) (applies in this scenario) Partition the table and switch partitions. For a bulk insert, insert data into a staging table, build a columnstore index on the staging table, and then switch the staging table into an empty partition. For other updates, switch a partition out of the main table into a staging table, disable or drop the columnstore index on the staging table, perform the update operations, rebuild or re-create the columnstore index on the staging table, and then switch the staging table back into the main table.
C) Place static data into a main table with a columnstore index, and put new data and recent data likely to change, into a separate table with the same schema that does not have a columnstore index.
Reference: Best Practices: Updating Data in a Columnstore Index Exam 70-464: Question 4 - Image 2
Question 5 of 209
You have a database for a mission-critical web application. The database is stored on a SQL Server 2012 instance and is the only database on the instance.
The application generates all T-SQL statements dynamically and does not use stored procedures. You need to maximize the amount of memory available for data caching.
Which advanced server option should you modify?
Correct Answer: A