Soru

Zorluk: OrtaSelecting and Designing Compute and Application Platforms

A smart utility company is architecting a new RESTful microservice on Google Cloud to collect and validate incoming telemetry data from millions of smart electric meters. The HTTP payload handling is entirely stateless, containerized, and experiences unpredictable traffic spikes throughout the day, dropping to near-zero volume overnight. The engineering team prioritizes minimizing operational maintenance, avoiding idle capacity charges, and deploying without managing underlying server infrastructure or Kubernetes cluster configurations. Which compute platform should the Cloud Architect recommend?

  1. Deploy the containerized service on Cloud Run.Cevap
  2. B
    Provision a Standard Google Kubernetes Engine (GKE) cluster with an Autopilot node pool.
  3. C
    Deploy the service on a Compute Engine Managed Instance Group (MIG) backed by 1-year Committed Use Discounts.
  4. D
    Deploy the application to Compute Engine virtual machines configured with CPU-based autoscaling policies.

Cevap

Deploying the containerized service on Cloud Run is the optimal architecture choice.
Deploying on Cloud Run is correct because it directly executes stateless containers in a fully managed serverless environment. It automatically handles scaling up for incoming traffic bursts and scaling down to zero when there are no incoming HTTP requests, fulfilling the requirement of zero idle costs and zero cluster maintenance.

Adım Adım Çözüm

1
Analyze workload requirements
Workload is stateless, HTTP-based, containerized, experiences highly variable traffic patterns, and must minimize operational management.
Understanding key constraints helps eliminate compute options requiring cluster upkeep or minimum baseline infrastructure costs.
2
Evaluate Google Cloud compute platforms against constraints
Cloud Run provides serverless container execution that automatically scales down to zero when idle and manages all cluster infrastructure.
Selecting fully managed serverless compute satisfies zero idle costs and minimal operational overhead.

Anahtar Kavram

Selecting serverless compute vs. cluster-based compute for stateless web workloads
Bu soruyu puanla