Bird
0
0

You want to serve both static and dynamic content using Cloud CDN. Which architecture best supports this?

hard📝 Application Q8 of 15
GCP - Cloud Load Balancing
You want to serve both static and dynamic content using Cloud CDN. Which architecture best supports this?
AUse Cloud CDN only with Cloud Storage buckets for static content; dynamic content bypasses CDN
BUse HTTP(S) Load Balancer with multiple backend services; enable CDN only on static content backend
CEnable Cloud CDN on all backend services regardless of content type
DServe dynamic content from CDN cache with long max-age headers
Step-by-Step Solution
Solution:
  1. Step 1: Separate static and dynamic content

    Static content benefits from caching; dynamic content often requires fresh data.
  2. Step 2: Configure backend services accordingly

    Use multiple backends behind load balancer; enable CDN only on static backend to avoid stale dynamic data.
  3. Final Answer:

    Use HTTP(S) Load Balancer with multiple backend services; enable CDN only on static content backend -> Option B
  4. Quick Check:

    Static cached, dynamic fresh = Multiple backends with selective CDN [OK]
Quick Trick: Cache only static content backend; dynamic content bypass CDN [OK]
Common Mistakes:
  • Caching dynamic content causing stale data
  • Enabling CDN on all backends blindly
  • Using CDN only with Cloud Storage ignoring dynamic content

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes