Fabric Data Factory Stored Procedure Activity
Short answer
D Add a Lookup activity to execute the stored procedure and make the returned values available to downstream activities.
Question
Key Takeaways
The Lookup activity is specifically designed to execute a query or stored procedure and capture its result set for downstream consumption, whereas other activities like Script do not output data in the same structured way.
The Lookup activity in Fabric Data Factory is used to execute a stored procedure or query and retrieve its output. This page confirms why the Lookup activity is the correct choice for passing returned values to downstream pipeline activities.
Common mistake: Choosing the Script activity because it can execute code, but failing to recognize that only the Lookup activity is explicitly designed to return rowsets for downstream pipeline consumption.
Expert Analysis
Why the Answer Is Correct
The Lookup activity in Fabric Data Factory is explicitly designed to execute a query or stored procedure against a data source like a warehouse and retrieve the results. Its primary purpose is to make this returned data available to downstream activities in the pipeline, which perfectly matches the requirement in the question.Why the Other Options Are Wrong
The Switch activity is used for routing and conditional branching based on expressions, not for executing queries. The KQL activity is specifically for running Kusto Query Language (KQL) queries against a KQL database, not a stored procedure in a warehouse. The Append variable activity is used to add a value to an existing array variable, not to execute a stored procedure and capture its output.Community Comment Notes
Commenters agree that the Lookup activity is the correct choice because it can execute a stored procedure and retrieve the results for downstream use. As one user noted, the Lookup activity "allows you to execute a query or stored procedure and retrieve the results," which aligns with the official documentation linked in the comments.Official Reference
https://learn.microsoft.com/en-us/fabric/data-factory/lookup-activity
This link opens the official vendor documentation in a new tab.
Exam Strategy
When a pipeline requires executing a query or stored procedure and passing the results to subsequent activities, choose the Lookup activity. Remember that Lookup is uniquely suited for returning data to the pipeline, unlike the Script activity which is primarily for execution without structured downstream output.
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 4 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, not of islever. The comments shown first are the most substantive of the thread — ranked by depth, community endorsement and relevance; expand the list below to read the rest.
From public community threads 4
-
Pegooli 👍 3D is correct - A Lookup activity in Fabric Data Factory is specifically designed to execute a query or stored procedure and retrieve data from a data source.
-
nappi1 👍 2 Answered Dto execute a stored procedure in a Fabric Data Factory pipeline and make the returned values available for downstream activities, you should use the Lookup activity. the Lookup activity allows you to execute a query or stored procedure and retrieve the results, which can then be used in subsequent activities within the pipeline.
-
2fe10ed 👍 2 Answered DScript or Lookup activity https://learn.microsoft.com/en-us/fabric/data-factory/lookup-activity https://blog.fabric.microsoft.com/id-id/blog/automate-fabric-data-warehouse-queries-and-commands-with-data-factory?ft=All
-
nappi1 👍 1 Answered DLookup is correct
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 →