
Answer-first summary for fast verification
Answer: Write each task to be responsible for one operation.
A. Correct. To run repeatable tasks, it is recommended to use atomic tasks that have a single responsibility. Many of these tasks can be combined in sequence to achieve a desired end result. B. Incorrect. Using current time for data processing results in different and non-repeatable task runs. C. Incorrect. Insert statements in tasks creates new entries. Rerunning the same tasks will insert new entries again. Instead of INSERT, UPSERT should be used. D. Incorrect. It is recommended that a single task should take up a single functionality.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You need to create repeatable data processing tasks by using Cloud Composer. You need to follow best practices and recommended approaches.
A
Write each task to be responsible for one operation.
B
Use current time with the now() function for computation.
C
Update data with INSERT statements during the task run.
D
Combine multiple functionalities in a single task execution.
No comments yet.