exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 4 question 15 discussion

Actual exam question from Microsoft's DP-300
Question #: 15
Topic #: 4
[All DP-300 Questions]

You have an Azure SQL managed instance.
You need to gather the last execution of a query plan and its runtime statistics. The solution must minimize the impact on currently running queries.
What should you do?

  • A. Generate an estimated execution plan.
  • B. Generate an actual execution plan.
  • C. Run sys.dm_exec_query_plan_stats.
  • D. Generate Live Query Statistics.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
https://docs.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-exec-query-plan-stats-transact-sql?view=sql-server-ver15

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
voodoo_sh
3 months, 1 week ago
Selected Answer: C
DMV has minimum impact, compared to generating Actual plan or Live Query Statistics with the query in question. Note that for DMV for work properly, LAST_QUERY_PLAN_STATS configuration must be enabled for a database (or a trace flag at a server level).
upvoted 1 times
...
vcloudpmp
9 months, 2 weeks ago
https://learn.microsoft.com/en-us/training/modules/explore-query-performance-optimization/3-explain-estimated-actual
upvoted 1 times
...
Ciupaz
1 year, 6 months ago
The DMV has the minimum impact, like said in the question.
upvoted 1 times
...
Chunchi
2 years, 3 months ago
c: is correct
upvoted 3 times
...
o2091
2 years, 5 months ago
looks correct
upvoted 1 times
...
o2091
2 years, 5 months ago
parece correcto
upvoted 3 times
...
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago