You have two lakehouses named Lakehouse1 and Lakehouse2. Lakehouse1 contains a table FactSales that is partitioned by a column named CustomerID. You need to create a shortcut to the FactSales table in Lakehouse2. The shortcut must only connect to data for CustomerID 100. What should you do?

Prepare for the DP-600 Fabric Analytics Engineer Exam. Study with flashcards and multiple choice questions, each offering hints and detailed explanations. Enhance your chances of success on the exam!

Multiple Choice

You have two lakehouses named Lakehouse1 and Lakehouse2. Lakehouse1 contains a table FactSales that is partitioned by a column named CustomerID. You need to create a shortcut to the FactSales table in Lakehouse2. The shortcut must only connect to data for CustomerID 100. What should you do?

Explanation:
When a table is partitioned, each partition is stored in its own folder under the table’s Tables section. Creating a shortcut that points directly to the specific partition folder for CustomerKey 100 makes the shortcut inherently scoped to that subset of data. In practice, you navigate to the FactSales table, then select the folder corresponding to CustomerKey=100, and create the shortcut there. Any queries using this shortcut will only access data for CustomerID 100, avoiding exposure to other partitions and improving performance through partition-level pruning. Other options wouldn’t achieve the same direct, built-in scoping. Copying the table would duplicate data instead of providing a shortcut. A view (on Lakehouse2) or a view with a WHERE clause could filter data, but they add an extra object and don’t bind the shortcut itself to the partition, making the access control and data path less straightforward.

When a table is partitioned, each partition is stored in its own folder under the table’s Tables section. Creating a shortcut that points directly to the specific partition folder for CustomerKey 100 makes the shortcut inherently scoped to that subset of data. In practice, you navigate to the FactSales table, then select the folder corresponding to CustomerKey=100, and create the shortcut there. Any queries using this shortcut will only access data for CustomerID 100, avoiding exposure to other partitions and improving performance through partition-level pruning.

Other options wouldn’t achieve the same direct, built-in scoping. Copying the table would duplicate data instead of providing a shortcut. A view (on Lakehouse2) or a view with a WHERE clause could filter data, but they add an extra object and don’t bind the shortcut itself to the partition, making the access control and data path less straightforward.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy