exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 4 question 8 discussion

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

You have an Azure Synapse Analytics dedicated SQL pool named Pool1 and a database named DB1. DB1 contains a fact table named Table1.
You need to identify the extent of the data skew in Table1.
What should you do in Synapse Studio?

  • A. Connect to the built-in pool and run DBCC PDW_SHOWSPACEUSED.
  • B. Connect to the built-in pool and run DBCC CHECKALLOC.
  • C. Connect to Pool1 and query sys.dm_pdw_node_status.
  • D. Connect to Pool1 and query sys.dm_pdw_nodes_db_partition_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
wuespe
Highly Voted 3 years ago
The right answer is D, I tested it in Synapse and it's the only one that actually runs without an error
upvoted 32 times
nadavw
1 month, 2 weeks ago
Use sys.dm_pdw_nodes_db_partition_stats to analyze any skewness in the data. https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/cheat-sheet#distributed-or-replicated-tables:~:text=Use%20sys.dm_pdw_nodes_db_partition_stats%20to%20analyze%20any%20skewness%20in%20the%20data.
upvoted 1 times
...
...
wijaz789
Highly Voted 3 years, 1 month ago
-- Find data skew for a distributed table DBCC PDW_SHOWSPACEUSED('dbo.FactInternetSales');
upvoted 18 times
ItHYMeRIsh
2 years, 10 months ago
This will only work if you connect to the dedicated pool. The answer you've chosen says you are connecting to the built-in (serverless) pool.
upvoted 11 times
...
...
d046bc0
Most Recent 10 months ago
Selected Answer: D
dm_pdw_nodes_db_partition_stats because we need to verify it on Pool1 (not built-in pool!)
upvoted 2 times
...
kkk5566
1 year, 1 month ago
Selected Answer: D
dm_pdw_nodes_db_partition_stats
upvoted 1 times
kkk5566
1 year, 1 month ago
You can use DBCC PDW_SHOWSPACEUSED to find the skew, however only on dedicated pools.
upvoted 2 times
...
...
vctrhugo
1 year, 3 months ago
Use sys.dm_pdw_nodes_db_partition_stats to analyze any skewness in the data.
upvoted 1 times
vctrhugo
1 year, 3 months ago
https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/cheat-sheet#distributed-or-replicated-tables
upvoted 1 times
...
...
aemilka
1 year, 6 months ago
Selected Answer: D
Correct answer is D. A quick way to check for data skew is to use DBCC PDW_SHOWSPACEUSED, but DBCC PDW_SHOWSPACEUSED is not supported by serverless SQL pool in Azure Synapse Analytics. So A option can't be performed. https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-tables-distribute The only correct option here is to check sys.dm_pdw_nodes_db_partition_stats using dedicated SQL pool. https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/cheat-sheet
upvoted 2 times
JG1984
1 year, 3 months ago
DBCC PDW_SHOWSPACEUSED is a command that can be used to show space usage information for a Database in an Azure Synapse Analytics dedicated SQL pool. However, it is not the best option for identifying data skew in a specific table.
upvoted 2 times
...
...
Okea
1 year, 8 months ago
A quick way to check for data skew is to use DBCC PDW_SHOWSPACEUSED. https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-tables-distribute
upvoted 2 times
...
Lestrang
1 year, 8 months ago
This has been explained by others, but not clear enough to get it. I certainly had to look around and ponder for a bit. So, to give a more lucid explanation for why this is D and why the later question is DBCC PDW_SHOWSPACEUSED , it comes down to the small differences. You can use DBCC PDW_SHOWSPACEUSED to find the skew, however only on dedicated pools. Well if you are like me, you would be shouting WELLL THE QUESTION SAID DEDICATED POOL DUH. But if you read it carefully, it says connect to the "built-in pool" AKA serverless pool and run DBCC PDW_SHOWSPACEUSED. Well, we ain't in a serverless pool are we? so that leaves D as the solution. in the other question the given answers are so A. Connect to Pool1 and run DBCC PDW_SHOWSPACEUSED. B. Connect to the built-in pool and run DBCC PDW_SHOWSPACEUSED. C. Connect to Pool1 and run DBCC CHECKALLOC. D. Connect to the built-in pool and query sys.dm_pdw_sys_info. Here we see that db_partition_stats is in a built in, which is a no go, so obviously we use PDW_SHOWSPACEUSED. Hopefully this help any airheaded kindred spirits.
upvoted 11 times
...
youngbug
1 year, 9 months ago
A is a quicker way, but you can run DBCC in a serverless SQL pool, the built-in pool.
upvoted 2 times
...
steve7
1 year, 9 months ago
Right answer is A. DBCC PDW_SHOWSPACEUSED. google it
upvoted 1 times
...
Deeksha1234
2 years, 2 months ago
Selected Answer: D
D is correct
upvoted 4 times
...
Franz58
2 years, 2 months ago
I think that first we need to connect to Pool 1, this excludes the first two options (and especially DBCC PDW_SHOWSPACEUSED). In the other two options, after connecting to Pool1, we execute query sys.dm_pdw_nodes_db_partition_stats.
upvoted 1 times
...
StudentFromAus
2 years, 3 months ago
Selected Answer: D
For dedicated SQL Pool this is the correct answer. https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/cheat-sheet
upvoted 2 times
...
Andushi
2 years, 5 months ago
Selected Answer: D
Use sys.dm_pdw_nodes_db_partition_stats to analyze any skewness in the data. ref: https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/cheat-sheet
upvoted 4 times
...
FelixI
2 years, 5 months ago
Selected Answer: A
DBCC PDW_SHOWSPACEUSED
upvoted 1 times
...
AlCubeHead
2 years, 6 months ago
Selected Answer: A
Firstly, this is for DEDICATED SQL Pool. Here is what both likely outputs give you: sys.dm_pdw_nodes_db_partition_stats: object_id, partition_id, in_row_data_page_count, in_row_used_page_count These columns are not useful in identifying skew However, if you're using PDW_SHOWSPACEUSED: ROWS, RESERVED_SPACE, DATA_SPACE, INDEX_SPACE, UNUSED_SPACE These columns are definitely useful in identifying skew as you can calculate the Space allocation per row and look at any unused space
upvoted 1 times
...
ladywhiteadder
2 years, 6 months ago
Selected Answer: D
A does not work as in this answer we connect to the build in pool NOT the dedicated pool. This leaves D as valid option
upvoted 3 times
AlCubeHead
2 years, 6 months ago
The question specifies dedicated Pool NOT Built-in Pool, so it is A
upvoted 1 times
Amsterliese
2 years, 6 months ago
Please read the answer options carefully. In options A + B, you connect to the serverless SQL pool, in options C + D, you connect to the dedicated SQL pool.
upvoted 4 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