You are developing a database application by using Microsoft SQL Server 2012. You have a query that runs
slower than expected. You need to capture executionplans that will include detailed information on missing
indexes recommended by the query optimizer. What should you do?

A.
Add a HASH hint to the query.
B.
Add a LOOP hint to the query.
C.
Add a FORCESEEK hint to the query.
D.
Add an INCLUDE clause to the index.
E.
Add a FORCESCAN hint to the Attach query.
F.
Add a columnstore index to cover the query.
G.
Enable the optimize for ad hoc workloads option.
H.
Cover the unique clustered index with a columnstore index.
I.
Include a SET FORCEPLAN ON statement before you run the query.
J.
Include a SET STATISTICS PROFILE ON statement before you run the query.
K.
Include a SET STATISTICS SHOWPLAN_XML ON statement before you run the query.
L.
Include a SET TRANSACTION ISOLATION LEVEL REPEATABLE READ statement before you run the
query.
M.
Include a SET TRANSACTION ISOLATION LEVEL SNAPSHOT statement before you run the query.
N.
Include a SET TRANSACTION ISOLATION LEVEL SERIALIZABLE statement before you run the query.
Show Answer on this one doesn’t work.
0
0
Answer should be:
J. Include a SET STATISTICS PROFILE ON statement before you run the query.
0
0
STATISTICS PROFILE shows the actual execution plan in a text based format BUT it does not show information about missing indexes. SET STATISTICS XML and SET SHOWPLAN_XML both includes information about missing indexes, the former shows the ACTUAL execution plan and the latter the ESTIMATED execution plan. In this case the answers is K. Include a SET STATISTICS SHOWPLAN_XML ON statement before you run the query.
1
0
Thanks Martin
0
0
ans is k
1
0
There is no such command “SET STATISTICS SHOWPLAN_XML ON”. The correct solution would be SET SHOWPLAN_XML (see http://technet.microsoft.com/library/ms187757.aspx) but this is not available as answer. So K is the best answer available.
0
0
Thanks Martin and riemi
0
0
I agree with riemi.
0
0
hi
0
0
K is the correct answer!
0
0
BTW, part of new 200Q 70-461 dumps are available here:
https://drive.google.com/open?id=0B-ob6L_QjGLpfnJldlZxTklTaHM0akpJUzhja2pETHJOS0owMzd4eVk1UTVNQUpvdlVxVWM
Best Regards!
0
0