exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 3 question 50 discussion

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

You have an Azure SQL database named DB1.

You need to query the fragmentation information of data and indexes for the tables in DB1.

Which command should you run?

  • A. sys.dm_db_index_usage_stats
  • B. DBCC CHECKALLOC
  • C. DBCC SHOWCONTIG
  • D. sts.dm_db_index_physical_stats
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
nano0511
Highly Voted 9 months, 2 weeks ago
Selected Answer: D
it's misspelled, sys.dm_db_index_physical_stats
upvoted 7 times
...
voodoo_sh
Most Recent 3 months, 2 weeks ago
Selected Answer: C
again, tricky or badly worked question. It says COMMAND, so you would go with C since it is a console command: DBCC SHOWCONTIG WITH TABLERESULTS, ALL_INDEXES; sys.dm_db_index_physical_stats is not a command but a DMF. It replaces the DBCC SHOWCONTIG. Later is deprecated.
upvoted 1 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