Fabric Deployment Pipeline Configuration for Dataflow Gen2
Short answer
C Create a data source rule and a parameter rule to automatically remap the storage connection and adjust query parameters during the deployment pipeline execution from Workspace1 to Workspace2.
Question
Workspace1 is used as the development environment. Workspace2 is used as the production environment. Each environment uses a different storage account.
Workspace1 contains a Dataflow Gen2 named Dataflow1. The data source of Dataflow1 is a CSV file in blob storage.
You plan to implement a deployment pipeline to deploy items from Workspace1 to Workspace2.
You need to ensure that the data source references the correct location in the production environment.
What should you do?
Key Takeaways
The main trap is assuming a single rule type suffices; effective deployment pipelines require data source rules for connection mapping and parameter rules for internal query value adjustments.
To deploy Dataflow Gen2 items between workspaces in Microsoft Fabric while maintaining correct data source references, you must configure both data source rules and parameter rules in your deployment pipeline.
Common mistake: Choosing 'Create a data source rule only' (Option A) because it addresses the connection directly but ignores potential differences in query parameters or file paths that also need remapping in production.
Expert Analysis
The question requires deploying a Dataflow Gen2 item from a development workspace (Workspace1) to a production workspace (Workspace2) using a deployment pipeline, ensuring the data source points to the correct production storage account.
Data Source Rule: This is the primary mechanism in Fabric deployment pipelines for remapping connections. When you create a data source rule, you map the connection in the source environment (e.g., Dev Storage Account) to the corresponding connection in the target environment (e.g., Prod Storage Account). This automatically updates the gateway or direct lake connection reference during deployment. Without this, the deployed item would still point to the development storage, which is incorrect for production.
Parameter Rule: While parameter rules are useful for changing specific values within Power Query (like file paths or table names), they are secondary to the connection itself. However, in many scenarios involving blob storage, simply remapping the container connection might not be enough if the path structure differs significantly or if specific parameters need overriding. More importantly, the question asks what you need to do to ensure the data source references the correct location. The most complete and robust approach described in Microsoft documentation for handling environment-specific configurations in deployment pipelines often involves both: using a data source rule to handle the connection identity and parameter rules to handle any variable parts of the query logic that differ between environments. However, looking at the options, Option C suggests creating both. Is a parameter rule strictly necessary? Often, yes, if the CSV path or other query parameters change. But even if only the connection changes, the 'best practice' answer for ensuring full correctness in complex deployments usually includes both mechanisms to cover all bases of configuration drift. Let's look closer. If I only use a data source rule, the connection changes. If the path inside the blob storage also changes (which is common), I need a parameter rule. The prompt implies a general need to ensure correct references. The most comprehensive solution provided in the options is C. Furthermore, comments support C, noting that data source rules replace connections and parameter rules override internal values like paths.
Why A is insufficient: It only handles the connection, potentially missing path variations. Why B is insufficient: Parameters alone don't change the underlying connection object reference managed by the pipeline. Why D is manual and violates automation principles. Therefore, creating both ensures the connection is mapped and any internal query variables are adjusted.
Official Reference
https://learn.microsoft.com/en-us/fabric/cicd/deployment-pipelines
This link opens the official vendor documentation in a new tab.
Exam Strategy
When dealing with deployment pipelines in Microsoft Fabric, always consider the full scope of configuration drift between environments. Don't just fix the obvious connection; check if query parameters, paths, or other variables also differ. Selecting the option that covers both connection mapping (data source rule) and value substitution (parameter rule) is typically the most robust and correct answer for certification exams.
Frequently Asked Questions
What is the difference between a data source rule and a parameter rule?
Can I manually update data sources after deployment?
Community Votes
33% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 6 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 6
-
Juanes55 👍 4 Answered C- Data source: a data source rule tells the deployment pipeline to automatically replace the connection with the correct one in the target workspace. -Parameter rule: Even if the connection changes, the path inside the storage often also changes between dev and prod. A parameter rule lets you override these values during deployment.
-
Aiden90 👍 2 Answered AA. Create a data source rule only. ✅ Correct — this remaps the storage account from dev → prod during deployment.
-
f69e51a 👍 1 Answered DDataflow Gen2 doesn’t support deployment rules, and the deployment pipelines page also notes that autobinding isn’t supported for Dataflow Gen2. So with the options given, you have to update the data source in Workspace2 yourself after deploying.
-
LILIA97 👍 1 Answered CC, Data source: a data source rule tells the deployment pipeline to automatically replace the connection with the correct one in the target workspace.
-
a8d510b 👍 1 Answered Bfirst modify Dataflow in Workspace1 so that the "Path" or "Connection" string for the blob storage is controlled by a Power Query Parameter
Show 1 more comment
-
21ad543 👍 1 Answered Aa is answer but idk
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 →