DP-201 Exam QuestionsBrowse all questions from this exam

DP-201 Exam - Question 36


HOTSPOT -

You are designing an enterprise data warehouse in Azure Synapse Analytics that will store website traffic analytic in a star schema.

You plan to have a fact table for website visits. The table will be approximately 5 GB.

You need to recommend which distribution type and index type to use for the table. The solution must provide the fastest query performance.

What should you recommend? To answer, select the appropriate options in the answer area

NOTE: Each correct selection is worth one point.

Hot Area:

Exam DP-201 Question 36
Show Answer
Correct Answer:
Exam DP-201 Question 36

Reference:

https://docs.microsoft.com/en-us/azure/sql-data-warehouse/sql-data-warehouse-tables-distribute https://docs.microsoft.com/en-us/azure/sql-data-warehouse/sql-data-warehouse-tables-index

Discussion

3 comments
Sign in to comment
dbdev
May 18, 2021

The answer is straightforward and correct. Even, there is no need to put a comment here.

Pairon
Mar 23, 2021

Shouldn't be "Round Robin" in the first box? Isn't it more efficient compared to "Hash" since avoids computing the partitions?

bdloko
Apr 3, 2021

Hash for performance requirement

anamaster
Apr 17, 2021

no, since "The solution must provide the fastest query performance."

cadio30
May 21, 2021

round-robin is use in staging tables

eurekamike
Jun 28, 2021

loading time: round robin query time: hash

aksoumi
Apr 6, 2021

How should we decide if it is clustered or a non clustered index? Usually if there are over a million rows (or more than 60 million rows) we use clustered index, but these aren't mentioned in question.

Apox
Apr 26, 2021

Clustered indexes and non-clustered indexes only outperform clustered columnstore indexes when a single row needs to be quickly retrieved with extreme speed. So, for highly selective filters this is the right choice. Since this is a star schema where filters may vary, clustered columnstore indexes are the better choice as this generally provides the best overall query performance (and is best for large tables).

BigMF
Jun 9, 2021

The question also mentions analytics implying that it is not intended for “single row” queries. So, I agree with this reasoning.

BigMF
Jun 9, 2021

The question also mentions analytics implying that it is not intended for “single row” queries. So, I agree with this reasoning.