Question

Difficulty: EasyDeploying and Managing Compute Engine Virtual Machines

A software development team is deploying a batch processing workload that can tolerate unexpected interruptions and resume from saved checkpoints. The team wants to reduce operational costs as much as possible for these fault-tolerant jobs. Which Compute Engine provisioning model should they select when deploying these virtual machines?

  1. Spot virtual machinesAnswer
  2. B
    Sole-tenant nodes
  3. C
    Standard virtual machines with automatic restart enabled
  4. D
    Confidential virtual machines

Answer

Spot virtual machines
Spot virtual machines use excess Compute Engine capacity and are available at heavy discounts off standard pricing. Because the workload is batch-oriented and checkpointed to withstand unexpected interruptions, Spot VMs fulfill the requirement of minimizing compute costs.

Step-by-Step Solution

1
Analyze the workload requirements
The workload is batch processing, checkpointed, fault-tolerant, and prioritizes cost reduction.
Understanding workload characteristics determines the optimal VM provisioning model.
2
Evaluate Compute Engine provisioning options against cost and fault tolerance
Spot VMs provide significant discounts in exchange for Google's ability to preempt the instance when resources are needed elsewhere.
Batch workloads that tolerate sudden shutdowns are the primary target use case for Spot VMs.

Key Concept

Selecting Spot/Preemptible VMs for Fault-Tolerant Compute Workloads
Rate this question