You need to enable Cloud CDN for all the objects inside a storage bucket. You want to ensure that all the object in the storage bucket can be served by the CDN. What should you do in the GCP Console?
A.
Create a new cloud storage bucket, and then enable Cloud CDN on it.
B.
Create a new TCP load balancer, select the storage bucket as a backend, and then enable Cloud CDN on the backend.
C.
Create a new SSL proxy load balancer, select the storage bucket as a backend, and then enable Cloud CDN on the backend.
D.
Create a new HTTP load balancer, select the storage bucket as a backend, enable Cloud CDN on the backend, and make sure each object inside the storage bucket is shared publicly.
"D" is correct.
Cloud CDN needs HTTP(S) Load Balancers and Cloud Storage bucket has to be shared publicly.
https://cloud.google.com/cdn/docs/setting-up-cdn-with-bucket
CDN needs a LB to serve a bucket, plus of course it needs to be publicly visible, otherwise you can't serve it to the public!
https://cloud.google.com/cdn/docs/setting-up-cdn-with-bucket
Im going with A. Do you really need a load balancer to enable CDN? This article says you can just create a bucket, enable CDN, and all the objects in the bucket with be distributed in the CDN.
https://cloud.google.com/cdn/docs/quickstart-backend-bucket-console
Option A is incorrect because enabling Cloud CDN on a storage bucket does not enable the CDN for objects in the bucket.
Option B is incorrect because a TCP load balancer is not capable of supporting HTTP-based caching.
Option C is incorrect because an SSL proxy load balancer is not capable of supporting HTTP-based caching and is only used to terminate SSL/TLS connections.
• D. Create a new HTTP ***** load balancer, select the storage bucket as a backend, enable Cloud CDN on the backend, and make sure each object inside the storage bucket is shared publicly.
D. Create a new HTTP load balancer, select the storage bucket as a backend, enable Cloud CDN on the backend, and make sure each object inside the storage bucket is shared publicly.
Cloud CDN leverages Google Cloud global external HTTP(S) load balancers to provide routing, health checking, and Anycast IP support. Because global external HTTP(S) load balancers can have multiple backend instance types— Compute Engine VM instances, Google Kubernetes Engine Pods, Cloud Storage buckets, or external origins outside of Google Cloud—you can choose which backends (origins) to enable Cloud CDN for.
https://cloud.google.com/cdn/docs/setting-up-cdn-with-bucket
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.
ydanno
Highly Voted 3 years, 10 months agosaraali
Most Recent 2 months, 2 weeks agoBenMS
10 months, 1 week agoGurminderjit
10 months, 3 weeks agoKyle1776
12 months agoKyle1776
11 months agobus_karan19
1 year agogcpengineer
1 year, 2 months agoKomal697
1 year, 7 months agopk349
1 year, 9 months agoAzureDP900
1 year, 11 months agoMr_MIXER007
2 years agokumarp6
2 years, 10 months agoArad
2 years, 11 months agoVidyasagar
3 years, 7 months ago[Removed]
3 years, 11 months agomajun
3 years, 11 months agolukedj87
3 years, 11 months ago