PDE Maintaining and Automating Data Workloads Practice Question
You need to orchestrate a simple, linear workflow that calls several Cloud Functions and API endpoints sequentially with conditional logic. The workflow should be defined as code and have minimal overhead. Which GCP service should you use?
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
✓
Workflows
Workflows is a serverless orchestration service that uses YAML/JSON to define workflows. It is ideal for simpler, linear or conditional orchestrations without the need for full Airflow 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 Tasks
Why it's wrong here
Cloud Tasks queues asynchronous HTTP tasks for deferred or rate-limited execution; it cannot express sequential steps, conditional branching, or workflow-as-code definitions. Workflows does that. Cloud Tasks is tempting for invoking endpoints reliably, and would be correct for decoupling producers from consumers or throttling delivery to a target service.
- ✓
Workflows
Why this is correct
Workflows orchestrates sequential steps with conditional branching, defined declaratively in YAML or JSON, and natively invokes Cloud Functions and HTTP endpoints. This satisfies the stem's need for a linear, code-defined workflow with minimal operational overhead.
- ✗
Dataflow
Why it's wrong here
Dataflow is a managed Apache Beam service for batch and streaming data processing pipelines, not for orchestrating sequential function and API calls with conditional branching. It would be the right choice when transforming or analysing large datasets, but the scenario requires a lightweight workflow engine defined as code, which is Workflows.
- ✗
Cloud Composer
Why it's wrong here
Cloud Composer, based on Apache Airflow, introduces significant operational overhead due to its underlying infrastructure, directly contradicting the "minimal overhead" requirement for a simple, linear workflow. While it defines workflows as code, its resource footprint is disproportionate for this specific use case. It is tempting as a workflow orchestrator, but it is actually designed for complex, scheduled data pipelines and ETL processes requiring robust dependency management and monitoring across numerous disparate services.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
Go deeper
Related to this question
About these practice questions
This PDE question is part of Courseiva's 747-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PDE 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 PDE exam.