ExamQuestions.com

Register
Login
Data Engineering on Microsoft Azure (DP-203) Exam Questions

Microsoft

Data Engineering on Microsoft Azure (DP-203)

139 / 240

Question 139:

You work for a famous electronics company that is starting an online store for devices. You are using a dedicated SQL pool. Your team members have a statement that will create a hash distributed table as follows. 
<pre>CREATE TABLE [dbo].[OnlineSales]
( [ProductID]intNOT NULL
, [DateKey]intNOT NULL
, [CustomerID] intNOT NULL
, [DiscountCode]intNOT NULL
, [SalesOrderNumber]nvarchar(20) NOT NULL
, [QuantityNumber] smallint NOT NULL
, [UnitPrice] moneyNOT NULL
, [TotalAmount] moneyNOT NULL
)
WITH
( CLUSTERED COLUMNSTORE INDEX
,DISTRIBUTION = HASH([XXXXX])
)
;</pre>
Which of the following will be the most suitable distribution column?

Answer options:

A.DateKey
B.DiscountCode
C.ProductID
D.QuantityNumber