Soru

Zorluk: ZorPlanning Compute Engine Resources and Machine Types

An enterprise logistics company runs a continuous 24/7 real-time vehicle tracking pipeline on Google Cloud. The application requires a precise capacity ratio of 3 vCPUs to 24 GB of memory to process telemetry data streams without memory throttling. The workload is strictly non-fault-tolerant and cannot tolerate instance terminations or preemption. Which Compute Engine resource planning strategy provides the most cost-effective configuration while satisfying all performance and operational constraints?

  1. Provision a Compute Engine VM using a custom machine type configured with 3 vCPUs and 24 GB of RAM, and purchase a Committed Use Discount for the baseline compute resource usage.Cevap
  2. B
    Provision a Compute Engine VM using a custom machine type configured with 3 vCPUs and 24 GB of RAM, and enable Spot VM provisioning to reduce hourly runtime costs.
  3. C
    Provision a predefined n2-standard-8 instance (8 vCPUs, 32 GB RAM) to meet the memory threshold, relying on automatic Sustained Use Discounts for baseline cost reduction.
  4. D
    Migrate the continuous telemetry processing pipeline to Google Cloud Functions with high memory allocation to eliminate virtual machine management overhead.

Cevap

Provision a Compute Engine VM using a custom machine type configured with 3 vCPUs and 24 GB of RAM, combined with a Committed Use Discount for the resource capacity.
Configuring a custom machine type allows precise tailoring of 3 vCPUs and 24 GB of RAM, eliminating unnecessary expenditure on unused vCPUs required by standard machine families. Combining this custom configuration with Committed Use Discounts yields optimal cost reduction for steady-state 24/7 workloads that require guaranteed uptime.

Adım Adım Çözüm

1
Analyze workload resource requirements and constraints
Workload needs 3 vCPUs and 24 GB RAM, runs continuous 24/7, and cannot tolerate interruptions.
Matching exact resource ratios prevents over-provisioning unused CPU cores.
2
Evaluate machine type selection options
Standard predefined machine types (such as n2-standard-8 with 8 vCPUs / 32 GB RAM) force over-allocation of vCPUs. A custom machine type precisely allocates 3 vCPUs and 24 GB RAM.
Custom machine types allow tailored vCPU and RAM combinations to optimize compute billing.
3
Evaluate pricing model for a 24/7 non-interruptible workload
Spot VMs cannot be used because preemption breaks the availability SLA. Committed Use Discounts (CUDs) offer predictable, deep discounts (up to 57% or 70%) for steady 24/7 baseline capacity.
CUDs apply to custom machine type vCPUs and RAM without risking workload preemption.

Anahtar Kavram

Planning Compute Engine machine families, custom machine types, and discounting strategies for steady-state workloads.
Tahmini Süre:2m 0s
Bu soruyu puanla