A cloud engineer needs to set up a new Google Cloud Storage bucket for an analytics project, grant read permissions to a designated service account, and upload an initial data file. In what sequence should the engineer execute these operational steps?
- 1Create the Cloud Storage bucket using 'gcloud storage buckets create gs://analytics-data-2026 --location=us-central1'.
- 2Grant the Storage Object Viewer role to the service account using 'gcloud storage buckets add-iam-policy-binding gs://analytics-data-2026'.
- 3Upload the initial dataset file using 'gcloud storage cp sales_report.csv gs://analytics-data-2026/'.
Cevap
The correct operational sequence is: first create the Cloud Storage bucket, next grant the IAM role to the service account, and finally upload the dataset file to the bucket.
Infrastructure provisioning follows a strict order of dependencies: create the bucket container first, configure access governance by applying IAM policy bindings second, and copy objects into the secured bucket last.
Adım Adım Çözüm
Anahtar Kavram
Deployment lifecycle sequence for provisioning Cloud Storage buckets, securing them with IAM roles, and uploading objects.
Tahmini Süre:1m 0s