- A
Upgrade the worker machine type to n1-standard-8 with local SSDs for shuffle storage.
Why wrong: Local SSDs are ephemeral and cannot be used for intermediate shuffle data; also more expensive.
- B
Increase the persistent disk size on each worker node to 100 GB.
More disk space per worker allows shuffles to complete without quota errors.
- C
Add more preemptible workers to the cluster and keep boot disk size at 10GB.
Why wrong: Adding workers increases total disk but each worker still has only 10GB; shuffle data is stored locally on the workers doing the shuffle.
- D
Use Cloud Dataflow instead of Dataproc, as it handles disk management transparently.
Why wrong: Migration to Dataflow is a significant effort and may not directly address disk quota issues.
Quick Answer
The answer is to increase the persistent disk size on each worker node to 100 GB. This directly resolves the Dataproc disk quota exceeded error because the 10 GB disks are too small to hold intermediate shuffle data, which PySpark writes to local storage during wide transformations like joins or aggregations. As data volume grows, the shuffle spill exceeds the disk quota, causing job failures. On the Google Professional Data Engineer exam, this scenario tests your understanding of Dataproc’s ephemeral storage architecture and the distinction between compute resources (vCPUs, memory) and disk resources for shuffle operations. A common trap is to upgrade the machine type or add local SSDs, which is more expensive and unnecessary; simply increasing the persistent disk size is the cost-effective fix that scales with data growth. Memory tip: “Shuffle spills need disk thrills”—when you see disk quota errors in Dataproc, think bigger persistent disks, not bigger machines.
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 healthcare analytics company runs a nightly Dataproc workflow that reads radiology reports from Cloud Storage (CSV files), transforms them using PySpark, and writes results to BigQuery. The workflow is orchestrated by Cloud Composer. Recently, the job has started failing with 'Disk quota exceeded' errors on the worker nodes. The data volume has grown 5x over the past month. Currently, the cluster uses 5 n1-standard-4 workers (each 10GB persistent disk). The PySpark jobs heavily use intermediate shuffles. You need a cost-effective solution that avoids future failures as data grows. What should you do?
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
Increase the persistent disk size on each worker node to 100 GB.
The 'Disk quota exceeded' error occurs because the 10 GB persistent disks on the n1-standard-4 workers are too small to accommodate the intermediate shuffle data, which has grown 5x. Increasing the persistent disk size to 100 GB directly addresses the storage bottleneck without changing the machine type or incurring the cost of local SSDs, making it a cost-effective solution that scales with data growth.
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.
- ✗
Upgrade the worker machine type to n1-standard-8 with local SSDs for shuffle storage.
Why it's wrong here
Local SSDs are ephemeral and cannot be used for intermediate shuffle data; also more expensive.
- ✓
Increase the persistent disk size on each worker node to 100 GB.
Why this is correct
More disk space per worker allows shuffles to complete without quota errors.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Add more preemptible workers to the cluster and keep boot disk size at 10GB.
Why it's wrong here
Adding workers increases total disk but each worker still has only 10GB; shuffle data is stored locally on the workers doing the shuffle.
- ✗
Use Cloud Dataflow instead of Dataproc, as it handles disk management transparently.
Why it's wrong here
Migration to Dataflow is a significant effort and may not directly address disk quota issues.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may over-engineer the solution by upgrading machine types or switching to a different service (Dataflow) when the root cause is simply insufficient disk space for shuffle data, which is easily fixed by increasing the persistent disk size.
Detailed technical explanation
How to think about this question
In Dataproc, shuffle data is stored on the worker's persistent disk by default (in the /tmp or /hadoop/yarn/local directories). When intermediate shuffle data exceeds the available disk space, the job fails with 'Disk quota exceeded'. Increasing persistent disk size is the simplest fix; note that you can also configure `spark.shuffle.service.enabled` or use `spark.local.dir` to point to attached SSDs, but for cost-effectiveness, resizing the boot disk is preferred. Real-world scenarios often see this when data volumes grow unpredictably, and resizing disks is a standard operational practice.
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.
- →
Building and operationalizing data processing systems — study guide chapter
Learn the concepts, then practise the questions
- →
Building and operationalizing 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?
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: Increase the persistent disk size on each worker node to 100 GB. — The 'Disk quota exceeded' error occurs because the 10 GB persistent disks on the n1-standard-4 workers are too small to accommodate the intermediate shuffle data, which has grown 5x. Increasing the persistent disk size to 100 GB directly addresses the storage bottleneck without changing the machine type or incurring the cost of local SSDs, making it a cost-effective solution that scales with data growth.
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 →
Keep practising
More PDE practice questions
- A company wants to process large CSV files stored in Cloud Storage and load them into BigQuery. The files are generated…
- A company runs a Dataflow streaming pipeline that reads from Cloud Pub/Sub and writes to BigQuery. The pipeline uses a s…
- Your company uses Vertex AI Pipelines to automate model retraining. The pipeline has three steps: data extraction from B…
- A data science team uses Vertex AI Pipelines to automate retraining. They want to ensure that only models with performan…
- A company needs to process real-time clickstream data and store it in a data warehouse for SQL-based analytics. The data…
- The exhibit shows an IAM policy for a BigQuery dataset. A Dataflow job is failing with 'Access Denied: Table ... User do…
Last reviewed: Jun 24, 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.