Soru

Zorluk: KolaySelecting and Designing Compute and Application Platforms

A logistics fleet management startup needs to deploy a containerized stateless REST API endpoint to receive location telemetry from delivery vehicles. The traffic volume fluctuates throughout the day with near-zero traffic overnight. The startup has a small operational team with no experience maintaining Kubernetes clusters or underlying virtual machine infrastructure. They require a Google Cloud solution that automatically scales instances to zero during inactive periods while minimizing management overhead. Which compute platform should the startup select?

  1. Cloud RunCevap
  2. B
    Google Kubernetes Engine (GKE) Standard Cluster
  3. C
    Compute Engine Managed Instance Group (MIG) configured with CPU utilization autoscaling
  4. D
    Compute Engine Dedicated Host with manual instance provisioning

Cevap

Cloud Run is the optimal compute platform because it natively runs containerized stateless workloads, automatically scales down to zero instances when idle, and eliminates cluster administration.
The choice of Cloud Run is correct because it accepts container images directly, automatically scales down to zero when requests stop coming in, charges only for consumed CPU and memory during request processing, and requires no infrastructure management.

Adım Adım Çözüm

1
Analyze workload characteristics
The API is stateless, packaged as a container, experiences variable load, and goes idle overnight.
Identifying statefulness and scaling demands narrows the compatible compute models.
2
Evaluate operational requirements
The team requires zero cluster management overhead and scale-to-zero capability.
Serverless container platforms satisfy low-overhead constraints better than VM or GKE infrastructure.
3
Match requirements with Google Cloud compute services
Cloud Run provides serverless container deployment with zero server maintenance and scale-to-zero pricing.
Cloud Run directly fulfills all architectural and operational constraints.

Anahtar Kavram

Selecting Serverless Compute vs. Managed Clusters for Stateless Microservices
Bu soruyu puanla