Soru

Zorluk: OrtaManaging Compute Engine Resources

A cloud operations team manages a stateful database cluster hosted on Compute Engine virtual machines in the region `us-central1`. During a planned scale-out operation, attempting to create additional VM instances fails with an error indicating that the regional `N2_CPUS` quota limit has been exceeded. The database workload requires continuous availability and cannot tolerate unexpected instance terminations. Which action should the team take to resolve this deployment failure in accordance with Google-recommended best practices?

  1. Submit a formal quota increase request for the N2_CPUS metric in the us-central1 region using the Google Cloud Console or gcloud CLI.Cevap
  2. B
    Provision the new database VM instances in an alternate region where unused CPU capacity exists, without requesting a quota modification.
  3. C
    Reconfigure the new VM instances to provision as Spot VMs so that they run on spare capacity and bypass project CPU quotas.
  4. D
    Grant the Project Editor primitive role to the deployment service account so that instance creation requests bypass standard project quota limits.

Cevap

Submit a formal quota increase request for the N2_CPUS metric in the us-central1 region using the Google Cloud Console or gcloud CLI.
Submitting a formal quota increase request for the N2_CPUS metric in the specified region directly addresses the project capacity limitation while maintaining the workload's location and availability requirements.

Adım Adım Çözüm

1
Identify the cause of the deployment failure
The failure occurs because the requested vCPU allocation exceeds the project's regional quota limit for N2 CPUs in us-central1.
Google Cloud enforces quotas on resource usage to prevent unexpected consumption and ensure fair resource allocation.
2
Evaluate workload requirements against potential solutions
Because the workload is a stateful database requiring continuous availability in us-central1, changing regions or using Spot VMs is inappropriate.
Stateful databases require high availability, low latency network locality, and non-preemptible Compute Engine instances.
3
Request additional resource quota from Google Cloud
Submit a quota increase request for N2_CPUS in us-central1 via the Cloud Console Quotas page or `gcloud alpha quotas` / Cloud Quotas API.
Formal quota adjustment is the official Google-recommended procedure for expanding capacity limits within a project and region.

Anahtar Kavram

GCP Resource Quota Management
Bu soruyu puanla