exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 4 question 17 discussion

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

You have an Azure SQL Database managed instance.
The instance starts experiencing performance issues.
You need to identify which query is causing the issue and retrieve the execution plan for the query. The solution must minimize administrative effort.
What should you use?

  • A. SQL Profiler
  • B. Extended Events
  • C. Query Store
  • D. dynamic management views
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Ciupaz
Highly Voted 2 years, 7 months ago
When you see "must minimize administrative effort", go to DMVs.
upvoted 10 times
palomino
1 year, 9 months ago
https://blobeater.blog/2019/11/20/execution-plans-in-azure-sql-database/
upvoted 1 times
...
...
OBIJUAN88
Highly Voted 2 years ago
Selected Answer: C
Use Query Store to find wait statistics for each query over time. In Query Store, wait types are combined into wait categories. You can find the mapping of wait categories to wait types in sys.query_store_wait_stats. https://learn.microsoft.com/en-us/azure/azure-sql/database/identify-query-performance-issues?view=azuresql
upvoted 6 times
...
voodoo_sh
Most Recent 3 months, 4 weeks ago
Selected Answer: C
In my opinion, Query Store requires less administrative effort. You can simply go to Regressed Queries or Top Resource Consuming Queries, view top queries and their execution plans, easily identify "bad" plans, force "good" plans. With DMV queries, often you would need to write or edit them yourself, and know how to interpret results.
upvoted 1 times
voodoo_sh
3 months, 4 weeks ago
And again this is a question that can have double interpretation. Answer can depend whether they mean performance problems are happening right NOW, or they happened during last few hours or days. If now, you would use DMVs as Query Store doesn't "see" what is happening now. You would need to use DMVs, better sp_WhoIsActive - simply and effective.
upvoted 1 times
...
...
JamC
4 months, 3 weeks ago
Selected Answer: D
It should be DMVs. DMVs have the least overhead administratively.
upvoted 1 times
...
itops_dba
6 months ago
Selected Answer: D
You can have dozens of databases in managed instance. It takes less effort to check DMV then query store of every single database.
upvoted 2 times
...
MVFGrant
6 months, 4 weeks ago
When they say "must minimize administrative effort" you should use a tool to do the work.... DMV is a viable option, but requires operational and administrative work, Query store saves lots of work to do
upvoted 1 times
...
JJJR
1 year ago
Selected Answer: D
I believe this is D: Dynamic Management Views, because you need to see the queries causing the performance issues right now, not the past. Whenever I have to handle a performance issue in real time, I'm grabbing the DMVs, not jumping into Query Store.
upvoted 2 times
Sr18
10 months, 3 weeks ago
I was thinking same, query store has more historical data. DMVs are fast just query and see. Query store need to be enabled,
upvoted 1 times
...
...
Brandon_Marlin
1 year, 2 months ago
Selected Answer: C
I'm not sure why people are brining up "null" jobs. The question only says Performance issues...
upvoted 1 times
...
jddc
1 year, 7 months ago
Selected Answer: D
https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/monitoring-with-dmvs?view=azuresql
upvoted 1 times
...
igorclapa
1 year, 7 months ago
After some further research: Dynamic management views (DMVs) and dynamic management functions (DMFs) return server state information that can be used to monitor the health of a server instance, diagnose problems, and tune performance. https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/system-dynamic-management-views?view=sql-server-ver16
upvoted 1 times
...
igorclapa
1 year, 8 months ago
Status of the request. Can be one of the following values: background rollback running runnable sleeping suspended Not nullable. I believe it is D based on this Microsoft article: https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-exec-requests-transact-sql?view=sql-server-ver16
upvoted 1 times
...
Surjit24
1 year, 8 months ago
Yoy need to enable query store in managed instance so d is close..
upvoted 1 times
...
testdumps2017
1 year, 8 months ago
on a second thought, it should be DMVs. query store saves information about queries that completed (successfully or timed out), not queries currently running and giving us headaches at the present moment.
upvoted 1 times
...
testdumps2017
1 year, 9 months ago
Query Store > Regressed Queries.
upvoted 1 times
...
L33nas
1 year, 11 months ago
Selected Answer: D
The solution must minimize administrative effort
upvoted 3 times
...
guchao2000
2 years ago
C is correct. D is incorrect, as Dynamic Management views does not store Execution Plan
upvoted 2 times
...
kkkiet
2 years, 2 months ago
C. Query Store
upvoted 6 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