exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 1 question 82 discussion

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

HOTSPOT
-

You are developing an Azure Synapse Analytics pipeline that will include a mapping data flow named Dataflow1. Dataflow1 will read customer data from an external source and use a Type 1 slowly changing dimension (SCD) when loading the data into a table named DimCustomer in an Azure Synapse Analytics dedicated SQL pool.

You need to ensure that Dataflow1 can perform the following tasks:

• Detect whether the data of a given customer has changed in the DimCustomer table.
• Perform an upsert to the DimCustomer table.

Which type of transformation should you use for each task? To answer, select the appropriate options in the answer area.

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
aemilka
Highly Voted 1 year, 5 months ago
The answer is correct. Check "Exercise - Design and implement a Type 1 slowly changing dimension with mapping data flows", there is described implementation of the dataflow mentioned in this question. https://learn.microsoft.com/en-us/training/modules/populate-slowly-changing-dimensions-azure-synapse-analytics-pipelines/4-exercise-design-implement-type-1-dimension In the exercise 'Derived column' transformation is used to add InsertedDate and ModifiedDate columns. ModifiedDate column can be used to detect whether the customer data has changed. For Upsert 'Alter row' tranformation is used. The answer is definitely correct.
upvoted 29 times
...
bakamon
Highly Voted 1 year, 5 months ago
Answer is correct.. 1) we don't need a surrogate key in SCD type 1. you can use a Derived Column transformation to compare the incoming data with the existing data in the DimCustomer table and detect changes.. Statement 2: To perform an upsert to the DimCustomer table, you should use an Alter Row transformation. This transformation can be used to specify the actions to take for each row of data, such as inserting new rows or updating existing rows. The current web page context is empty.
upvoted 7 times
...
Alongi
Most Recent 6 months ago
I found this question on my exam 30/04/2024, and I put: - derived column - alter row I passed the exam with a high score, but I'm not sure if the answer is correct.
upvoted 7 times
...
moneytime
9 months, 1 week ago
Aggregate and alter row. Aggregate will give table statistics which reveals information on max.minimum,sum ,average etc. While alter row encompasses ,update & insert which are upset operations
upvoted 3 times
...
kkk5566
1 year, 2 months ago
'Derived column' &'Alter row'
upvoted 1 times
...
Deeksha1234
1 year, 2 months ago
answer is correct
upvoted 1 times
...
rocky48
1 year, 5 months ago
'Derived column' & 'Alter row'
upvoted 2 times
...
haythemsi
1 year, 5 months ago
surrogate key and assert
upvoted 2 times
...
nicololmen
1 year, 5 months ago
surrogate key and alter row according to chatgpt
upvoted 2 times
...
[Removed]
1 year, 6 months ago
It should be aggregate and alter row As we talking Type 1 slowly changing dimension, we want to replace the current row with the updated one. This can be achieved by aggregate. "A common use of the aggregate transformation is removing or identifying duplicate entries in source data. This process is known as deduplication. Based upon a set of group by keys, use a heuristic of your choosing to determine which duplicate row to keep. Common heuristics are first(), last(), max(), and min(). Use column patterns to apply the rule to every column except for the group by columns." As in https://learn.microsoft.com/en-us/azure/data-factory/data-flow-aggregate Alter row is correct: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-alter-row#merges-and-upserts-with-azure-sql-database-and-azure-synapse
upvoted 1 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