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?
- AApp Engine Standard environment
- BCompute Engine virtual machines
- CGoogle Kubernetes Engine (GKE) Autopilot
- DCloud Run
Show answer & explanationAnswer & 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.