Soru

Zorluk: OrtaManaging Compute Engine Resources

A DevOps team is setting up an automated worker pool on Compute Engine to execute nightly video encoding jobs. The encoding tasks process independent chunks of data, persist progress checkpoints to Cloud Storage, and can automatically resume if an instance terminates unexpectedly. The team wants to minimize compute costs while maintaining processing capacity across the region. Which deployment strategy should the team implement?

  1. Create a regional Managed Instance Group utilizing Spot VM instances across multiple zones.Cevap
  2. B
    Provision standard Compute Engine instances assigned with the primitive Owner IAM role to ensure compute resources are prioritized over other workloads.
  3. C
    Deploy worker instances in standard VM machine types and configure an autoscaling policy based solely on disk read throughput metrics to trigger scale-out.
  4. D
    Deploy single-zone standard VM instances and automatically launch new projects in different regions when regional CPU quotas are exceeded.

Cevap

Create a regional Managed Instance Group utilizing Spot VM instances across multiple zones.
Spot VMs provide significant cost savings for batch workloads that checkpoint progress and tolerate preemption. Combining Spot VMs with a regional Managed Instance Group ensures high availability across multiple zones within the region.

Adım Adım Çözüm

1
Analyze workload requirements
Identified that the video encoding workload is fault-tolerant, stateless, checkpointed, and cost-sensitive.
Fault-tolerant batch processing workloads are ideal candidates for Spot VMs, which offer heavy discounts compared to standard VMs.
2
Evaluate availability and resilience requirements
Determined that deploying across multiple zones in a regional Managed Instance Group mitigates regional preemptions and capacity constraints.
Distributing Spot VM instances across multiple availability zones improves overall workload completion reliability.

Anahtar Kavram

Managing Compute Engine Spot VMs and Regional Managed Instance Groups for Batch Workloads
Bu soruyu puanla