Google Cloud Professional Cloud Network Engineer — Question 60

You have a storage bucket that contains two objects. Cloud CDN is enabled on the bucket, and both objects have been successfully cached. Now you want to make sure that one of the two objects will not be cached anymore, and will always be served to the internet directly from the origin.
What should you do?

Answer options

Correct answer: D

Explanation

The correct answer is D because adding a Cache-Control entry with the value private instructs Cloud CDN to not cache the object, ensuring it is always served directly from the origin. Option A is incorrect as changing public access does not affect caching behavior. Option B suggests moving the object, which is unnecessary. Option C does not specifically address the caching requirement for this object.