Google Associate Cloud EngineerDeploying and implementing a cloud solutionHard

A web application deployed on Google Cloud needs to serve static assets (images, CSS, JavaScript) from a highly available and globally distributed source to minimize latency for users worldwide. Which Google Cloud storage and networking combination is most effective for this purpose?

  1. ACloud SQL with a Global External HTTP(S) Load Balancer
  2. BFilestore instance with a Cloud VPN connection
  3. CCloud Storage bucket with Cloud CDN enabled
  4. DCompute Engine Persistent Disk with a Network Load Balancer
Show answer & explanation

Correct answer: C. Cloud Storage bucket with Cloud CDN enabled

Hosting static assets in a Cloud Storage bucket provides highly available and durable storage. By enabling Cloud CDN on the HTTP(S) Load Balancer that serves content from this bucket, assets are cached at Google's edge locations globally, significantly reducing latency for users worldwide.

Why the other options are wrong

  • A. Cloud SQL is a relational database, entirely unsuitable for serving static web assets. A Global External HTTP(S) Load Balancer is correct for web traffic, but the backend storage is wrong.
  • B. Filestore is managed NAS, not ideal for public static asset serving. Cloud VPN is for private network connections, not public content delivery.
  • D. Persistent Disk is block storage for VMs, not designed for globally distributed static asset serving. A Network Load Balancer is Layer 4 and doesn't handle caching or HTTP(S) routing for web content effectively.

Cloud Storage + Cloud CDN

Combining Cloud Storage buckets for storing static web assets with Cloud CDN for caching and global delivery provides a highly performant, scalable, and cost-effective solution for serving web content to users worldwide.

  • Cloud Storage for durable, scalable asset hosting.
  • Cloud CDN for edge caching and low latency.
  • Integrated solution for global web content delivery.
  • Reduces origin server load and egress costs.

Memory trick: Cloud Storage + CDN: Your static files fly fast 'round the world.

More Deploying and implementing a cloud solution questions