You have a storage bucket that contains the following objects:
- folder-a/image-a-1.jpg
- folder-a/image-a-2.jpg
- folder-b/image-b-1.jpg
- folder-b/image-b-2.jpg
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?
Suggested Answer: B
Get Premium Professional Cloud Network Engineer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html
13 comments · newest first
ME
Mee
1 year ago
C doesn't really address the caching issue at all.
CA
Carin
1 year ago
Wait, disabling and re-enabling CDN? That seems excessive!
ME
Merissa
1 year ago
A lifecycle rule won't help with cached copies.
KA
Kasandra
1 year ago
Definitely B, that's the quickest way!
MI
Milly
1 year ago
You can invalidate the cache with a command for folder-a.
MA
Madonna
1 year ago
I don't think making the objects not publicly shared would help with cache invalidation. That option seems irrelevant to the question.
CA
Carissa
1 year ago
I feel like disabling and re-enabling Cloud CDN could work, but it sounds like a roundabout way to do it. Is that really the minimum number of commands?
FR
France
1 year ago
I'm not entirely sure, but I remember something about lifecycle rules. Wouldn't that take longer than just invalidating the cache?
NI
Nickie
1 year ago
I think the best option is to issue a cache invalidation command with the pattern /folder-a/*. That seems to directly target the cached objects we want to remove.
TI
Tish
1 year ago
Okay, I've got this. The key is to combine my knowledge of geography and spelling. I just need to figure out which option best reflects that.
GL
Glendora
1 year ago
Hmm, I'm a bit confused about this one. Is it just for generating log messages with a maximum of 5 visible fields? Or is it for enabling logs in general? I'll have to think about this one a bit more.
LA
Lavonda
1 year ago
I've seen this type of question before. The key is to pay attention to the file name and how to properly reference it. I'll go with A and D.
HE
Herminia
1 year ago
Hmm, I'm a bit unsure about this one. I'll need to review the Citrix documentation on resource locations and gateway routing to see which option would be the most effective.