DATA-INTEGRATION-DEVELOPER practice question 11 of 15

You are building a Job that consists of two subJobs being sequentially executed I he first subJob completes successfully. Which component in the first subJob triggers the execution of the second subJob?

Full set: 55 questions
Answer options
A: Start component Correct answer
B: Final component
C: Input component
D: Any component
Correct Answer:
A. Start component
Explanation

In a Talend Job, the flow between different subJobs is managed by trigger connections. A trigger connection, such as OnSubjobOk or OnSubjobError, defines the sequence and conditions for execution. These trigger connections can only originate from the start component of a subJob. When all components within the first subJob have completed their execution successfully, the OnSubjobOk link originating from its start component is activated, which in turn triggers the execution of the second subJob.

Why Incorrect

B. A final component (e.g., tLogCatcher, tCommit) is an endpoint in a data flow or subJob; it does not have trigger outputs to initiate another subJob.
C. While an input component is often a start component, "start component" is the precise term for any component that initiates a subJob and from which a trigger connection can be drawn.
D. Only the start component of a subJob can have an outgoing OnSubjobOk or OnSubjobError trigger. Other components in the middle of a flow cannot initiate a new subJob.

References

1. Talend, Inc. (2023). Talend Studio User Guide, "Chapter 7: Designing a Job". The section "Linking components together" describes trigger connections (OnSubjobOk, OnSubjobError) and illustrates that they are drawn from the first component of one subJob to the first component of another.

2. Talend Help Center (2023). "Trigger connections". The documentation states: "A trigger connection does not handle data, it only creates a dependency between Jobs or Subjobs... The trigger connection is defined by its type, for example OnSubjobOK..." The accompanying diagrams consistently show these links originating from the start component.

3. Talend Data Fabric (2023). Component Reference Guide, "Introduction to Job components". The guide explains the concept of a subJob and how the OnSubjobOk trigger connects the completion of one subJob to the start of another, with the link originating from the subJob's starting component.

Scroll to Top