Replicating Small Dimension Tables to Reduce Data Movement in Azure Synapse
A company uses Azure Synapse Analytics dedicated SQL pool to store sales data. The fact table contains billions of rows and is hash-distributed on ProductID. Queries aggregate sales by store and product for the current month and join with a small Store dimension table (10,000 rows) and a medium-sized Product dimension table (500,000 rows). The queries are slow due to data movement during joins. Which design change will most reduce data movement and improve query performance?
Quick Answer
The answer is to replicate both the Store and Product dimension tables. This design change most reduces data movement in Synapse joins because replicating small dimension tables copies the entire table to every compute node, allowing joins with the large hash-distributed fact table to occur locally without shuffling data across nodes. Since the Store table has only 10,000 rows and the Product table 500,000 rows, both are small enough to fit in memory on each node, making replication far more efficient than hash-distributing them. On the DP-900 exam, this tests your understanding of dedicated SQL pool distribution strategies and the trade-off between replication and data movement. A common trap is to assume hash-distributing dimension tables is always best, but for tables under 1–2 GB, replication avoids costly shuffle operations. Memory tip: “Small tables get replicated, big tables get distributed—replication means zero shuffle.”
⚠ Common exam trap
The trap here is that candidates often focus on indexing or distribution key changes (like C or D) without recognizing that data movement during joins is the root cause, and that replicating small dimension tables is the most direct solution to eliminate that movement.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Replicate the Store dimension table and the Product dimension table.
Replicating the Store and Product dimension tables across all compute nodes eliminates the need to shuffle data during joins with the large fact table. Since both dimension tables are small enough to fit in memory on each node (10,000 and 500,000 rows), replication avoids costly data movement and significantly improves query performance for aggregations that join on multiple dimensions.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Change the fact table to round-robin distribution.
Why it's wrong here
Incorrect because round-robin distributes rows evenly without any key, which can cause extensive data shuffling for joins and aggregations, often degrading performance.
- ✓
Replicate the Store dimension table and the Product dimension table.
Why this is correct
Correct. Replicating small dimension tables across all distributions eliminates data movement during joins, as each distribution already has the full dimension data.
- ✗
Change the hash distribution key of the fact table to StoreID.
Why it's wrong here
Incorrect because changing the distribution key to StoreID would colocate data by store, but joins with Product dimension and aggregations by both store and product may still cause movement. Also, it requires repartitioning the entire table.
- ✗
Implement a clustered columnstore index on the fact table.
Why it's wrong here
Incorrect because a clustered columnstore index improves compression and scan performance but does not address data movement during joins, which is the root cause of the slowness.
Go deeper
Related to this question
Learn chapter
Data Roles and Core Concepts
Key term
Dedicated SQL pool
A Dedicated SQL pool is a cloud-based analytics service in Azure Synapse Analytics that provides a managed, scalable environment for running large-scale data warehousing queries using Transact-SQL.
Key term
Data
Data is raw, unprocessed information, like numbers, words, or measurements, that can be stored, processed, and analyzed by computers.
About these practice questions
This DP-900 question is part of Courseiva's 820-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on DP-900
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company uses Azure Synapse Analytics dedicated SQL pool for a large data warehouse. The fact table contains billions of rows and is hash-distributed on ProductID. Frequent queries join this fact table with a small Store dimension table (10,000 rows) and a medium-sized Product dimension table (500,000 rows). The queries aggregate sales by store and product for recent months, but run slowly due to data movement during joins. Which design change will most reduce data movement and improve query performance?
hard- ✓ A.Replicate the Store dimension table
- B.Change the distribution of the fact table to round-robin
- C.Change the distribution key of the fact table to StoreID
- D.Add a nonclustered index on the StoreID column in the fact table
Why A: Replicating the small Store dimension table (10,000 rows) across all compute nodes eliminates the need to shuffle data during joins with the fact table. In Azure Synapse dedicated SQL pool, replicated tables store a full copy on each distribution, so queries that join a replicated table with a distributed fact table avoid costly data movement, significantly improving performance for frequent aggregation queries.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DP-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-900 exam.