Cloud Digital Leader Google Cloud Products and Services Practice Question
A startup wants to deploy a containerized web application that can scale to zero during periods of no traffic, and they want to minimize operational overhead. Which Google Cloud compute service is the BEST fit?
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 Run
Cloud Run is a serverless container platform that automatically scales your containers up and down, including scaling to zero when there is no traffic. It abstracts away infrastructure management, making it ideal for this use case.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
App Engine Flexible Environment
Why it's wrong here
App Engine Flexible Environment deploys containers on managed Compute Engine VMs, so it inherits VM-based billing and cannot scale to zero—at least one instance must remain idle. It also demands more configuration for autoscaling, health checks, and updates, making it heavier than a fully serverless platform. While it supports custom runtimes and containers, it is not the right fit for a workload that needs automatic, zero-cost idle periods.
- ✗
Google Kubernetes Engine (GKE)
Why it's wrong here
Google Kubernetes Engine provides full container orchestration but requires you to design, scale, and patch the underlying node pools yourself; the control plane is managed, yet the cluster is still your responsibility. With standard GKE, cluster autoscaling cannot shrink to zero nodes because the control plane and cluster scaffolding must remain operational, and even Autopilot incurs overhead. For a simple web app, this operational weight is unnecessary compared to a fully managed serverless service.
- ✓
Cloud Run
Why this is correct
Cloud Run runs stateless containers on a fully managed, serverless platform that automatically scales from zero to thousands of instances based on incoming traffic, and you pay only for the processing time during active requests. It eliminates infrastructure management entirely—no cluster, VMs, or capacity planning—and supports fine-grained revisioning and traffic splitting. This makes it the ideal choice for a containerized web app that must scale to zero during idle periods.
- ✗
Compute Engine with managed instance groups
Why it's wrong here
Managed instance groups (MIGs) provide autoscaling by adding or removing Compute Engine VMs based on utilization, but they require you to maintain an instance template, boot disks, and OS patches for every VM. While an autoscaler could theoretically target zero instances, a web app would lose all availability because a new VM takes minutes to provision and initialize, making it unusable for on-demand traffic. You also still incur cost and operational overhead for any running VM, so it does not provide the same zero-scale economics as a serverless platform.
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
Serverless
Serverless is a cloud computing model where the cloud provider manages the servers, and you only pay for the actual compute time your code uses, without having to worry about provisioning or maintaining infrastructure.
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.
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.