exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 1 question 100 discussion

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

You are implementing a star schema in an Azure Synapse Analytics dedicated SQL pool.

You plan to create a table named DimProduct.

DimProduct must be a Type 3 slowly changing dimension (SCD) table that meets the following requirements:

• The values in two columns named ProductKey and ProductSourceID will remain the same.
• The values in three columns named ProductName, ProductDescription, and Color can change.

You need to add additional columns to complete the following table definition.



Which three columns should you add? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

  • A. [EffectiveStartDate] [datetime] NOT NULL
  • B. [EffectiveEndDate] [datetime] NOT NULL
  • C. [OriginalProductDescription] NVARCHAR(2000) NOT NULL
  • D. [IsCurrentRow] [bit] NOT NULL
  • E. [OriginalColor] NVARCHAR(50) NOT NULL
  • F. [OriginalProductName] NVARCHAR(100) NULL
Show Suggested Answer Hide Answer
Suggested Answer: CEF 🗳️

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
dakku987
Highly Voted 1 year, 4 months ago
Selected Answer: CEF
CEF IS CORRECT
upvoted 5 times
...
nockda
Most Recent 4 months, 2 weeks ago
Selected Answer: ABD
A Type 3 Slowly Changing Dimension (SCD) table stores both historical and current values. When a change occurs, it requires effective dates (start/end) and a flag column to indicate the current state.
upvoted 1 times
...
ff5037f
6 months, 1 week ago
Selected Answer: CEF
date columns are not mandatory in type 3. we have to store old and new values in type 3 scenario
upvoted 1 times
...
ivarozelin
10 months, 2 weeks ago
The key here is that the 3 columns can change. In Type SCD tables, we need to track the old and the new values by adding a new column that explicitly says it is the new value. For example, we will leave column Color and will add additional column with name NewColor.
upvoted 2 times
...
Dusica
1 year ago
C D F is correct for type 3 A B D would be type 2
upvoted 1 times
...
Khadija10
1 year, 2 months ago
Selected Answer: CEF
correct answer
upvoted 2 times
...
jimoskar
1 year, 3 months ago
yes cef!
upvoted 1 times
...
d046bc0
1 year, 4 months ago
Selected Answer: CEF
correct
upvoted 4 times
...
Lucasmh
1 year, 4 months ago
The proposed solution is incorrect and corresponds to a type 2 scd, not 3. For it to be a type 3 scd, the start and end date of the change is needed along with the current value.
upvoted 4 times
Kapello10
1 year, 4 months ago
You dont need start and end date for a type 3 scd In Type 3 Slowly Changing Dimension, there will be two columns to indicate the particular attribute of interest, one indicating the original value, and one indicating the current value. CEF is correct
upvoted 7 times
...
...
metiii
1 year, 5 months ago
Selected Answer: CEF
Correct. The other three options are needed for a scd type 2 table.
upvoted 3 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