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
In the GCP Console, locate and check the 'make public' option for the bucket.
C
Grant the Storage Object Viewer role to allUsers to make the bucket publicly accessible.
allUsers
D
Assign the Storage Object Viewer role to allAuthenticatedUsers to allow public access.
allAuthenticatedUsers