Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Network Engineer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The exhibit in this question is not shown, it should say: – folder-a/image-a-1.jpg – folder-a/image-a-2.jpg – folder-b/image-b-1.jpg – folder-b/image-b-2.jpg https://docs.cloud.google.com/cdn/docs/invalidating-cached-content#invalidate_the_whole_directory gcloud compute url-maps invalidate-cdn-cache URL_MAP_NAME\ --path "/folder-a/*"
This approach allows you to efficiently invalidate the cached content for all objects with the folder-a prefix in Cloud CDN, ensuring that outdated copies are removed with minimal impact. Other options, like lifecycle rules or disabling Cloud CDN, would not directly address the need to invalidate cached content and might lead to unnecessary disruption. Restricting access to objects does not affect cached versions either, making it an ineffective solution for this scenario.
B. Issue a cache invalidation command with pattern /folder-a/*. To remove the cached copies of all the objects with the prefix "folder-a", you can use the Cloud CDN cache invalidation feature. This allows you to invalidate cached content by specifying a path or pattern of paths. In this case, the pattern /folder-a/* would match all objects with the prefix "folder-a".