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

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 3 question 47 discussion

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

You have an Azure SQL database named DB1 that contains a nonclustered index named index1.

End users report slow queries when they use index1.

You need to identify the operations that are being performed on the index.

Which dynamic management view should you use?

  • A. Sys.dm_exec_query_plan_stats
  • B. Sys.dm_db_index_physical_stats
  • C. Sys.dm_db_index_operational_stats
  • D. Sys.dm_db_index_useage_stats
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Oga_DBA
2 days, 1 hour ago
While sys.dm_db_index_usage_stats tracks logical usage statistics (seeks, scans, lookups, updates), sys.dm_db_index_operational_stats focuses on the actual operations and resource contention, providing a more granular view of index performance and resource utilization.
upvoted 1 times
Oga_DBA
2 days, 1 hour ago
With this I think the answer here is sys.dm_db_index_operational_stats
upvoted 1 times
...
...
Jibss
1 month, 3 weeks ago
D. sys.dm_db_index_usage_stats is correct. https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-index-usage-stats-transact-sql?view=sql-server-ver16 Returns counts of different types of index operations and the time each type of operation was last performed. (This aligns more with the question than ys.dm_db_index_operational_stats).
upvoted 2 times
...
scottytohotty
4 months, 2 weeks ago
Selected Answer: C
C seems the better answer C details : https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-index-operational-stats-transact-sql?view=sql-server-ver16 D details : https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-index-usage-stats-transact-sql?view=sql-server-ver16
upvoted 1 times
...
04db10c
5 months ago
Selected Answer: C
To identify the operations being performed on the nonclustered index named index1 in your Azure SQL database (DB1), you should use the following dynamic management view (DMV): C. Sys.dm_db_index_operational_stats Here’s why this DMV is the correct choice: Sys.dm_db_index_operational_stats: This DMV provides information about the operations performed on an index since the last time SQL Server was started or statistics were cleared. It includes counts of different types of operations, such as seeks, scans, updates, and deletes, which can help you understand how the index is being used by queries. Monitoring Index Usage: By querying Sys.dm_db_index_operational_stats for index1, you can gather insights into whether the index is being utilized efficiently or if there are certain operations (such as scans instead of seeks) that could be impacting query performance.
upvoted 1 times
...
TheSwedishGuy
6 months ago
For diagnosing slow queries and understanding the detailed operations performed on index1, sys.dm_db_index_operational_stats is the correct choice. It gives you the specific operational details that are necessary to identify and troubleshoot performance issues effectively. While sys.dm_db_index_usage_stats is useful for understanding overall usage patterns, it lacks the detailed operational metrics needed for in-depth performance analysis.
upvoted 1 times
...
Bluediamond
11 months, 3 weeks ago
C is the right answer according to Bing Chat
upvoted 1 times
...
VikJo1978
1 year ago
Selected Answer: C
The correct answer is: C. Sys.dm_db_index_operational_stats This dynamic management view contains information about various operations performed on an index, including the number of seeks, inserts, updates, and deletes.
upvoted 1 times
...
Pranava_GCP
1 year, 7 months ago
Selected Answer: D
D. sys.dm_db_index_usage_stats Every individual seek, scan, lookup, or update on the specified index by one query execution is counted as a use of that index and increments the corresponding counter in this view. Information is reported both for operations caused by user-submitted queries, and for operations caused by internally generated queries, such as scans for gathering statistics. https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-db-index-usage-stats-transact-sql?view=sql-server-ver16#remarks
upvoted 2 times
...
U_C
1 year, 7 months ago
C: dm_db_index_operational_stats provides: the information of leaf_insert_count, leaf_delete_count, leaf_update_count D: dm_db_index_useage_stats provides: the information of USER_SEEKS, USER_SCANS, USER_LOOKUPS, USER_UPDATES For the performance tuning, I choose D.
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 ...