CertKeen

Google Cloud Associate Cloud Engineer · Free practice question 6 of 12

Globally unique Cloud Storage bucket names

Running gcloud storage buckets create gs://backups --location=us-east1 fails at Fairhaven Labs because the name is unavailable, although the company has no bucket with that name. Why?

  1. A.Bucket names share a single global namespace, so another customer already uses that name
  2. B.Bucket names must include the project ID as a prefix
  3. C.Buckets must be created with gsutil rather than gcloud storage
  4. D.The us-east1 region does not allow new buckets
Show answer and explanation

Correct answer: A. Bucket names share a single global namespace, so another customer already uses that name

Why: Cloud Storage bucket names are globally unique across all Google Cloud customers, so a common name is often already taken and a more specific name is needed. Project IDs are not required in bucket names, us-east1 supports buckets, and gcloud storage is the recommended CLI for creating them.

More free Google Cloud Associate Cloud Engineer questions