Google Professional Cloud Network Engineer Question 7
Select 3Google Cloud PlatformYou are designing the network architecture for a globally distributed web application hosted on Google Cloud. The application must handle sudden spikes in traffic, ensure minimal downtime, and provide disaster recovery in case a region becomes unavailable. Which combination of Google Cloud services and configurations should you use to meet these requirements?
- A
Use Cloud Load Balancing with a global external HTTP(S) load balancer to distribute traffic across multiple regions.
- B
Configure managed instance groups (MIGs) with auto-scaling enabled for virtual machine instances in multiple regions.
- C
Set up a single Compute Engine instance in one region with a persistent disk and snapshot backups for disaster recovery.
- D
Enable cross-region replication for Cloud Storage buckets to ensure data redundancy and availability.
- E
Deploy your application using a zonal App Engine standard environment to minimize costs.
- F
Use Traffic Director to perform global traffic routing with health-based failover between regions.
Show answer and explanation
Correct answers: A, B, D
Explanation
To design a globally distributed web application that supports high availability, failover, disaster recovery, and scaling, you should use Cloud Load Balancing to distribute traffic across regions, managed instance groups with auto-scaling to handle traffic spikes, and cross-region replication for Cloud Storage to ensure data redundancy. These services together provide a robust solution for handling failures and scaling dynamically based on demand.
- A. Correct.
Correct: Cloud Load Balancing with a global external HTTP(S) load balancer ensures traffic is distributed across multiple regions, providing high availability and low latency.
- B. Correct.
Correct: Managed instance groups (MIGs) with auto-scaling can dynamically scale up or down based on traffic, ensuring the application can handle sudden spikes in load.
- C. Incorrect.
Incorrect: A single Compute Engine instance in one region introduces a single point of failure, which is unsuitable for high availability or disaster recovery.
- D. Correct.
Correct: Cross-region replication for Cloud Storage ensures that data is redundantly stored in multiple regions, improving disaster recovery and availability.
- E. Incorrect.
Incorrect: A zonal App Engine standard environment limits the application to a single zone, which does not provide high availability or disaster recovery.
- F. Incorrect.
Incorrect: While Traffic Director is useful for service mesh traffic routing, it is not required for a globally distributed web application with HTTP(S) traffic. Cloud Load Balancing is more appropriate for this use case.