Google Professional Cloud Network Engineer Question 512
Select 3Google Cloud PlatformYou are tasked with improving the performance and caching of static content hosted on a third-party object storage system accessible over the internet. You decide to use Google Cloud CDN to cache the content. What steps must you take to configure Google Cloud CDN to work with the external backend?
- A
Create an internet NEG (Network Endpoint Group) pointing to the third-party object storage endpoint.
- B
Enable Google Cloud CDN on the backend service associated with the internet NEG.
- C
Configure a Cloud Storage bucket as an intermediary to cache the content before enabling Cloud CDN.
- D
Update the DNS records to point to the external backend's IP address instead of the Cloud CDN IP address.
- E
Set appropriate cache expiration policies in the backend configuration or HTTP headers.
Show answer and explanation
Correct answers: A, B, E
Explanation
To configure Cloud CDN with an external backend like a third-party object storage system, you must create an internet NEG pointing to the external endpoint, enable Cloud CDN on the backend service associated with the NEG, and ensure proper cache expiration policies are set. These steps allow Cloud CDN to cache and serve the content efficiently. Intermediary Cloud Storage buckets or incorrect DNS configurations are not required for this setup.
- A. Correct.
Correct. An internet NEG is required to route traffic to an external backend such as a third-party object storage system.
- B. Correct.
Correct. Cloud CDN must be explicitly enabled on the backend service associated with the internet NEG to cache content.
- C. Incorrect.
Incorrect. You do not need to use a Cloud Storage bucket as an intermediary when using Cloud CDN with an internet NEG.
- D. Incorrect.
Incorrect. DNS records should point to the Cloud CDN IP address, not the external backend's IP address, to ensure the CDN serves cached content properly.
- E. Correct.
Correct. Proper cache expiration policies in the backend configuration or HTTP headers are necessary to control the caching behavior of Cloud CDN.