Design a Compute Engine deployment to fail over to another region during a regional outage. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Deploy the app to two Compute Engine instance groups in the same project but in different regions. Serve traffic from the primary instance group and use HTTP load balancing to fail over to the standby instance group..
Why this is the answer
To achieve regional failover, you need to deploy your application across two distinct regions. Using instance groups (managed or unmanaged) is crucial for managing multiple VM instances, ensuring high availability within each region, and simplifying deployment and scaling. HTTP(S) Load Balancing is the appropriate global load balancer for distributing traffic across regions and automatically failing over to the healthy instance group in the secondary region if the primary region becomes unavailable. Deploying in the same project simplifies management and networking. The other options are incorrect because: Deploying to two individual VM instances without instance groups lacks the benefits of automated scaling, healing, and simplified management. Failing over to an on-premises instance introduces additional complexity and latency, and doesn't fully leverage Google Cloud's regional redundancy. Deploying in separate projects adds unnecessary management overhead and complexity for a single application's regional failover strategy.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed