ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 254 - DP-203 discussion

Report
Export

You have an Azure Data Factory pipeline named pipeline1 that is invoked by a tumbling window trigger named Trigger1. Trigger1 has a recurrence of 60 minutes. You need to ensure that pipeline1 will execute only if the previous execution completes successfully. How should you configure the self-dependency for Trigger1?

A.
offset: "-00:01:00" size: "00:01:00"
Answers
A.
offset: "-00:01:00" size: "00:01:00"
B.
offset: "01:00:00" size: "-01:00:00"
Answers
B.
offset: "01:00:00" size: "-01:00:00"
C.
offset: "01:00:00" size: "01:00:00"
Answers
C.
offset: "01:00:00" size: "01:00:00"
D.
offset: "-01:00:00" size: "01:00:00"
Answers
D.
offset: "-01:00:00" size: "01:00:00"
Suggested answer: D

Explanation:


Tumbling window self-dependency properties

In scenarios where the trigger shouldn't proceed to the next window until the preceding window is successfully completed, build a self-dependency. A self-dependency trigger that's dependent on the success of earlier runs of itself within the preceding hour will have the properties indicated in the following code.

Example code:

"name": "DemoSelfDependency",

"properties": {

"runtimeState": "Started",

"pipeline": {

"pipelineReference": {

"referenceName": "Demo",

"type": "PipelineReference"

}

},

"type": "TumblingWindowTrigger",

"typeProperties": {

"frequency": "Hour",

"interval": 1,

"startTime": "2018-10-04T00:00:00Z",

"delay": "00:01:00",

"maxConcurrency": 50,

"retryPolicy": {

"intervalInSeconds": 30

},

"dependsOn": [

{

"type": "SelfDependencyTumblingWindowTriggerReference",

"size": "01:00:00",

"offset": "-01:00:00"

}

]

}

}

}

Reference:

https://docs.microsoft.com/en-us/azure/data-factory/tumbling-window-trigger-dependency

asked 02/10/2024
Rosalba Scalera
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first