- A
Increase the number of worker nodes for faster processing.
Why wrong: More nodes increase cost.
- B
Use high-memory machine types for master node.
Why wrong: High-memory is more expensive.
- C
Use preemptible VMs for worker nodes.
Preemptible VMs are much cheaper.
- D
Attach local SSDs to all nodes.
Why wrong: Local SSDs increase cost.
- E
Delete the cluster after the job completes.
Deleting avoids paying for idle time.
Quick Answer
The correct answer is to delete the cluster after the job completes and to use preemptible VMs. These two actions directly reduce Dataproc cost because preemptible VMs, which Compute Engine can terminate at any time, offer a steep discount over standard instances, making them ideal for fault-tolerant, stateless nightly batch jobs. Deleting the cluster when idle eliminates ongoing compute charges for unused resources, a core best practice for ephemeral workloads. On the Google Professional Data Engineer exam, this scenario tests your understanding of cost optimization for transient, fault-tolerant pipelines—a common trap is keeping a cluster alive for convenience, which incurs unnecessary costs. Remember the memory tip: “Kill and chill”—kill the cluster after the job, and chill with preemptibles for the heavy lifting.
PDE Practice Question: Building and operationalizing data processing systems
This PDE practice question tests your understanding of building and operationalizing data processing systems. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. 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.
Which TWO actions can reduce the cost of running a Dataproc cluster for a nightly batch job?
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 preemptible VMs for worker nodes.
Preemptible VMs (Option C) are significantly cheaper than standard VMs because Compute Engine can terminate them at any time, making them ideal for fault-tolerant, stateless batch jobs like nightly data processing on Dataproc. Deleting the cluster after the job completes (Option E) eliminates ongoing compute costs for idle resources, which is a best practice for ephemeral workloads.
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.
- ✗
Increase the number of worker nodes for faster processing.
Why it's wrong here
More nodes increase cost.
- ✗
Use high-memory machine types for master node.
Why it's wrong here
High-memory is more expensive.
- ✓
Use preemptible VMs for worker nodes.
Why this is correct
Preemptible VMs are much cheaper.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Attach local SSDs to all nodes.
Why it's wrong here
Local SSDs increase cost.
- ✓
Delete the cluster after the job completes.
Why this is correct
Deleting avoids paying for idle time.
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 scaling up resources (more nodes or faster hardware) always reduces cost by shortening runtime, but in reality, the increased per-hour cost usually outweighs the time savings for batch jobs.
Detailed technical explanation
How to think about this question
Preemptible VMs in Dataproc are charged at a much lower rate (typically about 60-80% less than standard VMs) but can be preempted within 30 seconds of a termination notice. Dataproc automatically handles preemption by restarting failed tasks on remaining workers, making this cost-saving measure safe for batch jobs that can tolerate interruptions. Deleting the cluster stops all VM instances and associated persistent disks, ensuring no further compute charges accrue, while job history and logs can be retained in Cloud Storage or Stackdriver.
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: Use preemptible VMs for worker nodes. — Preemptible VMs (Option C) are significantly cheaper than standard VMs because Compute Engine can terminate them at any time, making them ideal for fault-tolerant, stateless batch jobs like nightly data processing on Dataproc. Deleting the cluster after the job completes (Option E) eliminates ongoing compute costs for idle resources, which is a best practice for ephemeral workloads.
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 →
Same concept, more angles
1 more ways this is tested on PDE
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A data pipeline uses Cloud Composer (Airflow) to orchestrate Dataproc jobs. Each job submits a Spark application that reads from BigQuery and writes to Cloud Storage. The pipeline runs nightly and takes 6 hours. Management wants to reduce costs. Which approach is most effective?
medium- ✓ A.Use preemptible VMs for the Dataproc cluster
- B.Switch to Cloud Dataproc billing per second instead of per minute
- C.Increase the memory of the driver node to improve performance
- D.Upgrade the Cloud Storage class from Standard to Nearline
Why A: Preemptible VMs are significantly cheaper (up to 80% discount) than standard VMs and are ideal for fault-tolerant, batch workloads like nightly Dataproc jobs. Since the pipeline runs nightly and takes 6 hours, it can tolerate the occasional preemption of worker nodes by using Spark's built-in resilience (e.g., task retries). This directly reduces compute cost without sacrificing completion, assuming the cluster is configured with enough preemptible workers to handle the workload.
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.