PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #178
PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Question #178: Real Exam Question with Answer & Explanation
The correct answer is C: Validate that the resource requirements are within the available quota limits of each region.. When deploying a resource-intensive service across multiple regions with a MIG, validating available quota limits (C) is the essential capacity planning step - GCP enforces per-region quotas on CPUs, memory, and other resources, and exceeding them will cause deployment failures r
Question
You need to deploy a new service to production. The service needs to automatically scale using a Managed Instance Group (MIG) and should be deployed over multiple regions. The service needs a large number of resources for each instance and you need to plan for capacity. What should you do?
Options
- AUse the n1-highcpu-96 machine type in the configuration of the MIG.
- BMonitor results of Stackdriver Trace to determine the required amount of resources.
- CValidate that the resource requirements are within the available quota limits of each region.
- DDeploy the service in one region and use a global load balancer to route traffic to this region.
Explanation
When deploying a resource-intensive service across multiple regions with a MIG, validating available quota limits (C) is the essential capacity planning step - GCP enforces per-region quotas on CPUs, memory, and other resources, and exceeding them will cause deployment failures regardless of your configuration.
Why the distractors are wrong:
- A is a machine type selection decision, not a capacity plan - choosing a large machine type without checking regional quotas doesn't guarantee those instances can actually be provisioned.
- B - Stackdriver/Cloud Trace captures latency and request tracing, not resource utilization or capacity needs; it's the wrong tool for this job.
- D contradicts the requirement - the question explicitly states the service must span multiple regions, so a single-region deployment is non-compliant.
Memory tip: Think of quotas as the "ceiling" in each region - before building anything big, always check you won't hit the ceiling. The phrase "plan for capacity" in the question is a direct signal that quota validation is the answer.
Topics
Community Discussion
No community discussion yet for this question.