Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
 

Microsoft 70-464 Exam Actual Questions

The questions for 70-464 were last updated on Nov. 1, 2024.
  • Viewing page 1 out of 42 pages.
  • Viewing questions 1-5 out of 209 questions

Topic 1 - Question Set 1

Question #1 Topic 1

You have a table named Rooms that contains three columns.
You run the following Transact-SQL statement:

You discover the execution plan shown in the exhibit. (Click the Exhibit button.)

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.

  • A. Include the RoomName column and the Position column in the Room_IX index.
  • B. Create a nonclustered index for RoomName, Id, and Position.
  • C. Create a clustered index for Id.
  • D. Use the WITH (INDEX(Room_IX),NOLOCK) query hint.
Reveal Solution Hide Solution   Discussion   2

Correct Answer: B 🗳️

Question #2 Topic 1

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.

  • A. Log errors by using trace flag 1222
  • B. Log errors by using trace flag 1204
  • C. A SQL Server Profiler template
  • D. An Extended Events session
Reveal Solution Hide Solution   Discussion   1

Correct Answer: D 🗳️
References:
http://www.sqlservercentral.com/blogs/james-sql-footprint/2012/08/12/monitor-deadlock-in-sql-2012/ http://blogs.technet.com/b/mspfe/archive/2012/06/28/how_2d00_to_2d00_monitor_2d00_deadlocks_2d00_in_2d00_sql_2d00_server.aspx

Question #3 Topic 1

You execute the following code:

The execution plan for the query is shown in the exhibit. (Click the Exhibit button.)

You need to prevent the key lookup.
What should you modify?
More than one answer choice may achieve the goal. Select the BEST answer.

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Reveal Solution Hide Solution   Discussion  

Correct Answer: C 🗳️

Question #4 Topic 1

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:

Reveal Solution Hide Solution   Discussion   2

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

Question #5 Topic 1

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?

  • A. Optimize for Ad hoc Workloads
  • B. Enable Contained Databases
  • C. Allow Triggers to Fire Others
  • D. Scan for Startup Procs
Reveal Solution Hide Solution   Discussion  

Correct Answer: A 🗳️

Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...