Soru

Zorluk: ZorPlanning Compute Engine Resources and Machine Types

An organization is designing a high-throughput video processing service on Compute Engine. The processing application is stateless, fault-tolerant, and designed to auto-resume from checkpoints if interrupted. Benchmark testing indicates that each processing worker node performs optimally when allocated exactly 14 vCPUs14\text{ vCPUs} and 28 GB28\text{ GB} of RAM. Standard predefined machine types with 14 vCPUs14\text{ vCPUs} are unavailable, and larger predefined instances would result in significant unused vCPU and memory capacity. Which TWO architectural and provisioning strategies should the cloud engineering team select to optimize cost and resource utilization? (Select TWO.)

  1. Configure Custom Machine Types specifying 14 vCPUs14\text{ vCPUs} and 28 GB28\text{ GB} of RAM for the Compute Engine instance templates.Cevap
  2. Deploy the worker instances using Spot VMs within a Managed Instance Group (MIG).Cevap
  3. C
    Purchase 3-year Committed Use Discounts (CUDs) and apply them directly to the Spot VM instance reservations.
  4. D
    Migrate the processing workers to Cloud Functions to automatically handle multi-core parallel processing without virtual machine management.

Cevap

The team should configure Custom Machine Types with 14 vCPUs14\text{ vCPUs} and 28 GB28\text{ GB} of RAM, and deploy the instances using Spot VMs inside a Managed Instance Group.
The correct strategy involves two steps: First, configuring Custom Machine Types allows provisioning exact custom core counts (14 vCPUs14\text{ vCPUs}) and memory allocations (28 GB28\text{ GB}), eliminating the waste of upgrading to a 16-vCPU16\text{-vCPU} predefined instance. Second, since the workload is stateless and checkpointed, deploying on Spot VMs within a Managed Instance Group yields maximum cost savings while preserving operational resiliency.

Adım Adım Çözüm

1
Analyze resource ratio requirements
The target requirement is 14 vCPUs14\text{ vCPUs} and 28 GB28\text{ GB} of RAM (2 GB2\text{ GB} per vCPU). Predefined types jump from 8 to 16 vCPUs. Creating a Custom Machine Type avoids paying for unneeded vCPUs and memory.
Custom Machine Types allow customized vCPU and memory combinations in increments allowed by the machine family.
2
Evaluate workload fault tolerance for cost optimization
Because the video processing workload is stateless, checkpointed, and fault-tolerant, it can handle VM preemptions without data loss.
Spot VMs provide significant cost reductions (60-91%) for fault-tolerant batch workloads.

Anahtar Kavram

Compute Engine Custom Machine Types and Spot VM Suitability
Bu soruyu puanla