A cloud engineer is deploying a Cloud Storage bucket named `audit-vault-2026` in the `us-east1` region to hold long-term regulatory compliance logs. Security policies mandate that per-object ACLs must be completely disabled by enforcing Uniform Bucket-Level Access upon creation. Furthermore, all files uploaded to this bucket must default to the `ARCHIVE` storage class to minimize storage expenditure. Which command should the engineer run to deploy the bucket according to Google-recommended best practices?
- gcloud storage buckets create gs://audit-vault-2026 --location=us-east1 --default-storage-class=ARCHIVE --uniform-bucket-level-accessCevap
- Bgsutil mb -l us-east1 -c ARCHIVE -b on gs://audit-vault-2026
- Cgcloud storage buckets create gs://audit-vault-2026 --location=us-east1 --default-storage-class=ARCHIVE --no-uniform-bucket-level-access
- Dgcloud compute buckets create gs://audit-vault-2026 --zone=us-east1-a --storage-class=ARCHIVE --uniform-bucket-level-access
Cevap
The command 'gcloud storage buckets create gs://audit-vault-2026 --location=us-east1 --default-storage-class=ARCHIVE --uniform-bucket-level-access' correctly creates the storage bucket with all required security and storage class configurations.
The correct command utilizes 'gcloud storage buckets create' along with the '--location=us-east1', '--default-storage-class=ARCHIVE', and '--uniform-bucket-level-access' flags. This fulfills all requirements in a single operation adhering to current Google Cloud standards.
Adım Adım Çözüm
Anahtar Kavram
Deploying Cloud Storage Buckets using gcloud storage CLI
Tahmini Süre:2m 0s