professional-cloud-data-engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An ecommerce company runs an Apache Beam streaming pipeline on Google Cloud Dataflow to track product inventory updates from high-throughput retail transactions. The pipeline performs stateful aggregations using Combine.perKey within fixed temporal windows configured with early and late triggers to handle incremental updates and late-arriving data.
The resulting inventory totals must be written to Cloud Spanner. Because streaming Dataflow pipelines retry failed worker tasks indefinitely, the write mechanism must be fully idempotent, prevent primary key collision errors during retries or multiple trigger firings for the same window key, and maintain exactly-once sink semantics without pipeline stalls.
Which approach should you implement to write the aggregated inventory totals to Cloud Spanner?
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.