exam questions

Exam Professional Cloud Network Engineer All Questions

View all questions & answers for the Professional Cloud Network Engineer exam

Exam Professional Cloud Network Engineer topic 1 question 36 discussion

Actual exam question from Google's Professional Cloud Network Engineer
Question #: 36
Topic #: 1
[All Professional Cloud Network Engineer Questions]

You have a storage bucket that contains the following objects:
[1]
[1]
[1]
[1]
Cloud CDN is enabled on the storage bucket, and all four objects have been successfully cached. You want to remove the cached copies of all the objects with the prefix folder-a, using the minimum number of commands.
What should you do?

  • A. Add an appropriate lifecycle rule on the storage bucket.
  • B. Issue a cache invalidation command with pattern /folder-a/*.
  • C. Make sure that all the objects with prefix folder-a are not shared publicly.
  • D. Disable Cloud CDN on the storage bucket. Wait 90 seconds. Re-enable Cloud CDN on the storage bucket.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ESP_SAP
Highly Voted 3 years ago
Correct Answer is (B): You might want to remove an object from the cache prior to its normal expiration time. You can force an object or set of objects to be ignored by the cache by requesting a cache invalidation. Path patterns Each invalidation request specifies a path pattern that identifies the object or set of objects that should be invalidated. The path pattern can be either a specific path, such as /cat.jpg, or an entire directory structure, such as /pictures/*. The following rules apply to path patterns: The path pattern must start with /. It cannot include ? or #. It must not include an * except as the final character following a /. If it ends with /*, the preceding string is a prefix, and all objects whose paths begin with that prefix are invalidated.
upvoted 21 times
...
saraali
Most Recent 2 months, 2 weeks ago
Selected Answer: B
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.
upvoted 1 times
...
Komal697
7 months ago
Selected Answer: B
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".
upvoted 2 times
...
Ben756
7 months, 3 weeks ago
Selected Answer: B
B. Issue a cache invalidation command with pattern /folder-a/. Explanation: To remove the cached copies of all the objects with the prefix folder-a, you can issue a cache invalidation command with the pattern /folder-a/ using the Cloud CDN API. This will remove all cached copies of any objects that begin with the prefix folder-a. Using a cache invalidation command is the quickest way to remove cached copies of objects, and it is not necessary to disable Cloud CDN or change the sharing settings of the objects. Adding a lifecycle rule on the storage bucket can be used to automatically delete objects after a certain period of time, but it does not directly remove cached copies of objects.
upvoted 1 times
...
pk349
9 months, 3 weeks ago
• B. Issue a cache invalidation *** command with pattern /folder-a/*. You can force an object or set of objects to be ignored by the cache by requesting a cache invalidation. 4. Enter the directory path and wildcard (/path/to/file/*). • If you want to invalidate the whole directory for all hostnames, enter only the path and wildcard (for example: /images/*).
upvoted 1 times
...
AzureDP900
11 months, 1 week ago
B. Issue a cache invalidation command with pattern /folder-a/*.
upvoted 1 times
...
AzureDP900
11 months, 3 weeks ago
B is right https://cloud.google.com/cdn/docs/invalidating-cached-content#invalidate_the_whole_directory
upvoted 1 times
...
GCP72
1 year, 2 months ago
Selected Answer: B
The correct answer is B
upvoted 2 times
...
kapara
1 year, 4 months ago
Selected Answer: B
Correct answer : https://cloud.google.com/cdn/docs/invalidating-cached-content#invalidate_the_whole_directory
upvoted 2 times
...
kumarp6
1 year, 10 months ago
Answer is : B
upvoted 2 times
...
desertlotus1211
1 year, 10 months ago
Answer is B: https://cloud.google.com/cdn/docs/invalidating-cached-content#gcloud_1 Invalidate the whole directory gcloud compute url-maps invalidate-cdn-cache LOAD_BALANCER_NAME \ --path "/images/*"
upvoted 2 times
...
Raghucs
2 years ago
Ans - B
upvoted 1 times
...
groovygorilla
2 years, 10 months ago
It should be "B", the invalidation method is taught in the coursera course.
upvoted 2 times
...
cesar7816
2 years, 10 months ago
Ans is B, https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html
upvoted 2 times
PoCk3T
2 years, 5 months ago
Just wanted to make sure you are aware this is a GCP certification here, not an AWS one.
upvoted 5 times
...
...
[Removed]
2 years, 11 months ago
Ans - B
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago