Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud DevOps Engineer practice bank has 1,455 more like it. Try 10 free: instant score, no account.
Your enterprise runs a hybrid multi-cluster architecture spanning an on-premises GKE cluster and multiple Google Cloud GKE clusters managed by Cloud Service Mesh. You need to implement an automated traffic routing and deployment strategy that meets the following operational requirements:
Which Cloud Service Mesh configuration should you implement?
Waterfall by zone is a Cloud Service Mesh load balancing algorithm that fills backends in the closest local zone up to full capacity before spilling traffic to adjacent zones within a region. Manually adjusting the capacityScaler parameter via external scripts or CI/CD pipelines adjusts how much traffic Google Cloud load balancers send to a specific backend group.
capacityScaler introduces polling latency, authentication overhead, and potential API rate-limiting delays during a critical outage. It cannot match the near-instantaneous, built-in protection of automatic capacity draining.You needed to optimize zonal traffic locality within a single regional GKE cluster to eliminate cross-zone data transfer costs between microservices.
Cloud Service Mesh provides native automatic capacity draining specifically to eliminate the need for custom scripts to adjust capacityScaler dynamically during backend degradation.
The spray to world load balancing algorithm distributes incoming client traffic evenly across all backend MIGs and NEGs globally, regardless of region or locality. Outlier detection (passive health checking) ejects individual misbehaving proxy endpoints based on consecutive 5xx error responses or connection timeouts.
The organization wanted to distribute requests across all global multi-cloud endpoints uniformly to maximize concurrency testing and did not require on-premises capacity prioritization.
Spray to world is the opposite of locality-prioritized or waterfall routing algorithms and is generally avoided in hybrid overflow architectures where minimizing cloud egress and compute usage is a goal.
Designating Google Cloud GKE NEGs as preferred backends forces traffic to saturate cloud resources before routing any traffic on-premises. Configuring a VirtualService with a 50/50 weighted split divides incoming traffic equally between two destination subsets or clusters regardless of individual endpoint utilization or cost.
VirtualService weightings do not dynamically monitor backend cluster group health thresholds or automatically drain capacity when endpoint health drops below 25%.The engineering team was performing a canary release to validate a new microservice version running in Google Cloud against an existing stable baseline on-premises.
To prioritize on-premises compute resources for cost containment, the on-premises hybrid connectivity NEGs must be configured as preferred, allowing autoscaling cloud backends to serve purely as non-preferred overflow targets.
Preferred backends and automatic capacity draining are advanced traffic routing and resilience capabilities provided by Cloud Service Mesh (Anthos Service Mesh) for backend services. Preferred backends designate specific groups of endpoints—such as on-premises infrastructure represented by hybrid connectivity Network Endpoint Groups (NEGs)—to receive client requests first until their provisioned capacity is saturated. Automatic capacity draining continuously monitors the health status of individual endpoints within a backend group and automatically scales down the backend's capacity scaler to zero when health check passing rates fall below defined failure thresholds.
This solution natively satisfies both cost-containment and high-availability criteria using built-in Cloud Service Mesh traffic policies. It eliminates the operational lag and fragility of external automation scripts while managing hybrid multi-cluster routing seamlessly.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated