Google Cloud Professional Cloud Network Engineer — Question 32
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?
Answer options
- A. You have not configured compression in Cloud CDN.
- B. You have configured the web servers and Cloud CDN with different compression types.
- C. The web servers behind the load balancer are configured with different compression types.
- D. You have to configure the web servers to compress responses even if the request has a Via header.
Correct answer: D
Explanation
The correct answer is D because web servers must be set up to compress responses even when they detect a request with a Via header. Options A, B, and C are incorrect because the problem lies in the web server's configuration rather than in Cloud CDN or mismatched compression types.