Google Professional Cloud Network Engineer Question 514
Select 3Google Cloud PlatformYou are setting up Cloud CDN to cache content served from an external backend hosted on third-party object storage. Which of the following steps must you perform to configure Cloud CDN successfully?
- A
Create an internet NEG pointing to the third-party object storage backend.
- B
Enable Cloud CDN on the backend service associated with the internet NEG.
- C
Configure a custom origin header to authenticate requests to the third-party object storage.
- D
Set up a signed URL or signed cookie for secure access to the cached content.
- E
Configure a Google Cloud Storage bucket as a fallback backend for Cloud CDN.
Show answer and explanation
Correct answers: A, B, C
Explanation
To set up Cloud CDN for external backends like third-party object storage, you need to create an internet NEG that points to the backend, enable Cloud CDN on the backend service associated with the NEG, and configure a custom origin header for proper authentication. These steps ensure that Cloud CDN can cache and serve content from the external backend. While security features like signed URLs or fallback backends can enhance functionality, they are not mandatory for the basic setup.
- A. Correct.
Correct. An internet NEG (Network Endpoint Group) is required to represent the third-party object storage backend in Google Cloud. This step enables integration between Cloud CDN and the external backend.
- B. Correct.
Correct. Cloud CDN must be explicitly enabled on the backend service associated with the internet NEG to allow caching of content.
- C. Correct.
Correct. Many third-party object storage solutions require a custom origin header to authenticate requests. Without this, Cloud CDN may not be able to fetch the content properly from the backend.
- D. Incorrect.
Incorrect. Signed URLs or signed cookies are used to secure access to resources but are not mandatory for setting up Cloud CDN with external backends.
- E. Incorrect.
Incorrect. While a fallback backend could be useful in other scenarios, it is not required to set up Cloud CDN for an external backend such as third-party object storage.