nerdexam
Google

PROFESSIONAL-CLOUD-ARCHITECT · Question #149

You are using Cloud CDN to deliver static HTTP(S) website content hosted on a Compute Engine instance group. You want to improve the cache hit ratio. What should you do?

The correct answer is A. Customize the cache keys to omit the protocol from the key.. A logo needs to be cached whether displayed through HTTP or HTTPS. When you customize the cache keys for the backend service that holds the logo, clear the Protocol checkbox so that requests through HTTP and HTTPS count as matches for the logo's cache entry. https://cloud.google.

Submitted by krish.m· Mar 30, 2026Optimizing technical and business processes

Question

You are using Cloud CDN to deliver static HTTP(S) website content hosted on a Compute Engine instance group. You want to improve the cache hit ratio. What should you do?

Options

  • ACustomize the cache keys to omit the protocol from the key.
  • BShorten the expiration time of the cached objects.
  • CMake sure the HTTP(S) header "Cache-Region" points to the closest region of your users.
  • DReplicate the static content in a Cloud Storage bucket. Point CloudCDN toward a load balancer

How the community answered

(51 responses)
  • A
    75% (38)
  • B
    4% (2)
  • C
    8% (4)
  • D
    14% (7)

Explanation

A logo needs to be cached whether displayed through HTTP or HTTPS. When you customize the cache keys for the backend service that holds the logo, clear the Protocol checkbox so that requests through HTTP and HTTPS count as matches for the logo's cache entry. https://cloud.google.com/cdn/docs/best- practices#using_custom_cache_keys_to_improve_cache_hit_ratio

Topics

#Cloud CDN#cache hit ratio#cache key customization#CDN optimization

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-ARCHITECT Practice