Google Associate Cloud EngineerDeploying and implementing a cloud solutionEasy
A developer needs to deploy a new web application that consists of several microservices, each running in a Docker container. The application needs to scale automatically based on traffic, support custom domain mapping, and have minimal operational overhead. Which Google Cloud service is the most appropriate for this scenario?
- ACompute Engine with managed instance groups
- BApp Engine Standard
- CCloud Run
- DGoogle Kubernetes Engine (GKE)
Show answer & explanationAnswer & explanation
Correct answer: C. Cloud Run
Cloud Run is a fully managed serverless platform for containerized applications. It automatically scales based on requests, supports custom domains, and requires minimal operational overhead, aligning perfectly with the requirements for microservices.
Why the other options are wrong
- A. Compute Engine with MIGs provides VM management and autoscaling but requires more operational overhead for container orchestration.
- B. App Engine Standard is for specific language runtimes and, while serverless, is not as flexible for arbitrary containers as Cloud Run.
- D. GKE offers powerful container orchestration but has higher operational overhead compared to Cloud Run.
Cloud Run
A managed serverless platform that allows you to run stateless containers via web requests or Pub/Sub events.
- Autoscales to zero and up based on traffic.
- Supports custom domains with SSL.
- Minimal operational overhead (fully managed).
- Ideal for microservices and APIs.
Memory trick: Run your containers without the fuss, Cloud Run handles the rest for us.