
Answer-first summary for fast verification
Answer: Create a cron job with Google App Engine Cron Service to run the Cloud Dataflow job.
Using the Google App Engine Cron Service to run the Cloud Dataflow job allows you to automate the execution of the job. By creating a cron job, you can ensure that the Dataflow job is triggered exactly once per day at a specified time. This approach is automated, reliable, and cost-effective. The manual approach (Option B) is error-prone and incurs labor costs, while switching to Dataproc (Option A) or configuring a streaming job (Option D) can be more complex and expensive than necessary.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are employed at a manufacturing plant where, at 2:00 AM each day, application log files are consolidated into a single log file. You've developed a Google Cloud Dataflow job that is tasked with processing this consolidated log file. Your objective is to ensure that this processing occurs once daily and in a cost-efficient manner. What steps should you take to achieve this?
A
Change the processing job to use Google Cloud Dataproc instead.
B
Manually start the Cloud Dataflow job each morning when you get into the office.
C
Create a cron job with Google App Engine Cron Service to run the Cloud Dataflow job.
D
Configure the Cloud Dataflow job as a streaming job so that it processes the log data immediately.
No comments yet.