Google PCD: Compute, Containers and Serverless Runtime Platforms — Study Guide

Part of the Google Professional Cloud Developer — Study Guide. Practice with verified answers in the Google exam hub, or take timed practice tests on ExamRoll.io.

Overview

Google Cloud offers multiple runtime platforms spanning serverless, containers, and virtual machines. Selecting the right platform depends on workload characteristics such as request patterns, state management, build and release discipline, operational model, and networking constraints. This section covers design principles, failure modes, and trade-offs for Cloud Run, App Engine, Cloud Functions, Google Kubernetes Engine (GKE), and Compute Engine, along with supporting services for images, identity, networking, configuration, and operations.

Serverless Runtimes: Cloud Run, App Engine, Cloud Functions

Cloud Run

App Engine

Cloud Functions

Containers on Google Kubernetes Engine

Workloads

Services and Ingress

Autoscaling and Node Pools

Health and rollouts

Compute Engine for Application Workloads

VM design

Managed Instance Groups (MIGs)

Logging and monitoring

Build, Identity, Networking, Secrets, and Operations

Artifact Registry and images

Runtime identity and least privilege

VPC connectors and service networking

Configuration, secrets, and health checks

Troubleshooting, rollback, and release patterns

Practical Problem Scenario

Acme Retail plans to migrate an image-resize API from self-managed VMs to a scalable, cost-effective platform with low-latency responses, private access to a regional Cloud Storage bucket, and safe canary releases.

Approach

  1. Package the service as a small container image and publish to Artifact Registry.
  1. Deploy the API to Cloud Run with min instances of 2, concurrency of 40, and CPU always allocated disabled.
  1. Create a Serverless VPC Access connector and set egress to private ranges only; enable Private Google Access in the subnet and configure a VPC-SC or Private Service Connect endpoint for Cloud Storage if needed.
  1. Grant a dedicated runtime service account least-privilege access to the target Cloud Storage bucket and required secrets.
  1. Store API keys and per-environment configuration in Secret Manager and environment variables; inject secrets at runtime.
  1. Implement exponential backoff and idempotent writes to handle 429/5xx from Cloud Storage.
  1. Configure a canary revision and split 10% traffic to it; monitor error rate, P95 latency, and saturation.
  1. Add an HTTP health endpoint that exercises downstream dependencies; set alerts on Cloud Monitoring uptime checks and log-based metrics.
  1. Establish autoscaling limits and budgets; set max instances to cap spend, and define 429 handling for overload.
  1. Document rollback: shift 100% traffic back to the previous Cloud Run revision with a single command.

Cloud-Native Application Architecture and Service Selection · All domains · API Design

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Google →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product