exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 1 question 97 discussion

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

You have an Azure Synapse Analytics workspace that contains an Apache Spark pool named SparkPool1. SparkPool1 contains a Delta Lake table named SparkTable1.

You need to recommend a solution that supports Transact-SQL queries against the data referenced by SparkTable1. The solution must ensure that the queries can use partition elimination.

What should you include in the recommendation?

  • A. a partitioned table in a dedicated SQL pool
  • B. a partitioned view in a dedicated SQL pool
  • C. a partitioned index in a dedicated SQL pool
  • D. a partitioned view in a serverless SQL pool
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
fahfouhi94
9 months, 2 weeks ago
Selected Answer: D
from this link : https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/develop-tables-external-tables?tabs=hadoop Partition elimination is available only in the partitioned tables created on Parquet or CSV formats that are synchronized from Apache Spark pools. You might create external tables on Parquet partitioned folders, but the partitioning columns are inaccessible and ignored, while the partition elimination won't be applied. Don't create external tables on Delta Lake folders because they aren't supported. Use Delta partitioned views if you need to query partitioned Delta Lake data.
upvoted 3 times
...
Dusica
1 year ago
D is correct the keyword here is: "Delta Lake table named SparkTable1" here is how partitioned view works: https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/create-use-views#partitioned-views And this link shows that dedicated pool does not talk to delta table: https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/develop-tables-external-tables?tabs=hadoop
upvoted 1 times
...
mahmoud_salah30
1 year, 1 month ago
Partition elimination is available only in the partitioned tables created on Parquet or CSV formats that are synchronized from Apache Spark pools."https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/develop-tables-external-tables?tabs=hadoop "
upvoted 1 times
...
Alongi
1 year, 2 months ago
Selected Answer: A
Only partitioned Table can support partition elimination, so the answer should be A
upvoted 4 times
...
mariano2
1 year, 3 months ago
The folder partition elimination is available in the native external tables that are synchronized from the Synapse Spark pools. If you have partitioned data set and you would like to leverage the partition elimination with the external tables that you create, use the partitioned views instead of the external tables.
upvoted 1 times
...
moneytime
1 year, 3 months ago
D is correct. The solution is achieved by storing the delta lake table in sql spool ,so that transact-SQL query can be used on it..The choice of sql pool to use is determined by the format of the data .which is Delta.This format (Delta) is only supported by severless sql pool,hence it will be chosen for the job.Yes,it is important to state thay it can use the transct sql query through the openrowset function. The next case in the solution is the partitioning part. As a precaution from azure documentation ,external tables in severless sql pool with delta format should not be partitioned .If a partition must be used for query optimization,then use , a partition view .This view also contain partition folders or rather support partition folder elimination which is need for query optimization
upvoted 4 times
...
arihant_jain
1 year, 6 months ago
Everything is mentioned here: https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/develop-tables-external-tables?tabs=hadoop
upvoted 2 times
ExamDestroyer69
1 year, 5 months ago
Quote from link provided suggesting D is correct “use the partitioned views instead of the external tables.”
upvoted 1 times
...
...
metiii
1 year, 6 months ago
Selected Answer: D
D is correct. "The OPENROWSET function is not supported in dedicated SQL pools in Azure Synapse." so it eliminates A,B and C. Ref: https://learn.microsoft.com/en-us/sql/t-sql/functions/openrowset-transact-sql?view=sql-server-ver16 Only the partitioned view in the serverless sql pool is correct since "External tables in serverless SQL pools do not support partitioning on Delta Lake format. Use Delta partitioned views instead of tables if you have partitioned Delta Lake data sets." Ref: https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/create-use-external-tables#delta-tables-on-partitioned-folders
upvoted 4 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 ...