A financial analytics firm is designing a cost-effective Google Cloud compute environment for two distinct workloads:
1. A nightly batch calculation task that is fully fault-tolerant, can resume from checkpoints if interrupted, requires specific custom OS kernel modules, and runs for 6 hours.
2. An event-driven microservice that receives unpredictable HTTP webhooks throughout the day and requires scaling down to zero instances during idle periods with minimal management overhead.
Which TWO compute configurations should the engineering team select to satisfy these operational and architectural requirements?
- Deploy Compute Engine Spot VM instances configured with a custom VM image for the nightly batch calculation task.Cevap
- Deploy Cloud Run to host the event-driven microservice receiving unpredictable HTTP webhooks.Cevap
- CDeploy GKE Autopilot clusters to run the nightly batch calculation task with custom kernel modules.
- DDeploy Cloud Functions (1st gen) to execute the 6-hour nightly batch calculation task.
- EProvision standard On-Demand Compute Engine instances attached to a 3-year Committed Use Discount for the nightly batch workload.
Cevap
Select Compute Engine Spot VMs with custom images for the fault-tolerant batch task requiring custom kernel modules, and select Cloud Run for the HTTP webhook microservice that needs automatic scale-to-zero capabilities.
Compute Engine Spot VMs offer up to 90% cost reduction for fault-tolerant jobs while permitting full OS kernel customization. Cloud Run provides zero-management HTTP container execution with automatic scale-to-zero capabilities.
Adım Adım Çözüm
Anahtar Kavram
Selecting GCP compute services based on OS access requirements, workload fault tolerance, execution time limits, and autoscaling characteristics.
Tahmini Süre:2m 30s