Google Associate Cloud EngineerPlanning and configuring a cloud solutionHard

A global company needs to ensure that their web application, hosted on Compute Engine, can withstand regional outages. They want to distribute their application instances across multiple regions and automatically failover to a healthy region if one becomes unavailable. Which network resource should they use to achieve high availability across regions?

  1. AInternal HTTP(S) Load Balancing
  2. BVPC Network Peering
  3. CRegional External HTTP(S) Load Balancing
  4. DCloud DNS with failover policies
Show answer & explanation

Correct answer: D. Cloud DNS with failover policies

Cloud DNS with failover policies allows you to configure DNS records to direct traffic to healthy endpoints across different regions. If a region fails, Cloud DNS automatically updates the records to point to the instances in a healthy region, providing regional outage resilience.

Why the other options are wrong

  • A. Internal HTTP(S) Load Balancing operates within a VPC network and is not designed for external traffic distribution across multiple regions.
  • B. VPC Network Peering connects two VPC networks, but doesn't provide global traffic distribution or failover logic for regional outages at the application layer.
  • C. Regional External HTTP(S) Load Balancing distributes traffic within a single region, not across multiple regions for global failover.

Cloud DNS with Failover

Cloud DNS allows configuration of failover policies to automatically redirect traffic to healthy resources in different regions or zones in case of an outage.

  • Global DNS service
  • Health checks for endpoints
  • Automatic traffic redirection during outages

Memory trick: RECOVER (Regional Resilience, Endpoint Checks, Cloud DNS, Outage Management, Versatility)

More Planning and configuring a cloud solution questions