Data Pipeline Triggers in Azure Data Factory | DP-203 Exam Answer

Set Up Triggers for Azure Data Factory Pipelines

Question

You have two data Pipelines in the Azure data factory.

You need to set up triggers for the pipeline run.

Pipeline 1: runs every 5 hours Pipeline 2: runs everyday at 5 p.m Choose an option that has triggers in respective order.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: D

There are only 3 types of triggers supported by the Azure data factory currently.

They are the Tumbling window, schedule and event-based triggers.

In the Tumbling window trigger, we can define a certain period over which the pipeline run should be executed.

So, Pipeline 1 in this question, which will run every 5 hours, comes under this trigger.

A schedule trigger will have the time or day in which this will trigger the pipeline.

It will be repeated exactly at that time.

Sometimes, it will run only once, based on the configuration which we give.

As the name says, an event-based trigger will execute the pipeline as a response to some event that happened.

Option A is incorrect: An event-based trigger cannot run the pipeline at a fixed time.

Option B is incorrect: An event-based trigger cannot run over a fixed period of time.

Option C is incorrect: The order is incorrect.

Option D is correct: These triggers will initiate the respective pipelines.

To know more about Pipeline Executions, please refer to the doc below:

Sure, I can explain the triggers for each pipeline and provide the correct option.

In Azure Data Factory, you can set up triggers to run pipelines based on a schedule, an event, or a combination of both. The two pipelines in this scenario have different scheduling requirements, as described below:

Pipeline 1: This pipeline needs to run every 5 hours. To achieve this, we can use a tumbling window trigger. A tumbling window trigger is used to run a pipeline on a periodic schedule. It defines a window of time, and the pipeline is executed at the start of each window. In this case, we would set the tumbling window trigger to start every 5 hours.

Pipeline 2: This pipeline needs to run every day at 5 p.m. To achieve this, we can use a schedule trigger. A schedule trigger is used to run a pipeline on a specific date and time. In this case, we would set the schedule trigger to run every day at 5 p.m.

Based on the above requirements, the correct option is D: Tumbling window trigger, Schedule trigger.