Soru

Zorluk: OrtaDesigning Infrastructure for Technical Requirements and High Availability

An enterprise energy provider is designing a high-availability architecture on Google Cloud for a mission-critical smart grid monitoring application. The ingestion service handles continuous stateless HTTP telemetry payloads from millions of smart meters, while the transactional database records power grid state changes requiring a Recovery Point Objective of zero (RPO=0RPO = 0) and a Recovery Time Objective of less than one minute (RTO<1 minuteRTO < 1\text{ minute}) in the event of an entire GCP region outage. The architect aims to minimize management overhead for stateless compute resources.

Which TWO architectural decisions should be combined to satisfy these high availability, RTO, and RPO requirements? (Select TWO.)

  1. Deploy the stateless HTTP ingestion service to Cloud Run services deployed across two regions behind a Global External Application Load Balancer.Cevap
  2. Utilize Cloud Spanner configured with a multi-region instance configuration for the transactional grid state database.Cevap
  3. C
    Deploy a regional Google Kubernetes Engine (GKE) cluster in each region to host the stateless HTTP ingestion microservices.
  4. D
    Use Cloud SQL for PostgreSQL configured with regional High Availability (HA) across two GCP regions to store grid state data.
  5. E
    Establish HA VPN tunnels limited to 2 Gbps per tunnel as the primary hybrid connection for a continuous 15 Gbps on-premises ingestion data stream.

Cevap

The correct architecture combines multi-region Cloud Run services behind a Global External Application Load Balancer for stateless HTTP telemetry ingestion, paired with a multi-region Cloud Spanner database for grid state data.
Combining Cloud Run deployed across multiple regions behind a Global External Application Load Balancer with a multi-region Cloud Spanner database satisfies all availability constraints. Cloud Run provides serverless scalability for stateless HTTP ingestion without operational cluster overhead, while multi-region Cloud Spanner provides synchronous multi-region data replication to guarantee zero data loss (RPO=0RPO = 0) and rapid automatic failover (RTO<1 minuteRTO < 1\text{ minute}).

Adım Adım Çözüm

1
Analyze compute requirements for the stateless telemetry service.
Cloud Run allows containerized stateless HTTP microservices to scale automatically without infrastructure management, and when combined with a Global External Application Load Balancer across two regions, it delivers high availability with minimal operational complexity.
GKE adds unnecessary management overhead for simple stateless web workloads.
2
Evaluate database requirements for multi-region RPO=0RPO = 0 and RTO<1 minuteRTO < 1\text{ minute}.
Cloud Spanner multi-region configurations deliver synchronous multi-region replication and automatic failover, satisfying strict RPO=0RPO = 0 and sub-minute RTO targets.
Cloud SQL HA is limited to multi-zone replication within a single region; cross-region read replicas are asynchronous and do not support RPO=0RPO = 0.

Anahtar Kavram

Multi-region high availability design using Cloud Run and Cloud Spanner for zero-RPO transactional requirements
Bu soruyu puanla