Google Associate Cloud EngineerDeploying and implementing a cloud solutionEasy
A startup is deploying a new web application on Google Cloud. The application will serve dynamic content and needs to handle varying traffic loads, scaling automatically. They want to minimize operational overhead and only pay for resources when the application is actively serving requests. Which compute solution should they choose?
- ACompute Engine with Managed Instance Groups
- BApp Engine Standard environment
- CGoogle Kubernetes Engine (GKE)
- DCloud Run
Show answer & explanationAnswer & explanation
Correct answer: D. Cloud Run
Cloud Run is a fully managed serverless platform that automatically scales containerized applications up and down (even to zero), minimizing operational overhead and ensuring billing only for active requests.
Why the other options are wrong
- A. Compute Engine with MIGs provides auto-scaling but still requires managing VMs and underlying infrastructure.
- B. App Engine Standard is serverless and scales to zero, but Cloud Run offers more flexibility for containerized applications and is generally preferred for new container-native microservices.
- C. GKE offers great flexibility and scalability but involves managing a Kubernetes cluster, increasing operational overhead.
Google Cloud Run
A fully managed serverless platform for containerized applications that automatically scales based on requests.
- Scales from zero to N instances based on traffic.
- Pay-per-use billing (only when requests are processed).
- Supports any language or library that can be containerized.
Memory trick: Cloud Run runs your code, no servers to stun.