Soru

Zorluk: OrtaSelecting and Designing Compute and Application Platforms

An enterprise IoT platform processes irregular spikes of incoming telemetry messages delivered via Cloud Pub/Sub. Each message requires a lightweight, stateless data validation step that takes approximately 200 milliseconds to execute. The system experiences long periods of zero traffic during maintenance windows, and the operations team wants to minimize both administrative overhead and baseline infrastructure cost. Which compute platform should you select to host the data validation service?

  1. Cloud Run configured with Pub/Sub push subscription deliveryCevap
  2. B
    A standard Google Kubernetes Engine (GKE) cluster with Horizontal Pod Autoscaler (HPA) enabled
  3. C
    Compute Engine Managed Instance Group (MIG) configured with autoscaling based on CPU utilization
  4. D
    Compute Engine sole-tenant nodes provisioned with 3-year Committed Use Discounts

Cevap

Cloud Run configured with Pub/Sub push subscription delivery is the optimal choice because it provides serverless autoscaling down to zero instances for stateless validation logic while avoiding infrastructure management overhead.
The solution requiring Cloud Run with Pub/Sub push subscription delivery is correct because Cloud Run provides fully managed serverless execution for stateless containerized workloads. It automatically scales instances up to meet incoming request spikes and down to zero when idle, avoiding baseline compute costs and administrative overhead.

Adım Adım Çözüm

1
Analyze workload characteristics and requirements
The workload consists of short, stateless validation logic triggered by Pub/Sub messages with idle periods and a strict requirement to minimize operational overhead and baseline costs.
Identifying statefulness, scaling range, and management constraints determines the appropriate compute abstraction layer.
2
Evaluate Google Cloud compute options against requirements
Cloud Run handles stateless containerized HTTP workloads with scale-to-zero capability natively via Pub/Sub push subscriptions, satisfying zero baseline cost and low management overhead requirements.
Serverless container platforms eliminate OS and cluster management while providing pay-per-use billing during execution.

Anahtar Kavram

Selecting serverless container platforms (Cloud Run) for stateless event-driven processing to minimize cost and operational overhead
Bu soruyu puanla