Courseiva
Google Cloud Products and ServiceseasyMultiple ChoiceObjective-mapped

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

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

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 →

How Courseiva writes practice questions · Editorial policy

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.