Cloud Digital Leader Google Cloud Products and Services Practice Question
A team is developing a machine learning model using TensorFlow. They want to train the model on a large dataset stored in Cloud Storage, using GPUs, and then deploy the trained model for online predictions with autoscaling. Which GCP service should they use for the entire workflow?
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
✓
Vertex AI
Vertex AI is a unified ML platform that provides training (with GPU support), model management, and deployment for online predictions with autoscaling. Cloud Functions, AI Platform (now part of Vertex AI), and Compute Engine are not unified end-to-end.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Vertex AI
Why this is correct
Vertex AI provides a unified managed platform that covers the full ML lifecycle: training with custom or pre-built containers on GPU/TPU, versioning in a Model Registry, and deployment to prediction endpoints with built-in autoscaling based on traffic. It eliminates the need to manually configure infrastructure, allows custom model serving for any framework, and offers MLOps capabilities like monitoring and drift detection. This makes it the recommended service for training and serving TensorFlow models.
- ✗
AI Platform (legacy)
Why it's wrong here
AI Platform (legacy) originated as a separate ML platform and is now absorbed into Vertex AI as a legacy service. While it supports training and prediction, it lacks integration with Vertex AI's unified pipelines, feature store, and model monitoring, and Google is not investing in new features for it—only maintenance. The correct choice for new projects is Vertex AI because it provides a consistent interface for batch and online prediction, as well as a migration path from legacy AI Platform.
- ✗
Cloud Functions
Why it's wrong here
Cloud Functions is an event-driven, serverless compute service designed for short-lived, single-purpose functions (e.g., webhooks, lightweight data processing). It does not support GPUs, imposes strict execution timeouts (typically up to 540 seconds), and is not built for long-running ML training or continuous HTTP model serving with autoscaling. Consequently, it cannot handle TensorFlow training or production-grade online inference where request patterns are variable and require model-specific infrastructure.
- ✗
Compute Engine with pre-installed ML frameworks
Why it's wrong here
Compute Engine with pre-installed ML frameworks gives you raw VMs, which require you to manually manage GPU drivers, framework versions, and serving dependencies. To achieve autoscaling for prediction, you must build your own infrastructure: set up instance groups, health checks, load balancers, and metrics-based autoscaling policies—all of which Vertex AI provides out of the box. This operational overhead increases risk and maintenance burden, and it is not a purpose-built solution for the end-to-end ML workflow.
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
Compute Engine
Compute Engine is Google Cloud's Infrastructure-as-a-Service (IaaS) offering that lets you create and run virtual machines on Google's infrastructure.
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
This GCDL question is part of Courseiva's 829-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 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.