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 enterprise financial organization is designing an automated ingestion and processing architecture to stream high-volume transaction records from Pub/Sub into BigQuery. The architecture must satisfy the following technical requirements:
Which ingestion pathway and processing approach should the organization implement?
The BigQuery Storage Write API is a unified, high-performance streaming and batch ingestion API integrated into Apache Beam's BigQueryIO connector in Dataflow. It provides low-latency streaming directly to BigQuery storage while enforcing strict transactional boundaries.
STORAGE_WRITE_API write method uses stream offset tracking and stream commits to guarantee that records are committed to BigQuery tables exactly once, avoiding duplicate records.PCollection accessed via getFailedStorageApiInserts(). This allows the pipeline to cleanly route bad records to a dead-letter queue or error table without causing the main streaming job to fail.Alternative ingestion approaches either cannot guarantee exactly-once processing (such as at-least-once modes), cause entire batch load failures upon a single row error (such as file loads), or incur extra operational latency. Using STORAGE_WRITE_API in BigQueryIO achieves exact-once reliability and fine-grained error isolation natively within the pipeline.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.