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.
A global enterprise is designing an event-driven data processing pipeline to ingest high-throughput telemetry streams from Apache Kafka, apply windowed aggregations, and perform machine learning inference before sinking the results into analytical storage.
The enterprise has strict data portability and multi-cloud governance policies requiring that:
Which framework and architecture should the organization implement?
Apache Beam is an open-source, unified programming model for defining both batch and streaming data-parallel processing pipelines. When running on Google Cloud, the pipeline is submitted to Cloud Dataflow, which acts as a fully managed runner that provisions resources, handles horizontal autoscaling, optimizes execution graphs, and manages stateful stream processing.
PCollection and PTransform) that handles both bounded (batch) and unbounded (streaming) datasets with advanced event-time windowing, watermarks, and trigger semantics.RunInference and MLTransform for integrated machine learning workflows.Choosing Apache Beam with Cloud Dataflow directly satisfies the strict constraint of multi-cloud code portability while still allowing the organization to capitalize on a fully managed, serverless execution runtime on Google Cloud.
This architecture uses Cloud Composer (managed Apache Airflow) to orchestrate scheduled directed acyclic graphs (DAGs) that trigger BigQuery procedural SQL statements, stored procedures, and ELT jobs.
The requirement was to perform scheduled batch transformations and aggregations directly within a central Google Cloud data warehouse without requiring continuous streaming from message buses.
To process data into BigQuery from streaming sources using Beam, pipelines typically use BigQueryIO or direct streaming inserts rather than scheduled SQL scripts.
This approach relies directly on proprietary Google Cloud client libraries, custom worker agents, or platform-specific APIs to manage ingestion, event processing, and external sinks instead of adhering strictly to standard Beam abstractions.
The workload was exclusively intended to run inside Google Cloud Platform with no requirements for hybrid deployment, open-source portability, or alternative runner execution.
Cloud Dataflow templates themselves are built on top of the Apache Beam SDK. Attempting to bypass standard Beam abstractions to write proprietary client integrations negates the portability benefits inherent to Dataflow.
Cloud Functions is a serverless function-as-a-service (FaaS) product that executes modular code in response to specific events (such as Pub/Sub messages or Cloud Storage object creations).
The organization needed lightweight, asynchronous, single-event reactions (such as triggering an alert or sending an email notification upon a single message arrival).
Complex streaming pipelines require dedicated distributed processing engines like Apache Beam on Cloud Dataflow to maintain state, manage memory, and guarantee exactly-once processing semantics.
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