Professional Cloud Data Engineer

professional-cloud-data-engineer

Advanced

Gauge your current knowledge

Practice test preview

Designing system for fault tolerance and managing restarts

...

Sample Question

A data engineering team manages a real-time analytics web application deployed on a Managed Instance Group (MIG) behind an external Application Load Balancer. During periods of heavy data ingestion, some virtual machines become temporarily busy and are slow to respond to requests. The current configuration uses a single, aggressive health check for both the load balancer and the MIG's autohealing policy. As a result, the autohealer mistakes these busy instances for failed instances and prematurely recreates them, which reduces overall system availability and causes cascading failures. What should you do to ensure the system gracefully handles temporary load spikes while still automatically recovering from true application failures?

  • Configure a Cloud Monitoring alert to trigger a Cloud Function that live migrates the busy virtual machines to a different zone
  • Disable the autohealing policy on the Managed Instance Group and configure the load balancer health check to automatically recreate unresponsive instances
  • Create a separate, more conservative application-based health check specifically for the autohealing policy, while keeping the aggressive health check for the load balancer
  • Modify the existing health check to use a TCP probe instead of an HTTP probe to bypass the application layer and prevent busy instances from being recreated
View the answer & explanation →