Google Associate Cloud EngineerDeploying and implementing a cloud solutionEasy

A development team needs to deploy a containerized application to Google Cloud. The application requires automatic scaling, zero-downtime deployments, and integration with other Google Cloud services. Which compute resource is the most appropriate choice for this scenario?

  1. AApp Engine Standard environment
  2. BCompute Engine virtual machines
  3. CGoogle Kubernetes Engine (GKE) Autopilot
  4. DCloud Run
Show answer & explanation

Correct answer: D. Cloud Run

Cloud Run is a fully managed compute platform that automatically scales containerized applications, handles zero-downtime deployments, and integrates seamlessly with other Google Cloud services without requiring infrastructure management.

Why the other options are wrong

  • A. App Engine Standard is ideal for specific language runtimes and often requires code adjustments, while Cloud Run is more flexible for any containerized application.
  • B. Compute Engine requires manual management of VMs and scaling, which is less ideal for a containerized application needing automatic scaling and zero-downtime.
  • C. GKE Autopilot manages the underlying Kubernetes infrastructure, but Cloud Run offers an even higher level of abstraction and simplicity for single container deployments.

Cloud Run

A fully managed serverless platform that runs stateless containers via web requests or Pub/Sub events. It automatically scales up and down based on traffic.

  • Runs stateless containers.
  • Serverless and fully managed.
  • Scales automatically to zero.
  • Pay-per-use billing model.

Memory trick: Cloud Run's container ship sails swiftly and scales to zero.

More Deploying and implementing a cloud solution questions