Topic 1 Question 59
You have a Dataproc cluster that performs batch processing on data stored in Cloud Storage. You need to schedule a daily Spark job to generate a report that will be emailed to stakeholders. You need a fully-managed solution that is easy to implement and minimizes complexity. What should you do?
Use Cloud Composer to orchestrate the Spark job and email the report.
Use Dataproc workflow templates to define and schedule the Spark job, and to email the report.
Use Cloud Run functions to trigger the Spark job and email the report.
Use Cloud Scheduler to trigger the Spark job, and use Cloud Run functions to email the report.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: A
Dataproc Workflow Templates are excellent for defining and scheduling Spark jobs, but they do not natively support emailing reports.
👍 2SaquibHerman2025/02/19 - 正解だと思う選択肢: B
The best option is B. Dataproc workflow templates. Option B is best because workflow templates are built into Dataproc for simple Spark job scheduling. Option A (Composer) is incorrect because Composer is too complex for this simple task. Option C (Cloud Run trigger) is incorrect because Cloud Run is not for Dataproc job management. Option D (Cloud Scheduler + Cloud Run) is incorrect because it's more complex than workflow templates. Therefore, Option B, workflow templates, is the easiest and most direct solution.
👍 2n21837128472025/03/05 - 正解だと思う選択肢: B
dataproc worker template will work the best.
👍 1n21837128472025/03/08
シャッフルモード