
Answer-first summary for fast verification
Answer: offset: "-01:00:00" size: "01:00:00"
## Explanation For a tumbling window trigger in Azure Data Factory, self-dependency configuration ensures that the current trigger instance only executes if the previous instance completes successfully. ### Key Configuration Requirements: - **Offset**: Must be negative to reference a previous window. A value of `"-01:00:00"` indicates looking back one hour (the previous execution window). - **Size**: Must be positive and typically matches the trigger recurrence interval. A value of `"01:00:00"` specifies a one-hour window size, aligning with the 60-minute recurrence. ### Analysis of Options: - **Option A** (`offset: "-00:01:00" size: "00:01:00"`): Incorrect. The offset of -1 minute looks back only one minute, not the full previous 60-minute window. - **Option B** (`offset: "01:00:00" size: "-01:00:00"`): Incorrect. Positive offset looks forward, not backward, and negative size is invalid. - **Option C** (`offset: "01:00:00" size: "01:00:00"`): Incorrect. Positive offset references a future window, not the previous execution. - **Option D** (`offset: "-01:00:00" size: "01:00:00"`): **Correct**. The negative offset of -1 hour properly references the previous 60-minute window, and the positive size of 1 hour matches the trigger recurrence, ensuring the current execution depends on the successful completion of the previous one. This configuration follows Azure Data Factory best practices for tumbling window trigger self-dependencies, where the dependency window should align with the trigger's recurrence interval and use negative offset to reference previous executions.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You have an Azure Data Factory pipeline named pipeline1 that is triggered by a tumbling window trigger named Trigger1. The trigger is set to run every 60 minutes. You must configure Trigger1's self-dependency so that pipeline1 only runs if the previous execution was successful. How should you configure this self-dependency?
A
offset: "-00:01:00" size: "00:01:00"
B
offset: "01:00:00" size: "-01:00:00"
C
offset: "01:00:00" size: "01:00:00"
D
offset: "-01:00:00" size: "01:00:00"