ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 106 - DP-203 discussion

Report
Export

You have an Azure Data Factory instance that contains two pipelines named Pipeline1 and Pipeline2.

Pipeline1 has the activities shown in the following exhibit.

Pipeline2 has the activities shown in the following exhibit.

You execute Pipeline2, and Stored procedure1 in Pipeline1 fails.

What is the status of the pipeline runs?

A.
Pipeline1 and Pipeline2 succeeded.
Answers
A.
Pipeline1 and Pipeline2 succeeded.
B.
Pipeline1 and Pipeline2 failed.
Answers
B.
Pipeline1 and Pipeline2 failed.
C.
Pipeline1 succeeded and Pipeline2 failed.
Answers
C.
Pipeline1 succeeded and Pipeline2 failed.
D.
Pipeline1 failed and Pipeline2 succeeded.
Answers
D.
Pipeline1 failed and Pipeline2 succeeded.
Suggested answer: A

Explanation:

Activities are linked together via dependencies. A dependency has a condition of one of the following: Succeeded, Failed, Skipped, or Completed.

Consider Pipeline1:

If we have a pipeline with two activities where Activity2 has a failure dependency on Activity1, the pipeline will not fail just because Activity1 failed. If Activity1 fails and Activity2 succeeds, the pipeline will succeed. This scenario is treated as a try-catch block by Data Factory.

The failure dependency means this pipeline reports success.

Note:

If we have a pipeline containing Activity1 and Activity2, and Activity2 has a success dependency on Activity1, it will only execute if Activity1 is successful. In this scenario, if Activity1 fails, the pipeline will fail.

Reference:

https://datasavvy.me/category/azure-data-factory/

asked 02/10/2024
Joseph Daly
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first