mediumMultiple Choice
Google ACE Practice Question: A team builds a document processing pipeline:…
A team builds a document processing pipeline: files are uploaded to Cloud Storage, then analyzed by Cloud Vision AI, results stored in Firestore, and a confirmation email sent. Each step depends on the previous. Which GCP service orchestrates these sequential, dependent steps reliably?
⚠ Common exam trap
Google Cloud often tests the distinction between asynchronous messaging (Pub/Sub, Tasks) and synchronous orchestration (Workflows), where candidates mistakenly choose a messaging service for sequential workflows because they focus on 'reliability' rather than 'ordered dependency management'.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Cloud Workflows
Cloud Workflows is designed to orchestrate sequential, dependent steps with built-in retry, error handling, and state management. It directly models the pipeline as a series of steps where each step's output feeds the next, without requiring manual chaining or intermediate messaging infrastructure.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Cloud Pub/Sub with a subscription per step
Why it's wrong here
Cloud Pub/Sub is a serverless, asynchronous messaging service that decouples producers from consumers; it does not manage workflow state or enforce a sequence between steps. Using a subscription per step would require manually tracking topics and subscriptions, and Pub/Sub does not natively guarantee message ordering, so coordinating dependent multi-step logic becomes a custom effort. You would need to build dead-letter queues, acknowledgement handling, and conditional routing yourself, making this approach unsuitable for orchestrated workflows.
- ✗
Cloud Tasks with per-step queues
Why it's wrong here
Cloud Tasks is a task queue service that dispatches HTTP requests to a target with configurable retries and schedule times; it operates as independent work items, not as a workflow state machine. Per-step queues could simulate a sequence by having each task trigger the next, but the service offers no built-in conditional branching, per-execution state, or dependency management. To implement anything beyond a simple linear pipeline, you must embed orchestration logic inside the task handlers, leading to duplicated code and poor operational visibility.
- ✓
Cloud Workflows
Why this is correct
Cloud Workflows is a fully managed orchestration service that defines steps in a YAML specification, allowing sequential or parallel execution, conditionals (e.g., if/switch), and subworkflows. It provides built-in retry with exponential backoff, timeout policies, and automatic state persistence, so every execution is logged and auditable. Direct connectors for Google Cloud services (like Cloud Run, Cloud Functions, BigQuery) let you call APIs without writing HTTP glue code, making it the correct choice for coordinating dependent multi-step pipelines with conditional logic and centralized error handling.
- ✗
Cloud Functions chained via HTTP calls
Why it's wrong here
Chaining Cloud Functions via HTTP calls creates a tight coupling where each function must know the URL of the next function and parse the response, making the system brittle and hard to maintain. Each function invocation is independent and stateless, so there is no centralized place to define retries, timeouts, or error propagation; any failure in the chain leaves the execution in an unknown state. The result is a linear pipeline with no built-in workflow state, conditional branching, or end-to-end visibility, which is exactly the problem a purpose-built orchestration service solves.
Go deeper
Related to this question
Learn chapter
Cloud Storage Bucket Security
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
Key term
Cloud storage
Cloud storage is a service that lets you save data on remote servers accessed over the internet instead of on your computer's hard drive.
About these practice questions
One of 775 original ACE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.