Talend Data Integration Certified Developer — Question 2

You need to create a reusable framework in all of your Jobs to capture the number of records loaded to a database and send it as an email to the customer.
What is the best method to achieve this use case?

Answer options

Correct answer: C

Explanation

The best method is to create the logic in a Joblet (Option C) because it allows for easy reuse across multiple Jobs, ensuring consistency and reducing redundancy. Option A, while feasible, doesn't provide a straightforward way to integrate the logic directly within the Jobs. Option B limits the logic's reuse to only the end of the Jobs, while Option D results in multiple Jobs containing duplicated logic, complicating maintenance.