Fabric Deployment Pipeline Configuration for Dataflow Gen2

DP-600 By islever Editorial Last updated

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

You have a Fabric tenant that contains two workspaces named Workspace1 and Workspace2.
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?
  1. Create a data source rule only.
  2. Create a parameter rule only.
  3. Create a data source rule and a parameter rule. Correct Answer
  4. After implementing the deployment pipeline, manually change the data source

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?

A data source rule remaps the entire connection object (e.g., swapping one Azure Storage account for another). A parameter rule overrides specific values within the Power Query script, such as file paths or filter criteria.

Can I manually update data sources after deployment?

While possible, manual updates defeat the purpose of CI/CD. Deployment pipelines are designed to automate these changes to ensure consistency and reduce human error between dev and prod.

More DP-600 FAQ →

Community Votes

A
33%
C
33%
D
17%
B
17%

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

  1. 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.
  2. Aiden90 👍 2 Answered A
    A. Create a data source rule only. ✅ Correct — this remaps the storage account from dev → prod during deployment.
  3. f69e51a 👍 1 Answered D
    Dataflow 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.
  4. LILIA97 👍 1 Answered C
    C, Data source: a data source rule tells the deployment pipeline to automatically replace the connection with the correct one in the target workspace.
  5. a8d510b 👍 1 Answered B
    first 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
  1. 21ad543 👍 1 Answered A
    a is answer but idk

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All DP-600 Questions

Access 115 questions with complete answers and detailed explanations.

View Full DP-600 Practice Test →

← Back to DP-600 Study Guide