Cloud Digital Leader Why cloud technology is transforming business Practice Question
A retail chain with 500 stores wants to implement dynamic pricing — adjusting prices in real-time based on demand signals, competitor pricing, inventory levels, and weather forecasts. This requires processing millions of data points and updating prices across all stores within minutes. Which cloud capabilities make this possible?
⚠ Common exam trap
Google Cloud often tests the misconception that replacing an on-premises system with a cloud-hosted ERP (Option C) is sufficient for real-time processing, when in fact dynamic pricing requires dedicated stream processing and ML services, not just a migrated ERP.
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
✓
Real-time stream processing (Pub/Sub + Dataflow) combined with ML model serving (Vertex AI) to ingest signals and compute optimized prices at scale.
It combines real-time stream processing (Pub/Sub for ingesting millions of data points, Dataflow for processing them with low latency) with ML model serving (Vertex AI) to compute optimized prices on the fly. This architecture enables the sub-minute price updates required for dynamic pricing across 500 stores, leveraging Google Cloud's serverless, auto-scaling capabilities.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
A relational database that stores all prices with daily batch updates from a pricing spreadsheet.
Why it's wrong here
A relational database with daily batch updates from a spreadsheet is fundamentally mismatched to sub-hourly price optimization. By the time batch jobs copy rows overnight, market signals, competitor prices, and demand shifts are already stale, so any price derived from that data is obsolete before it is displayed. Even if the batch interval were shortened, the pipeline still relies on manual spreadsheet export and lacks the low-latency, event-driven ingestion needed for true real-time pricing.
- ✓
Real-time stream processing (Pub/Sub + Dataflow) combined with ML model serving (Vertex AI) to ingest signals and compute optimized prices at scale.
Why this is correct
This architecture directly implements the required behavior: Pub/Sub ingests a continuous stream of events such as web traffic, competitor price feeds, and inventory levels, while Dataflow performs windowed feature computation and invokes a Vertex AI model to score the optimal price per product. Because Dataflow auto-scales its worker pool, millions of events per minute can be processed without manual capacity planning, and Vertex AI's online prediction service returns scored prices in the tens of milliseconds. The resulting price updates are written to a serving database and pushed to the storefront, enabling true minutes-level dynamic pricing.
- ✗
A cloud-hosted ERP system that replaces the on-premises inventory management system.
Why it's wrong here
Migrating the on-premises inventory management system to a cloud ERP like SAP S/4HANA Cloud or Oracle Fusion improves data consistency and availability but does not add real-time pricing capabilities. An ERP is designed for transactional processes—order management, procurement, financials—and although it may expose inventory levels via APIs, it is not a low-latency stream-processing and ML-inference platform. The scenario requires continuous signal ingestion and model-based price optimization, which remains outside an ERP's functional scope even when hosted on Google Cloud.
- ✗
A static website hosted on Cloud Storage that displays current prices.
Why it's wrong here
A static website hosted on Cloud Storage serves identical HTML, CSS, and JavaScript to every visitor until an operator manually uploads new files. It has no compute runtime, no database connection, and no ability to read live signals, so it cannot alter a price in response to demand, competition, or inventory changes. Even if client-side JavaScript fetched data, the pricing logic and data storage would still need to live elsewhere, making the static host an irrelevant component of a dynamic pricing solution.
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
Learn chapter
Cloud Digital Transformation
Key term
Google Cloud
Google Cloud is a suite of cloud computing services offered by Google that provides infrastructure, platform, and software solutions over the internet.
Key term
Vertex AI
Vertex AI is a unified platform from Google Cloud that lets you build, deploy, and scale machine learning models using a single set of tools and services.
About these practice questions
One of 829 original GCDL 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 GCDL 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 GCDL exam.