exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 1 question 101 discussion

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

HOTSPOT
-

You have an Azure Synapse Analytics dedicated SQL pool named Pool1. Pool1 contains a fact table named Table1. Table1 contains sales data. Sixty-five million rows of data are added to Table1 monthly.

At the end of each month, you need to remove data that is older than 36 months. The solution must minimize how long it takes to remove the data.

How should you partition Table1, and how should you remove the old data? 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
jongert
Highly Voted 1 year, 5 months ago
Correct, dedicated SQL pool divides partitions into 60 databases and should aim for at least 1M rows per distribution (although not mentioned in the question, clustered columnstore compression becomes efficient at this scale). Therefore, partitioning by day would result in too small partitions. Having partitioned by months, we can use switch to move it using metadata operations only, which makes the operation extremely efficient.
upvoted 10 times
...
DataSturdy
Most Recent 8 months, 3 weeks ago
why not just truncate the oldest partition
upvoted 1 times
...
Kryor
11 months ago
Should you migrate the partition another table, delete the data from the main table, migrate again the partition and the drop table2?
upvoted 1 times
...
Dusica
1 year, 1 month ago
correct
upvoted 1 times
...
swathi_rs
1 year, 1 month ago
correct !
upvoted 1 times
...
Alongi
1 year, 2 months ago
Correct
upvoted 2 times
...
vernillen
1 year, 4 months ago
Correct
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 ...