Google PDE: Messaging, Event Ingestion and Real-Time Services — Study Guide

Part of the Google Professional Data Engineer — Study Guide. Practice with verified answers in the Google exam hub, or take timed practice tests on ExamRoll.io.

Overview

Messaging, event ingestion, and real-time services on Google Cloud center on Cloud Pub/Sub and Eventarc for decoupled, durable transport; Dataflow for stateful stream processing; and sinks such as BigQuery, Cloud Storage, and operational databases. Designing for at-least-once delivery, idempotent consumption, and observability ensures resilient systems that scale elastically while maintaining correctness under failure, backpressure, and schema evolution.

Core Messaging with Pub/Sub

Trade-offs:

Delivery Semantics, Acknowledgment, Retention, and Dead Lettering

Example: gcloud pubsub subscriptions create orders-sub
–topic=orders
–dead-letter-topic=orders-dlt
–max-delivery-attempts=10

Delivery semantics summary:

Schemas, Compatibility, and Validation

Short Avro example (excerpt): { “type”:“record”,“name”:“Order”, “fields”:[ {“name”:“order_id”,“type”:“string”}, {“name”:“ts”,“type”:{“type”:“long”,“logicalType”:“timestamp-micros”}}, {“name”:“amount”,“type”:[“null”,“double”],“default”:null} ] }

Event-Driven Integration, Eventarc, and Kafka Interoperability

Streaming Ingestion Patterns, Throughput, Scaling, Security, and Operations

Practical Problem Scenario

Contoso Freight needs a global, real-time eventing platform to ingest 10,000 IoT telemetry messages per minute from trucks, enrich events, power interactive analytics, and trigger workflows on file drops from external partners. Some partner CSVs contain malformed rows, and the analytics team must inspect errors without blocking the stream.

  1. Create the core messaging and schema layer
  1. Provision subscriptions with isolation and dead-lettering
  1. Build a Dataflow streaming pipeline for enrichment and sinks
  1. Handle duplicates and eventual consistency in analytics
  1. Integrate partner file drops with Eventarc
  1. Secure the platform
  1. Operate and scale reliably

This design delivers resilient, secure, and observable real-time ingestion with event-driven batch integration, supports duplicate tolerance and schema evolution, and offers fast analytics while isolating bad data for targeted remediation.


Stream Processing with Dataflow and Apache Beam · All domains · Spark

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Google →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product