Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
To host static web assets including HTML pages, JavaScript, and CSS files in a Cloud Storage bucket and make it publicly accessible, what is the correct method?
A
Use the gsutil command gsutil make-public gs://bucket-name to make the bucket public.
gsutil make-public gs://bucket-name
B
Assign the Storage Object Viewer role to allAuthenticatedUsers to allow public access.
C
Assign the Storage Object Viewer role to allUsers to make the bucket publicly accessible.
D
Select the 'make public' checkbox in the GCP Console for the bucket.