exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 1 question 88 discussion

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

DRAG DROP
-

You have a data warehouse.

You need to implement a slowly changing dimension (SCD) named Product that will include three columns named ProductName, ProductColor, and ProductSize. The solution must meet the following requirements:

• Prevent changes to the values stored in ProductName.
• Retain only the current and the last values in ProductSize.
• Retain all the current and previous values in ProductColor.

Which type of SCD should you implement for each column? To answer, drag the appropriate types to the correct columns. Each type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
Ram0202
Highly Voted 1 year, 8 months ago
Product name -type 0 color -type 2 size -type 3
upvoted 111 times
...
andjurovicela
Highly Voted 1 year, 8 months ago
ProductName - type 0, as no changes are done. Color - type 3, as with type 3 we have one column for the current value and one for the previous so only these two are preserved. Size - type 2, as it inserts a new row for every change, so we get all historical values.
upvoted 38 times
hiyoww
1 year, 7 months ago
Agree. beware that the order of ProductSize, ProductColor in the question, not same as in the graph. Product name -type 0 color -type 3 size -type 2
upvoted 20 times
...
...
samirarian
Most Recent 2 days, 4 hours ago
Column Requirement SCD Type ProductName Prevent changes (No updates allowed) SCD Type 0 ProductSize Retain only the current and last value SCD Type 3 ProductColor Retain all historical values SCD Type 2
upvoted 2 times
...
Piantoni
2 months, 3 weeks ago
ProductName: Type 0 Color: Type 2 Size: Type3
upvoted 1 times
...
j888
1 year ago
Type 1: Overwrite the existing data with new data, without maintaining a history. This is suitable when you want to prevent changes to the values stored in a column. Type 2: Keep a history of changes by adding new rows for each change. This is suitable for retaining all the current and previous values in a column. Type 3: Keep a limited history, typically by adding new columns to the dimension table to store both the current and previous values. This allows you to track changes but in a more compact way compared to Type 2. Therefore I believe the answer is 0 3 2
upvoted 2 times
j888
1 year ago
I made a typo. My answer should be as follow ProductName: 0 Color: 2 Size: 3
upvoted 5 times
...
...
rocky48
1 year ago
ProductName: To prevent changes to the values stored in ProductName, we should use Type 0. This means that the value remains static and does not change over time. ProductColor: Since we need to retain all the current and previous values in ProductColor, we should use Type 2. This type allows us to track historical changes by creating new rows for each change and maintaining a history of values. ProductSize: To retain only the current and last values in ProductSize, we should use Type 3. This type keeps track of the current value and the previous value in separate columns. Therefore, the correct SCD types for the three columns are as follows: ProductName: Type 0 ProductColor: Type 2 ProductSize: Type 3
upvoted 5 times
...
moneytime
1 year ago
Product : Type 0 :No change (This eliminates possibilities of Type 1,2 and other higher dimensions Colour : Type 1 or 2 ;There is a change which can be rowise(type 1) or column wise(Type 2) Size :Type 3 ; All changes means both rowise and column wise
upvoted 1 times
...
Momoanwar
1 year, 2 months ago
For the given requirements: - **Product Name**: Since changes must be prevented, this would be a Type 0 SCD, as it maintains the original value without any changes. - **Product Size**: To retain only the current and the last values, you would use a Type 3 SCD, which keeps the original value and adds a new column for the current value. - **Product Color**: To retain all the current and previous values, a Type 2 SCD is used, as it tracks historical data by creating a new record for each change. So, you would apply: - Type 0 for ProductName - Type 3 for ProductSize - Type 2 for ProductColor
upvoted 6 times
...
Vanq69
1 year, 4 months ago
Name: 0 Fixed Dimension Color: 2 Row Versioning (current + last value) Size: 3 Previous Value column (current value + all previous values in extra column)
upvoted 5 times
Vanq69
1 year, 4 months ago
I meant Name: 0 Color: 3 Size: 2
upvoted 5 times
...
...
kkk5566
1 year, 5 months ago
SCD0-1-2
upvoted 3 times
...
hassexat
1 year, 5 months ago
Product Name - Type 0 Color - Type 2 Size - Type 3
upvoted 2 times
...
AvSUN
1 year, 5 months ago
The answers are 0, 3, 2
upvoted 2 times
AvSUN
1 year, 5 months ago
ProductName - 0 ProductColor - 3 ProductSize - 2
upvoted 2 times
AvSUN
1 year, 5 months ago
The requirements and blanks are out of order in the question
upvoted 2 times
...
Lucasmh
1 year, 2 months ago
ProductColor cannot be Type3 since it indicates that it has to preserve all current and previous values ​​so Type3 It only preserves the current and previous value without maintaining a complete history. For me it is: ProductName: Type0 Color: Type2 Size: Type3
upvoted 4 times
...
...
...
Deeksha1234
1 year, 6 months ago
correct answer is - type 0, type 3,type 2
upvoted 4 times
...
akhil5432
1 year, 6 months ago
type 0 type 3 type 2
upvoted 3 times
...
ravigolu
1 year, 7 months ago
Answer is Product name -type 0 color -type 2 size -type 3 Type 0 – Fixed Dimension No changes allowed, dimension never changes A Type 1 SCD always reflects the latest values, and when changes in source data are detected, the dimension table data is overwritten. Type 2 SCD A Type 2 SCD supports versioning of dimension members. Often the source system doesn't store versions, so the data warehouse load process detects and manages changes in a dimension table. Type 3 SCD A Type 3 SCD supports storing two versions of a dimension member as separate columns. The table includes a column for the current value of a member plus either the original or previous value of the member. So Type 3 uses additional columns to track one key instance of history, rather than storing additional rows to track each change like in a Type 2 SCD.
upvoted 9 times
...
auwia
1 year, 7 months ago
Answer are corrects as reported in the solution: 0, 1, and 2.
upvoted 3 times
...
auwia
1 year, 7 months ago
• Prevent changes to the values stored in ProductName. => TYPE 0 • Retain only the current and the last values in ProductSize. => TYPE 2 (current and last, menas all the history) • Retain all the current and previous values in ProductColor. => TYPE 3 (it includes a column for the previous value)
upvoted 4 times
auwia
1 year, 7 months ago
• Retain only the current and the last values in ProductSize. => TYPE 1 (current and last, DOESN'T means all the history, but as written only the last ... meaning the current). https://learn.microsoft.com/en-us/training/modules/load-optimize-data-into-relational-data-warehouse/5-load-slowly-changing-dimensions
upvoted 2 times
...
auwia
1 year, 7 months ago
Retain all the current and previous values in ProductColor. => TYPE 2 (because the plural in the requirement: previous values, probably it means all the history). Concluding the answers provided are correct :)
upvoted 2 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