exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 2 question 15 discussion

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

You need to implement a Type 3 slowly changing dimension (SCD) for product category data in an Azure Synapse Analytics dedicated SQL pool.
You have a table that was created by using the following Transact-SQL statement.

Which two columns should you add to the table? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. [EffectiveStartDate] [datetime] NOT NULL,
  • B. [CurrentProductCategory] [nvarchar] (100) NOT NULL,
  • C. [EffectiveEndDate] [datetime] NULL,
  • D. [ProductCategory] [nvarchar] (100) NOT NULL,
  • E. [OriginalProductCategory] [nvarchar] (100) NOT NULL,
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️

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
Maunik
Highly Voted 3 years, 2 months ago
Correct answer
upvoted 29 times
...
lukeonline
Highly Voted 2 years, 10 months ago
Selected Answer: BE
Why can't the name of the current ProductCategory be just "ProductCategory"? I would say that D and E could be also correct.
upvoted 14 times
Dicer
2 years, 3 months ago
because if you look at Type 3 examples, usually there are "original" and "current".
upvoted 9 times
...
...
sdg2844
Most Recent 9 months, 4 weeks ago
Selected Answer: BE
This is correct. The ProductCategory may represent a current product category or an original one, but we don't know. Wording on this question is a little off.
upvoted 1 times
...
kkk5566
1 year, 2 months ago
Selected Answer: BE
BE is Correct
upvoted 1 times
...
Ankit_Az
1 year, 5 months ago
Selected Answer: BE
Correct
upvoted 1 times
...
esaade
1 year, 8 months ago
To implement a Type 3 slowly changing dimension (SCD) for product category data in an Azure Synapse Analytics dedicated SQL pool and add the required columns to the existing table, you should add the following columns: A. [EffectiveStartDate] [datetime] NOT NULL, to track the start date of the current product category value. D. [ProductCategory] [nvarchar] (100) NOT NULL, to store the current product category value. Explanation: A Type 3 SCD tracks both the current and previous values of a column. For the product category data, you need to store the current product category value, as well as the previous/original value. To achieve this, you need to add the following columns to the existing table: A. [EffectiveStartDate] [datetime] NOT NULL, to track the start date of the current product category value. This column will store the date when the current product category value became effective. D. [ProductCategory] [nvarchar] (100) NOT NULL, to store the current product category value. This column will contain the most recent value for the product category.
upvoted 1 times
...
UristMcFarmer
1 year, 10 months ago
Selected Answer: BE
BE is how you should answer, but in reality DE is better. The end user / analyst shouldn't have to remember "oh, this is a Type 3 SCD field so I need to look under 'C' for CurrentProductCategory instead of 'P' for ProductCategory."
upvoted 1 times
...
vrodriguesp
1 year, 10 months ago
Microsoft documentation is pretty confusing (https://learn.microsoft.com/en-us/training/modules/populate-slowly-changing-dimensions-azure-synapse-analytics-pipelines/3-choose-between-dimension-types) pictures have no sense. I find at this link a good explanation: https://medium.com/geekculture/6-different-types-of-slowly-changing-dimensions-and-how-to-apply-them-b152ef908d4e
upvoted 1 times
...
SomethingRight100
1 year, 11 months ago
This is the same question as Question #59Topic 1
upvoted 5 times
...
anks84
2 years, 2 months ago
Selected Answer: BE
Given Answer is correct !!
upvoted 1 times
...
Deeksha1234
2 years, 3 months ago
BE is correct
upvoted 1 times
...
Sriramiyer92
2 years, 3 months ago
Right Answer!
upvoted 1 times
...
Fishy_Marcy
2 years, 4 months ago
the explanation is confusing as email is more likely to be a type2 change, it is also confusing as we need to add the "original" category (it should already be there as ProductCategory right?). So my first guess was only to add ProductCategory, but that would not be a scd change, only an initialization of a variable that could be subject to a scd-3 change. SO I guess the only viable option is adding "original" and "new" categories. I do not like scd3 type changes anyway, maybe there should be a special scd type2 historized scdtype3 dimension ? Okay, too much, lets stick with this answer BE (It says that the change is also metioning the Previous ProductCategory key wasn't there yet, but should have been)
upvoted 1 times
...
Egocentric
2 years, 6 months ago
BE is correct
upvoted 1 times
...
SebK
2 years, 7 months ago
Selected Answer: BE
Correct
upvoted 1 times
...
VeroDon
2 years, 10 months ago
correct
upvoted 1 times
...
dija123
2 years, 11 months ago
Selected Answer: BE
B and E
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