exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 2 question 84 discussion

Actual exam question from Microsoft's DP-203
Question #: 84
Topic #: 2
[All DP-203 Questions]

You have an Azure Data Factory pipeline named Pipeline1. Pipeline1 contains a copy activity that sends data to an Azure Data Lake Storage Gen2 account.
Pipeline1 is executed by a schedule trigger.
You change the copy activity sink to a new storage account and merge the changes into the collaboration branch.
After Pipeline1 executes, you discover that data is NOT copied to the new storage account.
You need to ensure that the data is copied to the new storage account.
What should you do?

  • A. Publish from the collaboration branch.
  • B. Create a pull request.
  • C. Modify the schedule trigger.
  • D. Configure the change feed of the new storage account.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
evangelist
11 months, 1 week ago
Selected Answer: A
A is correct
upvoted 1 times
...
learnwell
11 months, 2 weeks ago
Selected Answer: A
The "schedule trigger" always runs in live mode, hence it will take the storage account name which is available in the live mode. Now on the other hand, when the changes in storage account name is done and merged to collaboration branch(by raising a PULL REQUEST) , it is still not yet available in ADF live mode which we need to do manually by publishing from the collaboration branch.
upvoted 1 times
learnwell
11 months, 2 weeks ago
So basically the data did not get copied to new storage account because in live mode the trigger still holds the old storage account name and most certainly the data got copied to the old storage account when the scheduled trigger ran. So we need to publish "from" Collaboration branch "to" ADF live mode so that the updated storage account name gets available in the ADF live mode for the scheduled trigger to pick the NEW storage account name as parameter when it triggers next time.
upvoted 1 times
...
...
werfragt
1 year, 3 months ago
I don't get it. It is saying: "After Pipeline1 executes, you discover that data is NOT copied to the new storage account. You need to ensure that the data is copied to the new storage account." So this means, the pipeline does not work. How on earth would it make sense to publish a pipeline which is not working?
upvoted 1 times
mav2000
1 year, 3 months ago
because you merged the pipeline to the collaboration branch, but since you didn't publish the changes, the pipeline didn't copy the data to the new storage account. Think of publish as deploying to live
upvoted 6 times
...
...
kkk5566
1 year, 9 months ago
Selected Answer: A
correct
upvoted 2 times
...
ludaka
1 year, 11 months ago
Selected Answer: A
Correct answer.
upvoted 2 times
...
kim32
2 years, 1 month ago
I selected B, pull request
upvoted 1 times
auwia
1 year, 11 months ago
I guessed the same, but in adf publish step is manually and not automatic, so when the question says code is merged, you can automatically assume that pull request was done and also approved by reviewers. Therefore the correct answer for me it's A.
upvoted 3 times
...
...
Xinyuehong
2 years, 8 months ago
I had heard "publish to", never heard of "publish from". So confused.
upvoted 2 times
Igor85
2 years, 6 months ago
probably it was meant to publish from collaboration branch to adf_publish branch
upvoted 2 times
...
...
debarun
2 years, 9 months ago
Why not B ?
upvoted 1 times
DataEX
2 years, 9 months ago
Because the pull request is already implicit in the statement as it is said to be merged into the collaborating branch: "You change the copy activity sink to a new storage account and MERGE the CHANGES INTO the COLLABORATION BRANCH."
upvoted 12 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...