Courseiva
Ingesting and Processing the DatahardMultiple ChoiceObjective-mapped

PDE Ingesting and Processing the Data Practice Question

A data pipeline uses Pub/Sub to ingest events, a Dataflow streaming pipeline to process them, and writes results to BigQuery. The pipeline must handle occasional duplicate events without causing duplicate rows in BigQuery. What is the best approach?

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 BigQuery legacy streaming inserts with insertId for deduplication

BigQuery does not enforce primary keys; deduplication must be handled in the pipeline using idempotent writes or a dedup step.

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 BigQuery legacy streaming inserts with insertId for deduplication

    Why this is correct

    Legacy streaming inserts use insertId to deduplicate within a short window.

  • Use the Storage Write API with the committed stream

    Why it's wrong here

    Committed stream does not deduplicate; duplicates may still occur.

  • Set a unique constraint on the BigQuery table

    Why it's wrong here

    BigQuery does not support unique constraints.

  • Enable exactly-once processing in Pub/Sub

    Why it's wrong here

    Pub/Sub offers at-least-once delivery; no exactly-once guarantee.

About these practice questions

Courseiva writes every PDE question from scratch — 890 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.