Question 182 of 499

Quick Answer

The answer is to create a long-running Dataproc cluster that remains idle and reuse it for each workflow. This is correct because it eliminates the variable cluster creation time that causes the Dataproc cluster creation timeout in Cloud Composer, decoupling provisioning from job execution so the cluster is always ready when the risk analysis job runs. On the Google Professional Data Engineer exam, this scenario tests your understanding of managing ephemeral versus persistent infrastructure in orchestrated pipelines, with the common trap being to increase the timeout or retry logic instead of addressing the root cause of provisioning latency. Remember the memory tip: “Don’t wait to create—reuse to mitigate.”

PDE Practice Question: Building and operationalizing data processing systems

This PDE practice question tests your understanding of building and operationalizing data processing systems. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A financial services company uses Cloud Composer to orchestrate a daily workflow that includes a Dataproc job for risk analysis. The workflow sometimes fails because the Dataproc cluster creation times out. The cluster creation typically takes 3 minutes, but occasionally takes over 10 minutes. What is the most effective way to handle this variability?

Question 1hardmultiple choice
Full question →

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

Create a long-running Dataproc cluster that remains idle and reuse it for each workflow.

Option A is correct because creating a long-running Dataproc cluster and reusing it eliminates the variable cluster creation time that causes timeouts. Cloud Composer (Airflow) can manage cluster lifecycle separately from the workflow, ensuring the cluster is always available when the Dataproc job runs. This approach decouples cluster provisioning from job execution, making the workflow resilient to creation delays.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Create a long-running Dataproc cluster that remains idle and reuse it for each workflow.

    Why this is correct

    Reusing an existing cluster eliminates the creation step and associated timeout.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Implement a retry loop with exponential backoff in the DAG.

    Why it's wrong here

    Retries may still hit timeouts if the issue persists.

  • Use preemptible VMs for the cluster to reduce cost and improve creation speed.

    Why it's wrong here

    Preemptible VMs may have longer creation times due to resource availability.

  • Increase the cluster creation timeout in the Airflow configuration.

    Why it's wrong here

    This merely masks the problem without addressing the root cause.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume retries or timeout adjustments are sufficient for infrastructure variability, but the most effective solution is to eliminate the variable step entirely by reusing a persistent cluster.

Detailed technical explanation

How to think about this question

Under the hood, Dataproc cluster creation involves provisioning GCE instances, installing software, and configuring networking—steps that can vary due to resource availability or API latency. A long-running cluster avoids this overhead by keeping a warm pool of resources, but requires careful lifecycle management (e.g., using a separate DAG to create/delete the cluster) to avoid idle costs. In real-world scenarios, this pattern is common for batch workloads where cluster startup time is a significant portion of total job time, and it allows Airflow to focus on job orchestration rather than infrastructure provisioning.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PDE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PDE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PDE question test?

Building and operationalizing data processing systems — This question tests Building and operationalizing data processing systems — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Create a long-running Dataproc cluster that remains idle and reuse it for each workflow. — Option A is correct because creating a long-running Dataproc cluster and reusing it eliminates the variable cluster creation time that causes timeouts. Cloud Composer (Airflow) can manage cluster lifecycle separately from the workflow, ensuring the cluster is always available when the Dataproc job runs. This approach decouples cluster provisioning from job execution, making the workflow resilient to creation delays.

What should I do if I get this PDE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More PDE practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.