A digital healthcare company is deploying a new data pipeline in Google Cloud to store medical imaging files in the us-central1 region. The organization's security policy mandates that access to all objects in the bucket must be governed strictly using Cloud IAM policies rather than ACLs, requiring Uniform Bucket-Level Access to be enabled upon creation. Additionally, because the medical images are accessed infrequently (approximately once per month for routine audits), the bucket must default to the Nearline storage class. A Cloud Engineer needs to provision this bucket using the modern Google Cloud CLI. Which command should be executed to satisfy all requirements?
- gcloud storage buckets create gs://health-diag-images-2026 --location=us-central1 --default-storage-class=nearline --uniform-bucket-level-accessCevap
- Bgcloud storage buckets create gs://health-diag-images-2026 --region=us-central1 --storage-class=nearline --enable-ubla
- Cgsutil mb -l us-central1 -c nearline -b off gs://health-diag-images-2026
- Dgcloud storage buckets create gs://health-diag-images-2026 --location=us-central1 --default-storage-class=standard --no-uniform-bucket-level-access
Cevap
Execute `gcloud storage buckets create gs://health-diag-images-2026 --location=us-central1 --default-storage-class=nearline --uniform-bucket-level-access`.
The command correctly uses the standard gcloud storage syntax to create a Cloud Storage bucket with specified location (us-central1), Nearline storage class for monthly access patterns, and Uniform Bucket-Level Access to enforce centralized IAM security policy.
Adım Adım Çözüm
Anahtar Kavram
Cloud Storage Bucket Provisioning via gcloud storage CLI
Tahmini Süre:2m 0s