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.
A data engineering team manages a daily batch pipeline orchestrated by Cloud Composer that processes terabytes of transactional log files from Cloud Storage into partitioned BigQuery tables. Recently, transient worker pod evictions and network timeouts have triggered task retries, resulting in duplicate data rows in BigQuery and failed task executions caused by exhausted worker disk space.
You need to re-architect the workflow orchestration to ensure fault tolerance, prevent duplicate records during task retries (idempotency), and prevent worker resource exhaustion.
Which architectural strategy should you implement?
This architecture establishes an idempotent, serverless batch ELT pipeline managed by Cloud Composer that offloads heavy compute and storage operations to BigQuery and Cloud Storage, while leveraging declarative Airflow retry mechanisms.
WRITE_TRUNCATE targeting a specific partition decorator (e.g., table$20260330) or executing atomic SQL MERGE statements guarantees that re-running a failed or evicted task completely overwrites or reconciles the specific partition, eliminating duplicate records upon retry.default_args allows Airflow to cleanly recover from transient errors without human intervention.retries, retry_delay, retry_exponential_backoff).Batch pipelines must decouple orchestration from data execution. Cloud Composer functions optimally as an orchestrator rather than a heavy execution engine. Offloading batch transforms to BigQuery and configuring atomic partition-level overwrites ensures exact-once semantics and maximum pipeline resilience.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.