nerdexam
Google

PROFESSIONAL-CLOUD-NETWORK-ENGINEER · Question #7

You have configured Cloud CDN using HTTP(S) load balancing as the origin for cacheable content. Compression is configured on the web servers, but responses served by Cloud CDN are not compressed…

The correct answer is D. You have to configure the web servers to compress responses even if the request has a Via. If responses served by Cloud CDN are not compressed but should be, check that the web server software running on your instances is configured to compress responses. By default, some web server software will automatically disable compression for requests that include a Via…

Submitted by obi.ng· Apr 18, 2026Configuring network services

Question

You have configured Cloud CDN using HTTP(S) load balancing as the origin for cacheable content. Compression is configured on the web servers, but responses served by Cloud CDN are not compressed. What is the most likely cause of the problem?

Options

  • AYou have not configured compression in Cloud CDN.
  • BYou have configured the web servers and Cloud CDN with different compression types.
  • CThe web servers behind the load balancer are configured with different compression types.
  • DYou have to configure the web servers to compress responses even if the request has a Via

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    14% (5)
  • D
    77% (27)

Explanation

If responses served by Cloud CDN are not compressed but should be, check that the web server software running on your instances is configured to compress responses. By default, some web server software will automatically disable compression for requests that include a Via header. The presence of a Via header indicates the request was forwarded by a proxy. HTTP proxies such as HTTP(S) load balancing add a Via header to each request as required by the HTTP specification. To enable compression, you may have to override your web server's default configuration to tell it to compress responses even if the request had a Via header. https://cloud.google.com/cdn/docs/troubleshooting-steps

Topics

#Cloud CDN#HTTP Compression#Proxy Behavior#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-NETWORK-ENGINEER Practice