Google Associate Cloud EngineerPlanning and configuring a cloud solutionMedium
A global e-commerce company is planning to deploy a new web application on Google Cloud. The application will serve users worldwide and requires high availability, low latency, and the ability to scale automatically based on traffic. Which Google Cloud compute resource is the most appropriate for this scenario?
- ACloud Functions with HTTP triggers
- BApp Engine Standard Environment
- CCompute Engine with a single instance group
- DGoogle Kubernetes Engine (GKE) Autopilot
Show answer & explanationAnswer & explanation
Correct answer: D. Google Kubernetes Engine (GKE) Autopilot
Google Kubernetes Engine (GKE) Autopilot is designed for highly available, scalable, and low-latency applications by managing the underlying infrastructure automatically. It provides a fully managed Kubernetes experience, allowing the company to focus on their application code.
Why the other options are wrong
- A. Cloud Functions are serverless and event-driven, best suited for short-lived, stateless functions, not for hosting an entire global web application with complex state and service orchestration.
- B. App Engine Standard Environment is suitable for rapidly deployed web applications but might lack the fine-grained control and flexibility often needed for complex e-commerce platforms and microservices, and its scaling behavior might be less predictable for extreme global traffic spikes compared to GKE Autopilot.
- C. A single instance group on Compute Engine would not provide the global distribution, automatic scaling, or high availability required for a global e-commerce application.
GKE Autopilot
A mode of Google Kubernetes Engine that automatically manages the cluster's underlying infrastructure, including node provisioning, scaling, and upgrades, allowing developers to focus solely on their applications.
- Fully managed Kubernetes experience.
- Optimized for cost and efficiency.
- Ideal for microservices and highly scalable applications.
Memory trick: GKE Autopilot steers global apps to success.