DP-203 · Question #413
DP-203 Question #413: Real Exam Question with Answer & Explanation
The correct answer is A: From featuredev, create a pull request.. In Azure Synapse Analytics with Git integration, you can only publish to the live service from the collaboration branch (main). To move changes from a feature branch to main, you must create a pull request first.
Question
You have an Azure subscription that contains an Azure Synapse Analytics account. The account is integrated with an Azure Repos repository named Repo1 and contains a pipeline named Pipeline1. Repo1 contains the branches shown in the following table. From featuredev, you develop and test changes to Pipeline1. You need to publish the changes. What should you do first?
Options
- AFrom featuredev, create a pull request.
- BFrom main, create a pull request.
- CAdd a Publish_config.json file to the root folder of the collaboration branch.
- DSwitch to live mode.
Explanation
In Azure Synapse Analytics with Git integration, you can only publish to the live service from the collaboration branch (main). To move changes from a feature branch to main, you must create a pull request first.
Common mistakes.
- B. A pull request originates from the source branch (featuredev) targeting the destination branch (main), not the other way around; creating a PR from main would not incorporate the featuredev changes.
- C. The publish_config.json file is used to configure a custom publish branch, not required to initiate the publish workflow for a standard collaboration branch setup.
- D. Switching to live mode bypasses Git integration entirely and is not appropriate when Git-integrated development is already in use; it would not incorporate the feature branch changes.
Concept tested. Synapse Analytics Git integration publish workflow
Reference. https://learn.microsoft.com/en-us/azure/synapse-analytics/cicd/source-control
Community Discussion
No community discussion yet for this question.