Question

Difficulty: EasyDesigning Infrastructure for Business Requirements and Cost Optimization

A logistics enterprise executes a weekly batch reporting job every Saturday that takes 3 hours to complete. The application is designed to be fault-tolerant and can resume processing from saved checkpoints if instance preemption occurs. The business objective is to minimize compute infrastructure costs for this short-lived, fault-tolerant workload without long-term financial commitments. Which Google Cloud compute strategy should the cloud architect recommend?

  1. Provision Compute Engine Spot VMs to run the batch reporting jobs.Answer
  2. B
    Purchase 3-year Committed Use Discounts (CUDs) to cover the batch compute capacity.
  3. C
    Deploy a multi-zone Google Kubernetes Engine (GKE) Standard cluster running continuous 24/7 node pools.
  4. D
    Provision a multi-region Cloud Spanner instance to compute and store the batch metrics continuous data.

Answer

Provisioning Compute Engine Spot VMs is the most cost-effective solution for short-duration, fault-tolerant batch workloads.
Spot VMs leverage spare Google Cloud capacity at up to a 60–91% discount compared to standard on-demand instances. Because the batch job is fault-tolerant and runs for only 3 hours per week, Spot VMs fulfill the business requirement of minimizing cost without introducing long-term billing commitments.

Step-by-Step Solution

1
Analyze workload characteristics
Workload runs only 3 hours per week, is fault-tolerant, and handles interruptions via checkpoints.
Understanding workload runtime and resiliency dictates the appropriate compute discount mechanism.
2
Evaluate Google Cloud compute cost optimization options
Spot VMs offer 60% to 91% cost savings for preemption-tolerant workloads with no minimum commitment required.
Running Spot VMs during the batch window charges only for the exact hours used at deeply discounted spot pricing.

Key Concept

Compute Engine Spot VMs for cost-optimized fault-tolerant batch processing
Rate this question