An enterprise fintech firm is designing a real-time risk assessment engine on Google Cloud. The system comprises two distinct workloads: a stateless HTTP/REST fraud scoring API that experiences unpredictable traffic spikes ranging from 0 to 50,000 requests per second, and a long-running stateful session manager that maintains continuous bidirectional gRPC streams with partner banking gateways. The infrastructure team has strict operational constraints: operational management overhead must be minimized, baseline compute costs for idle periods must be zero where possible for stateless components, and custom TCP/gRPC connection handling must support fine-grained session persistence without managing underlying virtual machine operating systems. Which TWO compute solutions should the Cloud Architect select to satisfy these requirements optimally?
- Deploy the stateless fraud scoring API on Cloud Run configured with autoscaling concurrency limits.Answer
- BDeploy the stateful bidirectional session manager on Cloud Run Jobs configured for continuous background execution.
- Deploy the stateful bidirectional session manager on GKE Autopilot using StatefulSets and Session Affinity load balancing.Answer
- DProvision a custom Compute Engine Managed Instance Group (MIG) for the stateless fraud scoring API to eliminate cold-start latencies.
- EDeploy the stateless fraud scoring API using Cloud Functions (1st gen) behind an HTTP Load Balancer with CPU-based autoscaling rules.