nerdexam
Microsoft

DP-203 · Question #8

You are designing a fact table named FactPurchase in an Azure Synapse Analytics dedicated SQL pool. The table contains purchases from suppliers for a retail store. FactPurchase will contain the follow

The correct answer is B. hash-distributed on PurchaseKey. Hash-distributed tables improve query performance on large fact tables. To balance the parallel processing, select a distribution column that: - Has many unique values. The column can have duplicate values. All rows with the same value are assigned to the same distribution. Since

Submitted by rania.sa· Mar 30, 2026Data Warehousing and Business Intelligence

Question

You are designing a fact table named FactPurchase in an Azure Synapse Analytics dedicated SQL pool. The table contains purchases from suppliers for a retail store. FactPurchase will contain the following columns. FactPurchase will have 1 million rows of data added daily and will contain three years of data. Transact-SQL queries similar to the following query will be executed daily. SELECT SupplierKey, StockItemKey, COUNT(*) FROM FactPurchase WHERE DateKey >= 20210101 AND DateKey <= 20210131 GROUP By SupplierKey, StockItemKey Which table distribution will minimize query times?

Exhibit

DP-203 question #8 exhibit

Options

  • Areplicated
  • Bhash-distributed on PurchaseKey
  • Cround-robin
  • Dhash-distributed on DateKey

How the community answered

(25 responses)
  • A
    16% (4)
  • B
    72% (18)
  • C
    8% (2)
  • D
    4% (1)

Explanation

Hash-distributed tables improve query performance on large fact tables. To balance the parallel processing, select a distribution column that: - Has many unique values. The column can have duplicate values. All rows with the same value are assigned to the same distribution. Since there are 60 distributions, some distributions can have > 1 unique values while others may end with zero values. - Does not have NULLs, or has only a few NULLs. - Is not a date column. https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data- warehouse-tables-distribute

Topics

#hash distribution#table distribution#query optimization#Azure Synapse dedicated pool

Community Discussion

No community discussion yet for this question.

Full DP-203 Practice