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?
- A.Bucket names share a single global namespace, so another customer already uses that name
- B.Bucket names must include the project ID as a prefix
- C.Buckets must be created with gsutil rather than gcloud storage
- 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
- Coldline minimum storage duration charge
- Cloud Run jobs for run-to-completion tasks
- Auto mode VPC creates regional subnets
- App Engine traffic splitting between versions
- gcloud config list active settings
- bq load CSV into a table
- kubectl rollout undo for bad releases
- Browser role for hierarchy visibility
- Log Analytics SQL queries on logs
- Cloud SQL Auth Proxy benefits
- Secret Manager for application credentials