D2: Processing Logic & Exactly-Once
Google Cloud Professional Data Engineer exam practice questions · 10 flashcards
Question
Exactly-once in Dataflow?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Processing Logic & Exactly-Once practice questions and answers
- Exactly-once in Dataflow?Dataflow provides exactly-once processing for streaming (with idempotent sinks).
- How to deduplicate by message ID?Use unique IDs/attributes and dedup transforms.
- What is stateful processing?Keeping per-key state across elements (state and timers in Beam).
- Why use idempotent writes?Retries won't create duplicates.
- How to handle hot keys?Combine with fanout or key salting.
- How to join streams with reference data?Side inputs with periodic refresh.
- Combine vs GroupByKey?Combine performs partial aggregation for efficiency.
- How to handle schema changes in streams?Flexible formats, versioned schemas, dead-letter handling.
- Pub/Sub schemas?Enforce Avro/Protobuf message schemas on topics.
- Why separate bad records?Pipelines continue while errors are investigated.