exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 4 question 28 discussion

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

You have an Azure Synapse Analytics dedicated SQL pool named SA1 that contains a table named Table1.
You need to identify tables that have a high percentage of deleted rows.
What should you run?

  • A. sys.pdw_nodes_column_store_segments
  • B. sys.dm_db_column_store_row_group_operational_stats
  • C. sys.pdw_nodes_column_store_row_groups
  • D. sys.dm_db_column_store_row_group_physical_stats
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
greenlever
Highly Voted 2 years, 9 months ago
Selected Answer: C
has a column for the total number of rows physically stored (including those marked as deleted) and a column for the number of rows marked as deleted. Use sys.pdw_nodes_column_store_row_groups to determine which row groups have a high percentage of deleted rows and should be rebuilt
upvoted 8 times
...
hypersam
Most Recent 5 months, 2 weeks ago
Selected Answer: C
"Use sys.pdw_nodes_column_store_row_groups to determine which row groups have a high percentage of deleted rows and should be rebuilt." https://learn.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-pdw-nodes-column-store-row-groups-transact-sql?view=aps-pdw-2016-au7
upvoted 1 times
...
de_examtopics
7 months, 2 weeks ago
Selected Answer: D
D. sys.dm_db_column_store_row_group_physical_stats is most appropriate. This view provides information about the physical state of columnstore row groups, including the percentage of deleted rows.
upvoted 1 times
...
e56bb91
1 year ago
Selected Answer: D
ChatGPT 4o code: WITH RowGroupStats AS ( SELECT OBJECT_NAME(t.object_id) AS TableName, t.name AS IndexName, p.partition_number AS PartitionNumber, rg.row_group_id AS RowGroupID, rg.total_rows, rg.deleted_rows, rg.deleted_rows * 1.0 / NULLIF(rg.total_rows, 0) AS DeletedRowPercentage FROM sys.dm_db_column_store_row_group_physical_stats AS rg JOIN sys.partitions AS p ON rg.partition_id = p.partition_id JOIN sys.indexes AS t ON p.object_id = t.object_id AND p.index_id = t.index_id ) SELECT TableName, IndexName, PartitionNumber, AVG(DeletedRowPercentage) AS AvgDeletedRowPercentage FROM RowGroupStats GROUP BY TableName, IndexName, PartitionNumber HAVING AVG(DeletedRowPercentage) > 0.1 -- Adjust this threshold as needed ORDER BY AvgDeletedRowPercentage DESC;
upvoted 1 times
...
Alongi
1 year, 3 months ago
Selected Answer: C
The system views starting with "sys.dm_db_" are specific to SQL Server and provide information about the database and server activities, while the system views starting with "sys.pdw_nodes_" are specific to Azure Synapse and provide information about the distribution and performance in the Parallel Data Warehouse distributed storage environment. According to that, C is correct.
upvoted 1 times
Alongi
1 year, 3 months ago
Sorry, D is Correct !
upvoted 2 times
...
...
d046bc0
1 year, 7 months ago
Selected Answer: D
https://learn.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-pdw-nodes-column-store-row-groups-transact-sql?view=aps-pdw-2016-au7
upvoted 2 times
...
kkk5566
1 year, 10 months ago
Selected Answer: D
D is corrct
upvoted 2 times
kkk5566
1 year, 10 months ago
change to C https://learn.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-pdw-nodes-column-store-row-groups-transact-sql?view=aps-pdw-2016-au7
upvoted 4 times
...
...
andie123
1 year, 11 months ago
Selected Answer: D
D is correct answer
upvoted 1 times
...
andie123
1 year, 11 months ago
The sys.dm_db_column_store_row_group_physical_stats dynamic management view provides information about the physical characteristics of row groups in columnstore indexes, including the number of deleted rows in each row group. You can use this view to identify tables that have a high percentage of deleted rows by calculating the ratio of deleted rows to total rows for each table. -> D is the answer
upvoted 1 times
...
vctrhugo
2 years ago
Selected Answer: C
Use sys.pdw_nodes_column_store_row_groups to determine which row groups have a high percentage of deleted rows and should be rebuilt. https://learn.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-pdw-nodes-column-store-row-groups-transact-sql?view=aps-pdw-2016-au7
upvoted 2 times
...
dimbrici
2 years, 8 months ago
Selected Answer: C
C is the correct Answer !
upvoted 3 times
...
anks84
2 years, 10 months ago
Selected Answer: C
C is the correct Answer !
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 ...