Prepare and test your skills

Prepare and test your skills

Free sample question, answered and explained below. The Professional Data Engineer practice bank has 1,353 more like it. Try 10 free: instant score, no account.
An enterprise e-commerce platform is designing a real-time event ingestion architecture on Google Cloud for order processing and inventory updates. The system must satisfy the following architectural and operational requirements:
merchant_id).Which messaging framework should the enterprise implement?
This architecture ingests events into a standard Pub/Sub topic where messages are distributed across internal servers without key affinity, leaving the responsibility of sorting and re-sequencing messages to an Apache Beam / Dataflow streaming pipeline using stateful buffering and windowing.
GroupByKey or session windowing transforms, adding compute cost.This pattern would be suitable if the downstream application only cared about event-time window aggregations (e.g., calculating 5-minute sales totals per merchant) rather than requiring strict sequential per-message transactional processing at ingestion.
This architecture deploys a managed Kafka service (such as Confluent Cloud) and attempts to route messages through intermediary Cloud Storage buckets using Cloud Storage Ingestion into Google Cloud Pub/Sub.
This pattern would be appropriate if the primary goal was migrating legacy Kafka logs into Cloud Storage for long-term cold analytical archiving, followed by periodic batch replay into Pub/Sub for analytical reprocessing.
merchant_idApache Kafka on GKE involves deploying distributed Kafka brokers, stateful storage volumes (Persistent Disks), and metadata controllers (KRaft or ZooKeeper) inside a Kubernetes cluster to manage partitioned, append-only log streams.
This approach would be appropriate if the organization required strict sub-millisecond end-to-end latency, long-term immutable log retention on self-managed storage, or compatibility with specialized Kafka Connect ecosystem plugins and custom byte-level protocols.
merchant_idGoogle Cloud Pub/Sub is a fully managed, serverless, globally distributed messaging service. When configured with ordering keys, Pub/Sub guarantees that messages published with the same key (such as merchant_id) are delivered to subscribers in the exact order they were received by the service, while still scaling horizontally across independent keys without requiring manual partition management.
merchant_id). When a subscriber client receives an ordered message, subsequent messages for that key are withheld until the earlier message is acknowledged.ack), negative acknowledgments (nack), automatic exponential backoff retries, and integrated dead-letter topics.merchant_id values while maintaining strict serialization within each specific merchant stream.Compared to managing Apache Kafka clusters, Pub/Sub delivers enterprise-grade ordering guarantees and elastic scale with zero operational overhead, making it the superior choice for cloud-native ingestion.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated