exam questions

Exam DP-600 All Questions

View all questions & answers for the DP-600 exam

Exam DP-600 topic 1 question 125 discussion

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

You have a Fabric tenant that contains a data warehouse.

You need to load rows into a large Type 2 slowly changing dimension (SCD). The solution must minimize resource usage.

Which T-SQL statement should you use?

  • A. UPDATE AND INSERT
  • B. MERGE
  • C. TRUNCATE TABLE and INSERT
  • D. CREATE TABLE AS SELECT
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
AdventureChick
Highly Voted 7 months, 4 weeks ago
Selected Answer: A
MERGE is not currently supported in Fabric: https://learn.microsoft.com/en-us/fabric/data-warehouse/tsql-surface-area#limitations so it must be UPDATE and INSERT C – TRUNCATE TABLE AND INSERT would eliminate history (which is the whole point of SCD Type 2) D – CREATE TABLE AS SELECT – this can be used for an initial load if the table doesn’t exist, but it won’t work for an SCD Type 2 because it would eliminate retention of historical changes.
upvoted 6 times
Sr18
3 months ago
Update: MERGE support is planned as part of ongoing SQL capabilities improvements in Fabric Warehouse, but: No official ETA has been provided publicly by Microsoft. Based on trends, it is expected sometime in 2025, possibly in H2 2025 SO UPDATE and INSERT
upvoted 2 times
...
...
notsqlbot
Highly Voted 8 months ago
Selected Answer: A
Normally I would say its MERGE. However MERGE is not currently supported by Fabric (I think its due to be GA Q1 2025),so the answer needs to be UPDATE and INSERT.
upvoted 5 times
...
YellowSky002
Most Recent 3 months, 1 week ago
Selected Answer: B
for efficiently managing the inserts and updates required for a large Type 2 SCD while minimizing resource usage, the MERGE statement is the standard and recommended T-SQL approach. The final answer is B
upvoted 1 times
...
Pegooli
8 months, 1 week ago
Selected Answer: B
Merg allow you to do : -Insert new records for changes. -Update existing records to mark them as historical. -Maintain the history of changes efficiently.
upvoted 2 times
...
MultiCloudIronMan
8 months, 2 weeks ago
Selected Answer: B
Its a merge with merge you can define what happens after the merge
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 ...