ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 23 - DP-300 discussion

Report
Export

You have an Azure SQL database named DB1. You run a query while connected to DB1.

You review the actual execution plan for the query, and you add an index to a table referenced by the query. You need to compare the previous actual execution plan for the query to the Live Query Statistics. What should you do first in Microsoft SQL Server Management Studio (SSMS)?

A.
For DB1, set QUERY_CAPTURE_MODE of Query Store to All.
Answers
A.
For DB1, set QUERY_CAPTURE_MODE of Query Store to All.
B.
Run the SET SHOWPLAN_ALL Transact-SQL statement.
Answers
B.
Run the SET SHOWPLAN_ALL Transact-SQL statement.
C.
Save the actual execution plan.
Answers
C.
Save the actual execution plan.
D.
Enable Query Store for DB1.
Answers
D.
Enable Query Store for DB1.
Suggested answer: C

Explanation:

The Plan Comparison menu option allows side-by-side comparison of two different execution plans, for easier identification of similarities and changes that explain the different behaviors for all the reasons stated above. This option can compare between:

Two previously saved execution plan files (.sqlplan extension).

One active execution plan and one previously saved query execution plan. Two selected query plans in Query Store.

asked 02/10/2024
DATA 7 DATA7
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first