Question 347 of 499
Designing data processing systemseasyMultiple ChoiceObjective-mapped

Quick Answer

The answer is to read inventory data from BigQuery and pre-join in BigQuery, then export to Cloud Storage as ORC files. This is correct because BigQuery’s distributed query engine handles large-scale joins far more efficiently than Spark’s shuffle-heavy operations, especially when one dataset already resides in BigQuery. By performing the join before the Spark pipeline, you eliminate the expensive data transfer and shuffle across the network, and exporting to ORC—a columnar format Spark reads natively—preserves the optimization for subsequent aggregations. On the Google Professional Data Engineer exam, this scenario tests your understanding of hybrid architectures that offload heavy analytics to BigQuery while keeping Spark for lightweight transformations; a common trap is assuming Spark’s in-memory processing is always faster, but BigQuery’s serverless, auto-scaling engine is purpose-built for such joins. Remember the tip: “Join where the data lives”—if one source is already in BigQuery, pre-join there before exporting to Spark-friendly formats like ORC or Parquet.

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 large retail company processes point-of-sale transactions from thousands of stores daily. The current batch pipeline runs on Cloud Dataproc using Spark and takes 3 hours to complete. The business wants to reduce processing time to under 30 minutes. The pipeline reads from Cloud Storage, joins with inventory data from BigQuery, performs aggregations, and writes to Cloud SQL for reporting. What is the most effective optimization?

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

Read inventory data from BigQuery and pre-join in BigQuery, then export to Cloud Storage as ORC files

Option B is correct because it offloads the join operation to BigQuery, which is optimized for large-scale analytics and can process the join much faster than Spark. By pre-joining and exporting the result as ORC files (a columnar format optimized for Spark), the pipeline avoids the expensive shuffle and data transfer between Cloud Storage and BigQuery, significantly reducing the overall processing time to meet the 30-minute target.

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.

  • Migrate the pipeline to Cloud Dataflow with Apache Beam for auto-scaling

    Why it's wrong here

    Effective but requires significant code changes; might be overkill.

  • Read inventory data from BigQuery and pre-join in BigQuery, then export to Cloud Storage as ORC files

    Why this is correct

    Reduces data shuffle in Spark and speeds up processing.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Write intermediate results to Cloud SQL instead of BigQuery for faster access

    Why it's wrong here

    Cloud SQL is not designed for large-scale analytical joins; would bottleneck.

  • Increase the number of worker nodes in the Dataproc cluster

    Why it's wrong here

    Scalability helps but may not achieve 30 minutes; also higher cost.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume that simply scaling up the existing infrastructure (more workers or auto-scaling) is the most effective optimization, but Cisco tests the understanding that architectural changes to reduce data movement and leverage service-specific strengths (like BigQuery for joins) are far more impactful than brute-force scaling.

Detailed technical explanation

How to think about this question

BigQuery's internal architecture uses a columnar storage format (Capacitor) and a distributed query engine that can perform joins across petabytes of data in seconds, leveraging slot-based resource allocation. Exporting the pre-joined result as ORC files leverages Spark's native support for columnar formats, enabling predicate pushdown and efficient compression, which reduces I/O and processing time in the subsequent aggregations. In real-world scenarios, this approach is commonly used to decouple heavy analytical joins from streaming or batch pipelines, ensuring that the compute-intensive work is done by the most appropriate service.

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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

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: Read inventory data from BigQuery and pre-join in BigQuery, then export to Cloud Storage as ORC files — Option B is correct because it offloads the join operation to BigQuery, which is optimized for large-scale analytics and can process the join much faster than Spark. By pre-joining and exporting the result as ORC files (a columnar format optimized for Spark), the pipeline avoids the expensive shuffle and data transfer between Cloud Storage and BigQuery, significantly reducing the overall processing time to meet the 30-minute target.

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.