- A
Use a cluster with preemptible worker nodes only.
Why wrong: Preemptible nodes can be terminated during job, causing failures and restarts.
- B
Use a cluster with local SSDs for temporary storage.
Why wrong: Local SSDs improve disk I/O but do not reduce the number of nodes needed.
- C
Use a cluster with a few large worker nodes and use Spark static allocation.
Why wrong: Static allocation may over-provision or under-provision; large nodes can be underutilized.
- D
Use a cluster with many small worker nodes and use Spark dynamic allocation.
Dynamic allocation adjusts resources based on workload; small nodes provide granular scaling.
Quick Answer
The correct answer is to use many small worker nodes with Spark dynamic allocation. This configuration minimizes Dataproc costs for batch CSV processing because dynamic allocation allows the cluster to scale executors up or down in real time based on the actual workload, preventing idle resources while still completing the hourly job within the one-hour window. On the Google Professional Data Engineer exam, this scenario tests your understanding of how to balance cost and performance in ephemeral clusters, often appearing as a trap where candidates mistakenly choose fixed-size clusters or fewer large nodes, which waste resources during variable CSV processing loads. A key memory tip is to think of dynamic allocation as “pay-per-use elasticity” for Spark—just as autoscaling adjusts cluster size, dynamic allocation fine-tunes executor count to match the fluctuating demands of each hourly batch, ensuring you never over-provision.
PDE Designing data processing systems Practice Question
This PDE practice question tests your understanding of designing data processing systems. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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 data engineering team needs to process a large volume of CSV files stored in Cloud Storage using Dataproc. The files are generated hourly and each contains millions of rows. They want to minimize the number of Dataproc cluster nodes to reduce cost while processing within an hour. Which configuration should they recommend?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"minimum / minimize"Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.
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
Use a cluster with many small worker nodes and use Spark dynamic allocation.
Option D is correct because using many small worker nodes with Spark dynamic allocation allows the cluster to scale resources precisely to the workload, minimizing idle capacity and cost. Dynamic allocation enables executors to be added or removed based on the processing demands of the hourly CSV files, ensuring the job completes within the hour without over-provisioning nodes.
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.
- ✗
Use a cluster with preemptible worker nodes only.
Why it's wrong here
Preemptible nodes can be terminated during job, causing failures and restarts.
- ✗
Use a cluster with local SSDs for temporary storage.
Why it's wrong here
Local SSDs improve disk I/O but do not reduce the number of nodes needed.
- ✗
Use a cluster with a few large worker nodes and use Spark static allocation.
Why it's wrong here
Static allocation may over-provision or under-provision; large nodes can be underutilized.
- ✓
Use a cluster with many small worker nodes and use Spark dynamic allocation.
Why this is correct
Dynamic allocation adjusts resources based on workload; small nodes provide granular scaling.
Clue confirmation
The clue word "minimum / minimize" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud often tests the misconception that larger nodes are always more cost-effective for big data processing, but in practice, many small nodes with dynamic allocation reduce idle resource waste and better match the parallelism needs of distributed file processing.
Detailed technical explanation
How to think about this question
Spark dynamic allocation works by requesting executors from the cluster manager (YARN or Kubernetes) based on the backlog of pending tasks, using parameters like spark.dynamicAllocation.minExecutors and maxExecutors. In Dataproc, this integrates with the cluster's autoscaling feature, but dynamic allocation itself manages executor count within the existing node pool, while many small nodes provide finer granularity for scaling and better parallelism for large CSV file processing. A real-world scenario is processing 500 GB of hourly CSV data where data skew varies; many small nodes with dynamic allocation can elastically handle spikes without wasting resources on idle large nodes.
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.
- →
Designing data processing systems — study guide chapter
Learn the concepts, then practise the questions
- →
Designing data processing systems practice questions
Targeted practice on this topic area only
- →
All PDE questions
499 questions across all exam domains
- →
Google Professional Data Engineer study guide
Full concept coverage aligned to exam objectives
- →
PDE practice test guide
How to use practice tests most effectively before exam day
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.
Designing data processing systems practice questions
Practise PDE questions linked to Designing data processing systems.
Building and operationalizing data processing systems practice questions
Practise PDE questions linked to Building and operationalizing data processing systems.
Operationalizing machine learning models practice questions
Practise PDE questions linked to Operationalizing machine learning models.
Ensuring solution quality practice questions
Practise PDE questions linked to Ensuring solution quality.
PDE fundamentals practice questions
Practise PDE questions linked to PDE fundamentals.
PDE scenario practice questions
Practise PDE questions linked to PDE scenario.
PDE troubleshooting practice questions
Practise PDE questions linked to PDE troubleshooting.
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?
Designing data processing systems — This question tests Designing data processing systems — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Use a cluster with many small worker nodes and use Spark dynamic allocation. — Option D is correct because using many small worker nodes with Spark dynamic allocation allows the cluster to scale resources precisely to the workload, minimizing idle capacity and cost. Dynamic allocation enables executors to be added or removed based on the processing demands of the hourly CSV files, ensuring the job completes within the hour without over-provisioning nodes.
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.
Are there clue words in this question I should notice?
Yes — watch for: "minimum / minimize". Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.
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 →
Last reviewed: Jun 30, 2026
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.
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.
Sign in to join the discussion.