Question 395 of 499
Designing data processing systemseasyMultiple ChoiceObjective-mapped

Quick Answer

The answer is to switch to high-memory machine types like n1-highmem-4. This is the most cost-effective change because the job is memory-intensive, and the n1-standard-4 workers provide only 15 GB of RAM, causing excessive disk spill or out-of-memory errors that cripple performance. By moving to n1-highmem-4, you get 26 GB of RAM per worker—a 73% increase—without adding vCPUs, directly resolving the memory bottleneck at a lower cost than scaling out with more workers. On the Google Professional Data Engineer exam, this scenario tests your ability to match machine types to workload characteristics, specifically distinguishing between memory-optimized and general-purpose families. A common trap is to add more workers, which increases vCPU overhead and licensing costs without fixing the root memory shortage. Memory tip: For memory-intensive Dataproc workloads, think “highmem, not more nodes.”

PDE Designing data processing systems Practice Question

This PDE practice question tests your understanding of designing 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.

A data engineer is running a Dataproc cluster for a batch ETL job that needs to process 10 TB of data. The job is memory-intensive. The cluster currently uses n1-standard-4 workers. Performance is poor. What is the most cost-effective change to improve performance?

Question 1easymultiple 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

Use high-memory machine types (n1-highmem-4)

The job is memory-intensive, and n1-standard-4 workers have 15 GB of RAM, which may be insufficient for the workload, causing excessive disk spill or OOM errors. Switching to n1-highmem-4 provides 26 GB of RAM per worker (a 73% increase) without increasing vCPU count, directly addressing the memory bottleneck at a lower cost than adding more workers. This is the most cost-effective change because it improves performance without incurring the overhead of additional vCPUs or licensing costs.

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 high-memory machine types (n1-highmem-4)

    Why this is correct

    High-memory machines provide more memory per core, better for memory-bound jobs.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use preemptible workers to reduce cost

    Why it's wrong here

    Preemptible workers can be terminated, not suitable for memory-intensive tasks.

  • Switch to n2-standard-4 machine types

    Why it's wrong here

    Similar memory/cpu ratio, not an improvement.

  • Add more n1-standard-4 workers

    Why it's wrong here

    May not help if memory per worker is insufficient.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume adding more workers (scaling out) is always the best way to improve performance, but for memory-intensive jobs, scaling up (using high-memory instances) is more cost-effective because it addresses the root cause—per-worker memory pressure—without wasting resources on additional vCPUs.

Trap categories for this question

  • Similar concept trap

    Similar memory/cpu ratio, not an improvement.

Detailed technical explanation

How to think about this question

In Dataproc, memory-intensive jobs like large shuffles or in-memory aggregations often hit the YARN container memory limit, causing tasks to spill to disk or fail. n1-highmem-4 instances have a memory-to-vCPU ratio of 6.5 GB per vCPU versus 3.75 GB for n1-standard-4, which aligns better with memory-bound workloads. Under the hood, YARN's `yarn.nodemanager.resource.memory-mb` and Spark's `spark.executor.memory` must be tuned to match the new instance type; simply switching machine types without adjusting these parameters may not yield full benefit.

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?

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 high-memory machine types (n1-highmem-4) — The job is memory-intensive, and n1-standard-4 workers have 15 GB of RAM, which may be insufficient for the workload, causing excessive disk spill or OOM errors. Switching to n1-highmem-4 provides 26 GB of RAM per worker (a 73% increase) without increasing vCPU count, directly addressing the memory bottleneck at a lower cost than adding more workers. This is the most cost-effective change because it improves performance without incurring the overhead of additional vCPUs or licensing costs.

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 24, 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.