Google Cloud Certified Associate Cloud Engineer Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Google Cloud Certified Associate Cloud Engineer Exam with our comprehensive quiz. Engage with interactive flashcards and multiple choice questions that offer hints and detailed explanations to solidify your understanding. Get ready to excel!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


You have a Cloud Storage bucket that needs to host static web assets. How do you make the bucket public?

  1. A. Trick question. Don't ever make a bucket public.

  2. B. Check the "make public" box in the UI.

  3. C. Set allUsers to have the Storage Object Viewer role.

  4. D. gsutil make-public gs://bucket-name

The correct answer is: C. Set allUsers to have the Storage Object Viewer role.

Making a bucket public is not recommended as it can leave your data vulnerable to unauthorized access. However, if you still need to make the bucket public, choosing option A or B is not the correct approach as these options may not provide the necessary permissions for public access. Option D is a valid command, but it is not the recommended way to make a bucket public for hosting static web assets. The best way to make a bucket public for hosting static web assets is by setting allUsers to have the Storage Object Viewer role, as stated in option C. This will allow public access to read the objects in the bucket without giving any other permissions.