Courseiva
Deploy and maintain assetsmediumMultiple SelectObjective-mapped

How to Set Up Deployment Pipeline with Different Data Sources for Dev and Prod

Which TWO actions are required to set up a Power BI deployment pipeline with separate data sources for Development and Production?

Quick Answer

Configuring parameter rules in the deployment pipeline so that each stage maps to its own value is the answer because this is the mechanism that actually lets Development and Production point to different data sources without touching the report file itself as it moves between stages. That capability starts upstream, though: it depends on the report first being built with dataset parameters defined in Power BI Desktop for the data source connection details, rather than those details being hard-coded into the queries. Once the connection is parameterized, the deployment pipeline can then override that parameter's value independently at each stage, so the same underlying file can pull from a development database while in the Development stage and automatically switch to the production database once deployed to Production, with no manual editing required at each step. Skipping either half of this breaks the setup: without dataset parameters, the pipeline has nothing to override, and without configuring pipeline-level parameter rules, a parameterized report still uses the same fixed value at every stage. The broader takeaway for any deployment pipeline scenario is to look for this two-part structure -- first make the varying piece a genuine parameter at the report or dataset level, then configure the environment-specific values for that parameter at the pipeline level -- rather than expecting either step alone to be sufficient.

⚠ Common exam trap

It's easy for candidates to confuse credential management (Option D) with parameter-based data source separation, or assume that separate gateways (Option E) are mandatory, when in fact parameter rules are the correct and efficient method for stage-specific data sources.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Define dataset parameters in Power BI Desktop for data source values.

Defining dataset parameters in Power BI Desktop for data source values allows you to make the data source connection dynamic. These parameters can then be overridden at each stage of the deployment pipeline, enabling separate data sources for Development and Production without modifying the report file.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Define dataset parameters in Power BI Desktop for data source values.

    Why this is correct

    Parameters allow you to change data source at deployment time.

  • Assign the dataset owner to each stage workspace.

    Why it's wrong here

    Dataset ownership is not changed by pipelines automatically.

  • Configure parameter rules in the deployment pipeline to map parameters to stage-specific values.

    Why this is correct

    Parameter rules are how the pipeline knows which value to use for each stage.

  • Re-enter data source credentials for each stage after deployment.

    Why it's wrong here

    Credentials must be configured, but this is done separately, not a required action for setting up pipeline data source switching.

  • Create separate gateways for each stage.

    Why it's wrong here

    A single gateway can serve multiple stages with proper configuration.

About these practice questions

Courseiva writes every PL-300 question from scratch — 217 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on PL-300

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. You manage a Power BI deployment that uses deployment pipelines. After promoting content from Development to Test, you notice that the Test workspace dataset uses a different data source than expected. What is the most likely reason?

hard
  • A.The pipeline didn't deploy the dataset because it was already in Test.
  • B.The data source credentials were not applied during deployment.
  • C.The dataset parameters were not configured in the deployment pipeline rules.
  • D.The Test workspace has a separate dataset that was manually created.

Why C: Deployment pipeline rules allow you to configure dataset parameters (such as data source paths) to differ between pipeline stages. If these rules are not set, the dataset retains the data source configuration from the source stage (Development), causing the Test workspace to use an unexpected data source. The pipeline deploys the dataset artifact, but without parameter overrides, the data source connection string remains unchanged.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PL-300 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PL-300 exam.