
Answer-first summary for fast verification
Answer: Specify a worker region by using the --region flag.
The correct answer is **C**. By specifying a worker region using the `--region` flag, you ensure that the Dataflow job's worker instances are distributed across multiple zones within the specified region. This distribution reduces the impact of zonal failures on the job's execution. - **Option A** is incorrect because setting the staging location as a regional Cloud Storage bucket does not directly mitigate zonal failures at job submission time. - **Option B** is incorrect as creating an Eventarc trigger for resubmission is a reactive measure, not a preventive one. - **Option D** is incorrect because submitting duplicate pipelines in different zones does not address zonal failures affecting job execution.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
When designing a Dataflow pipeline for batch processing, how can you mitigate the risk of multiple zonal failures during job submission?
A
Set the pipeline staging location as a regional Cloud Storage bucket.
B
Create an Eventarc trigger to resubmit the job in case of zonal failure when submitting the job.
C
Specify a worker region by using the --region flag.
D
Submit duplicate pipelines in two different zones by using the --zone flag.
No comments yet.