Courseiva
Maintaining and Automating Data WorkloadseasyMultiple ChoiceObjective-mapped

PDE Maintaining and Automating Data Workloads Practice Question

You need to schedule a Dataproc Spark job to run at 2 AM every day, and upon completion, trigger a BigQuery load job. Which Cloud Composer operator should you use to run the Spark job?

⚠ Common exam trap

Watch out — candidates often confuse operators that manage cluster lifecycle (like DataprocClusterCreateOperator) with operators that submit jobs, or they mistakenly think DataflowPythonOperator can run Spark jobs because both are data processing frameworks.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

DataprocSubmitJobOperator

The DataprocSubmitJobOperator is specifically designed to submit a job (e.g., a Spark job) to an existing Dataproc cluster. In this scenario, you need to run a Spark job on a scheduled basis, and Cloud Composer (Airflow) provides this operator to submit the job to Dataproc. After the Spark job completes, you can chain a BigQuery load operator to trigger the load, matching the requirement exactly.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • DataflowPythonOperator

    Why it's wrong here

    This operator runs Dataflow pipelines, not Dataproc.

  • BigQueryOperator

    Why it's wrong here

    This operator runs BigQuery jobs, not Dataproc Spark.

  • DataprocClusterCreateOperator

    Why it's wrong here

    This operator creates a cluster, not submit a job.

  • DataprocSubmitJobOperator

    Why this is correct

    This operator submits a job (e.g., Spark, PySpark) to an existing Dataproc cluster.

About these practice questions

Courseiva writes every PDE question from scratch — 890 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PDE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PDE exam.