PROFESSIONAL-CLOUD-NETWORK-ENGINEER · Question #66
PROFESSIONAL-CLOUD-NETWORK-ENGINEER Question #66: Real Exam Question with Answer & Explanation
The correct answer is D: Add a Cache-Control entry with value private to the metadata of the object you don't want to be. Preventing caching Include a Cache-Control: private header in responses that should not be stored in Cloud CDN caches, or a Cache-Control: no-store header in responses that should not be stored in any cache, even a web browser's cache. https://cloud.google.com/cdn/docs/caching ht
Question
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?
Options
- AEnsure that the object you don't want to be cached anymore is not shared publicly.
- BCreate a new storage bucket, and move the object you don't want to be checked anymore inside
- CAdd an appropriate lifecycle rule on the storage bucket containing the two objects.
- DAdd a Cache-Control entry with value private to the metadata of the object you don't want to be
Explanation
Preventing caching Include a Cache-Control: private header in responses that should not be stored in Cloud CDN caches, or a Cache-Control: no-store header in responses that should not be stored in any cache, even a web browser's cache. https://cloud.google.com/cdn/docs/caching https://cloud.google.com/cdn/docs/caching#preventing-caching
Topics
Community Discussion
No community discussion yet for this question.