exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 1 question 33 discussion

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

You have an Azure Synapse Analytics dedicated SQL pool named Pool1. Pool1 contains a partitioned fact table named dbo.Sales and a staging table named stg.Sales that has the matching table and partition definitions.
You need to overwrite the content of the first partition in dbo.Sales with the content of the same partition in stg.Sales. The solution must minimize load times.
What should you do?

  • A. Insert the data from stg.Sales into dbo.Sales.
  • B. Switch the first partition from dbo.Sales to stg.Sales.
  • C. Switch the first partition from stg.Sales to dbo.Sales.
  • D. Update dbo.Sales from stg.Sales.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Aslam208
Highly Voted 3 years, 4 months ago
Selected Answer: C
The correct answer is C
upvoted 73 times
...
Nifl91
Highly Voted 3 years, 4 months ago
this must be C. since the need is to overwrite dbo.Sales with the content of stg.Sales. SWITCH source TO target
upvoted 36 times
...
moize
Most Recent 5 months ago
Selected Answer: C
Pour remplacer le contenu de la première partition dans dbo.Sales par le contenu de la même partition dans stg.Sales tout en minimisant les temps de chargement, vous devez basculer la première partition de stg.Sales vers dbo.Sales (C). Cette méthode est efficace car elle utilise le basculement de partition, qui est une opération rapide et minimise les temps d'arrêt et de chargement par rapport à l'insertion ou à la mise à jour des données.
upvoted 1 times
...
EmnCours
5 months ago
Selected Answer: C
Correct Answer: C
upvoted 1 times
...
AmitJais
5 months, 1 week ago
Selected Answer: C
The correct answer is C
upvoted 1 times
...
xac123
7 months, 3 weeks ago
Selected Answer: B
As switching partition does not involve movement of data, dbo.sales partition should be switched to the partition of stg.Sales so that partition from stg.Sales will be available in dbo.Sales
upvoted 2 times
...
devereux
8 months ago
Selected Answer: C
must be c
upvoted 1 times
...
SheShanD
8 months, 1 week ago
Selected Answer: C
it's C
upvoted 1 times
...
roopansh.gupta2
8 months, 2 weeks ago
Selected Answer: C
(C) because By switching the first partition from stg.Sales to dbo.Sales, you effectively replace the content of the first partition in dbo.Sales with the content of the corresponding partition in stg.Sales. This approach ensures that the partition in dbo.Sales is updated almost instantly, with minimal load time. Incorrect Options: A. Insert the data: Inserting data into dbo.Sales from stg.Sales would involve more overhead, as it requires data movement and processing, which can be time-consuming. B. Switch the first partition from dbo.Sales to stg.Sales: This would move the data out of dbo.Sales but would not achieve the goal of updating dbo.Sales with the data from stg.Sales. D. Update dbo.Sales: Updating the data would involve reading and writing the data, which would take significantly more time compared to partition switching.
upvoted 2 times
...
Okkier
10 months ago
Selected Answer: C
SWITCH [ PARTITION source_partition_number_expression ] TO [ schema_name. ] target_table [ PARTITION target_partition_number_expression ] SOURCE TO DETENTION
upvoted 1 times
...
binhdortmund
10 months, 1 week ago
actually B is correct. We have to understand the sentence as: Change the content of the first partition of dbo.Sales with the content of the first partition of stage.Sales. Thus, switch the content of first partition of dbo.Sales to/with the first partition of stage.Sales.
upvoted 1 times
...
ageorgieva
10 months, 2 weeks ago
Selected Answer: C
Logical is C
upvoted 1 times
...
Dusica
1 year ago
B is correct ALTER TABLE FactInternetSales SWITCH PARTITION 2 TO FactInternetSales_20000101 PARTITION 2; ALTER TABLE FactInternetSales SPLIT RANGE (20010101); https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-tables-partition?context=%2Fazure%2Fsynapse-analytics%2Fcontext%2Fcontext
upvoted 2 times
...
[Removed]
1 year ago
Response is B
upvoted 1 times
...
dgerok
1 year ago
Selected Answer: C
The correct answer is C
upvoted 1 times
...
6152ee4
1 year ago
switch the first partition of sales to stage.sales's partition
upvoted 1 times
...
6152ee4
1 year ago
it is the way on wording....tricky. might be not native speaker or they shall ask differt way...
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