Incremental Refresh for Fabric Lakehouse Orders Table
Short answer
D Execute a dataflow to retrieve the maximum value of the OrderID column in the destination lakehouse for incremental refresh.
Question
Key Takeaways
The question tests incremental- incremental refresh configuration in Fabric Data Factory; the common trap is@ is choosing a Stored Procedure activity, which is unsupported forD for Lakehouse SQL endpoints.
This page explains how to implement incremental refresh for an Orders table in a Fabric lakehouse to minimize added rows. It establishes that retrieving the maximum OrderID using a dataflow is the correct approach because Lakehouse SQLD endpoints do not support# storedC4 stored procedures.
Common mistake: Choosing option A because1 A because stored procedures are traditionally used for lookup queries in Azure Data Factory, but Fabric Lakehouses do not support stored procedures.
Expert Analysis
Why the Answer Is Correct
To minimize the number2 number of rows added during refreshes, an incremental load pattern must be implemented. Since OrderID represents the sequence of order creation, retrieving the maximum OrderID9 OrderID from the destination allows the pipeline to only fetch newly created records. In Microsoft Fabric, Lakehouse SQL endpoints do not support stored procedures; therefore, a dataflow must be used to query the maximum value from the destination lakehouse' lakehouse, making option D the correct choice.
Why the Other Options Are Wrong8 Wrong
Options A and B suggest using a Stored Procedure activity, which is invalid because Fabric Lakehouse SQL endpoints do not support the creation or execution of stored procedures. Options B and C suggest retrieving the minimum value of the OrderID column, which would not identify the latest records and would fail to achieve an incremental refresh for new orders.
Community Comment Notes
Commenters pointed out that Lakehouses do not support stored procedures, as manolet noted: "You can't create stored procedures in the sql endpoint of a Lakehouse." Additionally, nyoike confirmed that the Stored Procedure activity in Fabric Data Factory does not list Lakehouses as compatible sources. The official Fabric tutorial for incremental refresh using dataflows was also referenced by Jons123son and rmeng as definitive proof for option D.
Official Reference
This link opens the official vendor documentation in a new tab.
Exam Strategy
When dealing with Fabric Data Factory and Lakehouses, remember that Lakehouse SQL endpoints do not support stored procedures. Always default to dataflows for data transformation and retrieval tasks involving Lakehouses in Fabric.
Community Votes
79% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 24 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 24
-
theseon 👍 26 Answered Dwe need to retrieve the maximum OrderID in the destination table to minimize the number of rows added during refresh. this would be an incremental load. can be done with data flows
-
Jons123son 👍 9 Answered DD - As other people pointed out, the exact same use case for retrieving the max OrderID is showcased in the documentation https://learn.microsoft.com/en-us/fabric/data-factory/tutorial-setup-incremental-refresh-with-dataflows-gen2#add-a-query-to-the-dataflow-to-filter-the-data-based-on-the-data-destination Thought at first that A would be correct because SP support least privilege and because how real incremental refresh is not yet supported in data flow gen 2 https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=4814b098-efff-ed11-a81c-6045bdb98602
-
metiii 👍 7 Answered AThe answer is A. You should query the last ID from the destination by lookup activity which uses the stored procedure, data flow is not used for this purpose. https://learn.microsoft.com/en-us/azure/data-factory/tutorial-incremental-copy-portal
-
Fer079 👍 3 Answered AHere the key words are "to retrieve", so if you run a pipeline to execute something to retrieve a value then it should be a Store Procedure using the lookup activity. This is the most effective way to do it. The answers are not telling you the entire process to insert the new data (which it could be with dataflow) else it is telling you what activity to use in the pipeline to retrieve the maximum value of the OrderID. At least this is what I understood.
-
ca63a55 👍 3IMHO, it has to be done with dataflow (D) because the semantic model uses an Import mode so I think it doesn't support a store procedure (SQL)
Show 19 more comments
-
manolet 👍 3 Answered DThe solution is using Lakehouses. You can't create stored procedures in the sql endpoint of a Lakehouse.
-
nyoike 👍 2 Answered DI was initially leaning to A but got real confused when I read the choices again. Using FABRIC data factory (one would presume that what they would mean in a FABRIC exam), when you use a Stored Procedure activity, you only see Warehouses and other SQL sources and NOT Lakehouses. Using Azure Data Factory, one could add an Azure SQL DB linked service and connect to the SQL Endpoint of a Lakehouse and execute a stored procedure associated with that SQL Endpoint. Even for Fabric Pipelines, one could use an Azure SQL Database connection (instead of Lakehouse), connect to the SQL Endpoint of a Lakehouse and execute a stored procedure associated with that SQL Endpoint. This I believe is the most efficient way to do it. The issue I have with D is the fact that Dataflows require significant resources to spin up and execute. Good thing with it is that there is no ambiguity mentioned above and if you want to get the answer right, might not be the most efficient but without more verbosity in the choices, I painfully chose it.
-
LasAnsias 👍 2 Answered AAzure Data Factory "pipelines" is different from Azure Data Factory "Data Flows". All the options are directing us to use Azure Data Factory "pipelines", so it should be using a stored procedure.
-
rmeng 👍 2 Answered Dhttps://learn.microsoft.com/en-au/fabric/data-factory/tutorial-setup-incremental-refresh-with-dataflows-gen2
-
Egocentric 👍 2 Answered Dkey word minimize maintenance effort. answer is D
-
semauni 👍 1 Answered DI'm also choosing D alongside the other answers. My reasoning is: 1) The showcased example of doing incremental refresh by dataflows (see the link below), which is almost an answer in itself because it tells you how Microsoft views the solution to this issue. 2) Maximum ID instead of minimum: see the same link for the specific use. But even without this knowledge you can read in the case study that new (higher) numbers represent newer orders, so for an incremental refresh it makes way more sense to retrieve the ID of the latest order placed than the ID of the first. 3) dataflow instead of stored procedure: because of the link, but it also makes sense from the "minimize implementation and maintenance effort" requirement: writing an incremental refresh SP is very, very complicated. Link: https://learn.microsoft.com/en-au/fabric/data-factory/tutorial-setup-incremental-refresh-with-dataflows-gen2
-
agente232 👍 1I asked chatgpt and I've got this: Based on the requirements for the semantic model of the Online Sales department, the best solution to refresh the Orders table would be to include an Azure Data Factory pipeline that executes a Stored procedure activity to retrieve the maximum value of the OrderID column in the destination lakehouse. This approach ensures that only new orders are processed, maintaining the sequence and integrity of the OrderID values as per the system of origin. Therefore, the correct answer is: A. an Azure Data Factory pipeline that executes a Stored procedure activity to retrieve the maximum value of the OrderID column in the destination lakehouse.
-
AzurePart 👍 1D https://learn.microsoft.com/en-au/fabric/data-factory/tutorial-setup-incremental-refresh-with-dataflows-gen2 -> "You now have a query that returns the maximum OrderID in the lakehouse. This query is used to filter the data from the OData source. The next section adds a query to the dataflow to filter the data from the OData source based on the maximum OrderID in the lakehouse." Don't ask why The problem is Fabric, so find the answer in the document Is this the first time you've seen a test in your life?
-
sepiida 👍 1 Answered Awe need to retrieve the maximum OrderID in the destination table to minimize the number of rows added during refresh. This can be achieved with both the dataflow and a stored procedure. It mentions that "All the semantic models and reports for the Research division must use version control that supports branching." Dataflows are not supported in the git integration. Hence I choose A as the answer.
-
SamuComqi 👍 1D. an Azure Data Factory pipeline that executes a dataflow to retrieve the maximum value of the OrderID column in the destination lakehouse. A dataflow can be used to retrieve the max OrderID number (stored in the destination table - OrderID is a sequencial number). This number can be used to set from which row data must be added to the destination table (implementing an incremental load).
-
stilferx 👍 1 Answered DIMHO, it is very good explained here: https://learn.microsoft.com/en-au/fabric/data-factory/tutorial-setup-incremental-refresh-with-dataflows-gen2 So, it is not A, because of SP is not good to load data from sources in data lake. B and C - not an option at all, because it doesn't make sense to query the minimum order to make an incremental loading.
-
Rakesh16 👍 1 Answered Dan Azure Data Factory pipeline that executes a dataflow to retrieve the maximum value of the OrderID column in the destination lakehouse https://learn.microsoft.com/en-au/fabric/data-factory/tutorial-setup-incremental-refresh-with-dataflows-gen2
-
NRezgui 👍 1 Answered Dan Azure Data Factory pipeline that executes a dataflow to retrieve the maximum value of the OrderID column in the destination lakehouse
-
Naqib 👍 1Both dataflow and SP should work is it? This question a bit confusing.
-
Shri_Learning 👍 1 Answered DFor delta load, max order id is the PK so
-
Egocentric 👍 1D is the answer also A can be correct
-
Momoanwar 👍 3 Answered DMax with dataflow
-
m_abohassan 👍 1 Answered Ai think it should be A
-
RinSu75 👍 1Answer should be A
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All DP-600 Questions
Access 115 questions with complete answers and detailed explanations.
View Full DP-600 Practice Test →