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 e-commerce company is designing an event-driven inventory management pipeline on Google Cloud. The system ingests high-volume inventory mutation events from physical stores and online checkouts through Pub/Sub and processes them using Cloud Dataflow before updating product inventory levels in BigQuery and downstream datastores.
The system must meet the following reliability and data integrity requirements:
Which architectural pattern should the data engineering team implement?
This architecture combines event-driven state-delta payloads, Dataflow deduplication, Pub/Sub dead-letter topics, and subscription snapshots/seek to achieve end-to-end transactional integrity, commutativity, and fault tolerance across a streaming ingestion pipeline.
{"inventory": -1}) rather than absolute state overwrite commands ensures that commutative state modifications remain mathematically consistent regardless of message arrival sequence. Applying Dataflow deduplication filters out duplicate deliveries inherent to Pub/Sub's at-least-once model using distinct message identifiers or record keys.This pattern balances high-throughput asynchronous scaling with strict data fidelity and ACID-like state consistency. It eliminates single-point-of-failure sequential bottlenecks while guaranteeing durable, idempotent data handling.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.