GCP Professional Data Engineer Practice Question

Your team built a DAG in Cloud Composer that, on every Pub/Sub message, launches a Dataflow Flex Template, updates a Firestore document, and then calls a partner HTTP API. Even with aggressive DAG scheduling the end-to-end orchestration latency is still several minutes, which violates an SLA requiring a response within 2 seconds from message arrival. You want to redesign only the orchestration layer while keeping the existing services unchanged. What should you do?

  • Keep Cloud Composer but disable DAG catchup and schedule the DAG every 30 seconds to reduce delay.

  • Move the orchestration logic into Cloud Tasks, placing one task per Pub/Sub message and executing it with a pull worker in Cloud Functions.

  • Convert the DAG into a Cloud Run job and invoke it every minute with Cloud Scheduler to orchestrate the steps.

  • Replace Cloud Composer with a Workflows definition triggered directly by Pub/Sub that sequentially invokes the Dataflow template, updates Firestore, and calls the partner HTTP API.

GCP Professional Data Engineer
Ingesting and processing the data
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot