Google Associate Cloud EngineerPlanning and configuring a cloud solutionEasy
A small e-commerce company is experiencing inconsistent traffic patterns, with significant spikes during promotional events. They need a cost-effective solution for their web application that automatically scales to handle these fluctuations without manual intervention. Which Google Cloud compute option is best suited for this scenario?
- AGoogle Kubernetes Engine (GKE) with fixed node pools
- BCompute Engine with a managed instance group and manual scaling
- CCompute Engine with a fixed number of instances
- DApp Engine Standard environment
Show answer & explanationAnswer & explanation
Correct answer: D. App Engine Standard environment
App Engine Standard environment is designed for automatic scaling to zero and rapid scaling up to handle traffic spikes, making it highly cost-effective for inconsistent workloads. It manages the underlying infrastructure, reducing operational overhead.
Why the other options are wrong
- A. Fixed GKE node pools require manual scaling adjustments or more complex autoscaling configurations than App Engine Standard.
- B. Manual scaling requires human intervention, which does not meet the requirement for automatic scaling.
- C. Fixed instances do not scale automatically and would lead to over-provisioning or performance issues.
App Engine Standard Environment
A serverless platform for building and deploying highly scalable applications. It automatically scales resources up and down, even to zero, based on traffic.
- Fully managed and serverless
- Automatic scaling to zero
- Supports various programming languages
Memory trick: SCALE (Scalability, Cost, Automatic, Low-Ops, Elasticity)