Google Cloud Professional Data Engineer — Question 197
You are designing a Dataflow pipeline for a batch processing job. You want to mitigate multiple zonal failures at job submission time. What should you do?
Answer options
- A. Submit duplicate pipelines in two different zones by using the --zone flag.
- B. Set the pipeline staging location as a regional Cloud Storage bucket.
- C. Specify a worker region by using the --region flag.
- D. Create an Eventarc trigger to resubmit the job in case of zonal failure when submitting the job.
Correct answer: C
Explanation
The correct option is C because specifying a worker region with the --region flag helps ensure that the job runs in a more stable area, reducing the risk of zonal failures. Option A does not effectively mitigate failures during submission, as it simply duplicates the job. Option B, while useful for storage, does not address the issue of job submission failures related to zone issues. Option D introduces unnecessary complexity and is not a proactive solution for preventing failures at submission time.