DP-500 · Question #20
You are creating an external table by using an Apache Spark pool in Azure Synapse Analytics. The table will contain more than 20 million rows partitioned by date. The table will be shared with the…
The correct answer is B. Apache Parquet. To minimize query time for a serverless SQL pool querying a large, partitioned external table created via Spark, Apache Parquet is the recommended file format due to its columnar storage and optimization features.
Question
Options
- AJSON
- BApache Parquet
- CCSV
- DDelta
How the community answered
(41 responses)- A5% (2)
- B71% (29)
- C7% (3)
- D17% (7)
Why each option
To minimize query time for a serverless SQL pool querying a large, partitioned external table created via Spark, Apache Parquet is the recommended file format due to its columnar storage and optimization features.
JSON is a row-based format that is less efficient for analytical queries on large datasets compared to columnar formats, leading to slower query performance.
Apache Parquet is a columnar storage format optimized for analytical queries. It offers efficient data compression, encoding, and predicate pushdown, which significantly speeds up queries, especially for large datasets partitioned by date, making it ideal for serverless SQL pools.
CSV is a plain text, row-based format that offers no performance optimizations like columnar storage or indexing, making it inefficient for large-scale analytical queries.
Delta Lake stores data as Parquet files but adds transactional overhead; for minimizing serverless SQL pool query time on raw data, directly using Apache Parquet is the most efficient choice.
Concept tested: File formats for performance in Azure Synapse Analytics
Source: https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/query-parquet-files
Topics
Community Discussion
No community discussion yet for this question.