Google Professional Cloud Network Engineer Question 507
Select 3Google Cloud PlatformYou are tasked with setting up Cloud CDN for your organization's web application to improve performance and reduce latency. The application backend is running on a managed instance group behind an HTTPS load balancer. Which steps must you follow to successfully enable Cloud CDN for this setup?
- A
Enable Cloud CDN on the backend service of the HTTPS load balancer.
- B
Ensure that the managed instance group has HTTP/2 enabled.
- C
Configure a URL map to direct traffic to the backend service.
- D
Verify that the backend service has caching headers configured to control content caching.
- E
Set up an external static IP address for the managed instance group.
Show answer and explanation
Correct answers: A, C, D
Explanation
To set up Cloud CDN for a managed instance group behind an HTTPS load balancer, you need to enable Cloud CDN on the backend service, ensure a URL map is configured to route traffic to the backend, and verify that caching headers are properly set on the backend responses. HTTP/2 and static IP addresses are not prerequisites for enabling Cloud CDN in this scenario.
- A. Correct.
Correct: To enable Cloud CDN, you must explicitly enable it on the backend service of the HTTPS load balancer.
- B. Incorrect.
Incorrect: HTTP/2 is not a requirement for enabling Cloud CDN. Cloud CDN works with both HTTP/1.1 and HTTP/2.
- C. Correct.
Correct: URL maps are required to route traffic appropriately to the backend service, which is part of the load balancer configuration.
- D. Correct.
Correct: Cache behavior is determined by caching headers in the backend responses. Without proper caching headers, Cloud CDN may not cache content effectively.
- E. Incorrect.
Incorrect: A static IP address is not required for enabling Cloud CDN. The load balancer handles traffic routing without needing a static IP for the backend instances.