- A
At-least-once delivery mode
Why wrong: Ensures no data loss but may cause duplicates; does not provide recovery from worker failure.
- B
Exactly-once processing mode
Why wrong: Ensures semantic correctness but does not automatically resume from failure.
- C
Snapshot-based recovery
Allows periodic saving of pipeline state and resumption from saved snapshots.
- D
Streaming engine
Why wrong: Improves worker startup time but does not provide recovery from failure.
Quick Answer
The answer is snapshot-based recovery, which is the correct feature because Dataflow snapshots capture the entire pipeline state, including the current position in each Pub/Sub subscription and the state of all transforms, enabling the pipeline to resume processing from the exact point of failure without data loss. This ensures exactly-once processing semantics for recovered data, making it ideal for real-time clickstream pipelines where data integrity is critical. On the Google Professional Data Engineer exam, this topic tests your understanding of Dataflow worker failure recovery mechanisms, often appearing in scenario-based questions that contrast snapshots with checkpoints or streaming engine. A common trap is confusing snapshots with checkpoints—snapshots are user-initiated and preserve the full pipeline state for manual recovery, while checkpoints are automatic and internal. Remember the memory tip: “Snapshots save the whole show, checkpoints just keep the tempo.”
PDE Designing data processing systems Practice Question
This PDE practice question tests your understanding of designing 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.
An e-commerce company processes real-time clickstream data using Pub/Sub and Dataflow. They want to ensure that if a Dataflow worker fails, the pipeline can resume processing from the point of failure without data loss. Which feature should they enable?
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
Snapshot-based recovery
Snapshot-based recovery (Option C) is the correct feature because Dataflow snapshots capture the entire pipeline state, including the current position in each Pub/Sub subscription and the state of all transforms. If a worker fails, the pipeline can be resumed from the exact snapshot point, ensuring no data loss and exactly-once processing semantics for the recovered data.
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.
- ✗
At-least-once delivery mode
Why it's wrong here
Ensures no data loss but may cause duplicates; does not provide recovery from worker failure.
- ✗
Exactly-once processing mode
Why it's wrong here
Ensures semantic correctness but does not automatically resume from failure.
- ✓
Snapshot-based recovery
Why this is correct
Allows periodic saving of pipeline state and resumption from saved snapshots.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Streaming engine
Why it's wrong here
Improves worker startup time but does not provide recovery from failure.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud often tests the misconception that exactly-once processing alone guarantees failure recovery, but it only prevents duplicates during normal operation, not resumption after a worker crash.
Detailed technical explanation
How to think about this question
Dataflow snapshots work by checkpointing the state of all PCollections and the current offset of each Pub/Sub subscription into a persistent location (e.g., Cloud Storage). When a snapshot is used for recovery, the pipeline is restarted from that exact state, and Pub/Sub subscriptions are rewound to the saved offset, ensuring no messages are lost or duplicated. In real-world scenarios, snapshots are critical for long-running pipelines with stateful transforms (e.g., windowed aggregations) where a failure could otherwise cause data loss or incorrect results.
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 cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
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.
- →
Designing data processing systems — study guide chapter
Learn the concepts, then practise the questions
- →
Designing 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?
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: Snapshot-based recovery — Snapshot-based recovery (Option C) is the correct feature because Dataflow snapshots capture the entire pipeline state, including the current position in each Pub/Sub subscription and the state of all transforms. If a worker fails, the pipeline can be resumed from the exact snapshot point, ensuring no data loss and exactly-once processing semantics for the recovered data.
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 →
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.