Professional Cloud ArchitectAnalyze and optimize technical and business processesEasy

A global online gaming company is experiencing significant fluctuations in user traffic, with peak hours seeing 10x the traffic of off-peak hours. Their game backend runs on Compute Engine instances. They need to ensure high availability and responsiveness during peak loads while minimizing costs during off-peak times. The company also wants to automate the deployment of new software versions and ensure instance health. Which Google Cloud compute strategy should they implement?

  1. AUse App Engine Standard environment with manual scaling configurations and traffic splitting.
  2. BManually provision and deprovision Compute Engine instances based on anticipated traffic patterns using custom scripts.
  3. CUtilize Managed Instance Groups (MIGs) with autoscaling policies and rolling updates.
  4. DDeploy the game backend on Google Kubernetes Engine (GKE) with a fixed number of nodes and manual pod scaling.
Show answer & explanation

Correct answer: C. Utilize Managed Instance Groups (MIGs) with autoscaling policies and rolling updates.

Managed Instance Groups (MIGs) with autoscaling are designed for variable workloads, automatically adjusting instance counts to meet demand and optimize costs. Rolling updates facilitate automated software deployments, and autohealing ensures instance health, directly addressing all the company's requirements.

Why the other options are wrong

  • A. App Engine Standard with manual scaling lacks the automatic scaling for infrastructure and the rolling update capabilities desired for direct control over Compute Engine instances.
  • B. Manual provisioning is time-consuming, error-prone, and does not provide the rapid, automatic scaling or health checks needed for this dynamic workload.
  • D. A fixed number of GKE nodes with manual pod scaling does not address the need for automated infrastructure scaling for cost optimization or the automated deployment of new software versions at the instance level.

Managed Instance Groups (MIGs)

Managed Instance Groups (MIGs) allow you to run apps on multiple identical VMs, offering autoscaling, autohealing, and load balancing for high availability and scalability.

  • Automates instance creation and deletion based on demand.
  • Supports rolling updates for seamless software deployments.
  • Provides autohealing by recreating unhealthy instances.

Memory trick: MIGs Manage Instances, Growing and Healing.

More Analyze and optimize technical and business processes questions