Bird
0
0

How can you ensure Cloud CDN serves personalized content without caching sensitive user data?

hard📝 Application Q9 of 15
GCP - Cloud Load Balancing
How can you ensure Cloud CDN serves personalized content without caching sensitive user data?
AConfigure CDN to cache only responses without cookies or authorization headers
BCache all responses regardless of user-specific data
CDisable CDN for all personalized content
DUse Cloud CDN with long cache durations for personalized pages
Step-by-Step Solution
Solution:
  1. Step 1: Identify personalized content caching risks

    Personalized content often includes cookies or auth headers that should not be cached publicly.
  2. Step 2: Configure CDN to exclude sensitive data

    Set CDN to cache only responses without cookies or authorization headers to avoid serving wrong user data.
  3. Final Answer:

    Configure CDN to cache only responses without cookies or authorization headers -> Option A
  4. Quick Check:

    Safe caching = Exclude sensitive headers [OK]
Quick Trick: Exclude cookies/auth headers from CDN cache to protect user data [OK]
Common Mistakes:
  • Caching all personalized responses causing data leaks
  • Disabling CDN entirely instead of selective caching
  • Using long cache durations for dynamic user pages

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes