Google ACE Deploying and Implementing a Cloud Solution Practice Question
A developer wants to deploy a containerized application on Google Cloud that automatically scales to zero when not in use and charges only for request processing time. The application is stateless and can be triggered by HTTP requests. Which compute option meets these requirements?
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 fully managed serverless platform that scales to zero and charges per request. It is ideal for stateless HTTP-triggered containers. Compute Engine and GKE do not scale to zero (idle resources incur cost). Cloud Functions is also serverless but is for event-driven code, not containerized apps.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Compute Engine with managed instance groups
Why it's wrong here
Compute Engine with managed instance groups (MIGs) can autoscale based on CPU utilization, but the minimum allowed instance count is 1—it cannot scale to zero. You are still billed for the virtual machines whenever they run, even if they sit idle between requests. This makes it a poor fit for a sporadically used HTTP service where you want zero idle cost. A MIG also requires you to manage a custom instance template, health checks, and autoscaling policies, adding operational overhead compared to a fully managed serverless service.
- ✗
Cloud Functions
Why it's wrong here
Cloud Functions is indeed serverless and scales to zero, but it is a Function-as-a-Service platform intended for event-driven, single-purpose functions, not for running arbitrary containerized applications. You cannot simply deploy a container image with your own runtime and dependencies in Cloud Functions; instead you write code in a supported language runtime or package a function in a limited wrapper. Since the developer specifically wants to deploy a containerized application, Cloud Run is a better fit because it directly executes the provided container image over HTTP.
- ✓
Cloud Run
Why this is correct
Cloud Run is a fully managed serverless platform that runs stateless HTTP-triggered containers directly from a container image. It automatically scales down to zero when there are no incoming requests, so you incur no charges while idle, and bills only for request duration (CPU, memory, and concurrency metered during request handling). You can deploy any container that listens on HTTP, making it the ideal low-overhead choice for a containerized web application. Unlike GKE or Compute Engine, there is no infrastructure to manage or minimum charge for a running VM.
- ✗
Google Kubernetes Engine (GKE) with cluster autoscaling
Why it's wrong here
Google Kubernetes Engine with cluster autoscaling can scale node pools down to zero nodes, but the cluster's control plane still exists and incurs costs (or, on Autopilot, a management fee remains). Moreover, running a full Kubernetes cluster to serve a simple stateless container is operationally overkill—you must manage Deployments, Services, Ingresses, and cluster-wide autoscaling configuration. While GKE is powerful for complex microservices, Cloud Run provides the same scale-to-zero benefit with far less operational burden and no residual control-plane cost for a single containerized app.
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
Google Cloud Platform Overview
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
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.
About these practice questions
This ACE question is part of Courseiva's 769-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 ACE 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 ACE exam.