Google Cloud Engineer interview question · Most asked

Design a highly available web application on Google Cloud.

Design Asked in Cloud Engineer interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

Put a global external Application Load Balancer (with Cloud Armor and Cloud CDN) in front of a stateless tier spread across zones (a regional managed instance group, GKE regional cluster or Cloud Run, which is regional and zone-redundant by default), use a regional high-availability database (Cloud SQL HA with a standby in another zone, or Spanner for multi-region), and keep state in managed services.

Longer Answer

  • Compute: regional MIGs with autohealing health checks; GKE regional clusters; or Cloud Run in two regions behind the global load balancer for regional failover.
  • Data: Cloud SQL HA (synchronous standby, automatic failover) plus cross-region read replicas for DR; Cloud Storage dual- or multi-region for files; Memorystore with replicas.
  • Network: one global VPC; Cloud NAT per region.
  • Operations: backups and point-in-time recovery, tested failovers, SLOs and uptime checks from several regions.
  • Decide RTO/RPO first: multi-region active-active (Spanner, global LB) costs much more than zonal HA.

Key Points

  • Global ALB with Cloud Armor and CDN.
  • Regional, multi-zone compute.
  • Cloud SQL HA or Spanner.
  • Managed state; backups and PITR.
  • Choose regions by RTO/RPO.

Explanation

What interviewers look for

Using Google Cloud's regional and global building blocks deliberately.

More Google Cloud Engineer questions

← All Google Cloud Engineer questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake