Soru

Zorluk: KolayPlanning Compute Engine Resources and Machine Types

A cloud engineer is designing the Compute Engine architecture for an enterprise web service that must run continuously 24/7 without interruption. The application requires a customized resource allocation of exactly 6 vCPUs and 27 GB of RAM to operate efficiently. Which Compute Engine configuration strategy should be selected for this workload?

  1. Provision standard Compute Engine instances with a Custom machine type using standard (non-spot) VMs.Cevap
  2. B
    Provision Spot VMs with a Custom machine type to minimize baseline compute costs.
  3. C
    Deploy the web service onto Google Kubernetes Engine Autopilot nodes requiring custom OS kernel modifications.
  4. D
    Refactor the backend web service into single-purpose snippets and host them on Cloud Functions for continuous execution.

Cevap

Provision standard Compute Engine instances with a Custom machine type using standard (non-spot) VMs.
Choosing standard Compute Engine VMs configured with a Custom machine type satisfies both the specific non-standard vCPU/memory ratio (6 vCPUs and 27 GB RAM) and the requirement for continuous 24/7 uptime without risk of unexpected preemption.

Adım Adım Çözüm

1
Analyze workload availability requirements.
The application requires continuous 24/7 availability without interruption.
Spot/Preemptible VMs can be reclaimed by GCP at any time and are not suitable for non-fault-tolerant continuous services.
2
Analyze resource sizing requirements.
The application needs a specific non-standard ratio of 6 vCPUs and 27 GB RAM.
Custom machine types allow tailoring CPU and memory precisely to workload needs, preventing waste from overprovisioned predefined sizes.

Anahtar Kavram

Selecting Custom Machine Types and Standard VM Provisioning for Continuous Workloads
Bu soruyu puanla