Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Associate Data Practitioner practice bank has 1,132 more like it. Try 10 free: instant score, no account.
A data engineering team is designing an analytics workflow in Google Cloud that consists of several dependent steps:
To prevent race conditions, each step must execute only after the previous step completes successfully rather than relying on estimated time delays.
How should the team implement this workflow using Cloud Composer?
BigQuery scheduled queries allow users to automate recurring SQL queries on a recurring schedule (for example, every hour or every day at midnight). Each scheduled query runs independently as an isolated BigQuery job managed natively within the BigQuery service.
The requirement involved running a single, self-contained SQL aggregation query on an existing dataset once per day where no upstream or downstream dependencies needed to be coordinated.
Cloud Scheduler is a fully managed enterprise cron job service. It allows you to trigger target endpoints (such as HTTP endpoints, Pub/Sub topics, or App Engine services) on recurring time schedules using standard cron syntax.
The scenario called for a lightweight, serverless mechanism to trigger a single recurring webhook or kick off an entire Cloud Composer DAG on a recurring schedule.
This approach involves writing custom shell scripts using the bq CLI tool or BigQuery client libraries, uploading them to Cloud Storage, and attempting to execute them in an ad-hoc virtual machine, container, or background process.
You were simply archiving migration scripts or manual administration tools into Cloud Storage for backup and administrative reference.
Cloud Composer is a fully managed workflow orchestration service built on Apache Airflow. In Airflow, workflows are authored as Directed Acyclic Graphs (DAGs) using standard Python code. A DAG defines a collection of all tasks to run, organized in a way that reflects their relationships and dependencies without circular loops.
task_a >> task_b) or relationship methods.upstream_failed and skipped or retried according to configured retry policies.
Simple time-based schedulers (such as Cloud Scheduler or independent BigQuery scheduled queries) trigger jobs at fixed clock times without knowing whether previous jobs finished or failed. Modeling pipelines as DAGs in Cloud Composer ensures data integrity, handles variable task runtimes gracefully, and provides comprehensive monitoring and alerting.
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