Google Cloud Digital LeaderGeneral knowledge of Google CloudHard

A global online gaming company needs to deploy game servers that can scale dynamically to handle millions of concurrent players worldwide. The company wants to minimize operational overhead and only pay for compute resources when players are active. They also need to ensure that their game servers are deployed close to players to minimize latency. Which Google Cloud compute service is best suited for this highly variable, globally distributed, and cost-optimized workload?

  1. ACloud Run
  2. BCompute Engine
  3. CCloud Functions
  4. DGoogle Kubernetes Engine (GKE)
Show answer & explanation

Correct answer: A. Cloud Run

Cloud Run is a serverless platform that allows deploying containerized applications that scale automatically from zero to millions of requests, paying only for resources consumed. Its global deployment capabilities ensure low latency by running containers in regions closest to users, making it ideal for highly variable, globally distributed workloads like online game servers.

Why the other options are wrong

  • B. Compute Engine provides IaaS VMs, requiring manual management and scaling, which doesn't meet the 'minimize operational overhead' or 'pay only when active' requirements.
  • C. Cloud Functions are event-driven serverless functions, suitable for short-lived tasks, not long-running game servers.
  • D. GKE is a managed Kubernetes service for container orchestration. While it offers scaling, it still involves managing clusters, which is more operational overhead than desired, and doesn't scale to zero as easily or cost-effectively as Cloud Run for variable workloads.

Google Cloud Run

Cloud Run is a fully managed serverless platform for deploying containerized applications, offering automatic scaling from zero, pay-per-use billing, and global deployment for low latency.

  • Serverless container platform.
  • Scales automatically from zero to millions.
  • Pay-per-use billing (only when active).
  • Global deployment for low latency.
  • Ideal for highly variable, globally distributed workloads.

Memory trick: Compute options are like car types: pick the right one for your journey.

More General knowledge of Google Cloud questions