An administrator needs to enable the Cloud Vision API (`vision.googleapis.com`) for a Google Cloud project named `media-proc-prod` using the `gcloud` command-line tool. Place the following steps in the correct sequential order from first to last to complete this configuration and verification process under least-privilege principles.
- 1Set the active `gcloud` configuration to target project `media-proc-prod` using `gcloud config set project media-proc-prod`.
- 2Ensure the administrator identity has the Service Usage Admin role (`roles/serviceusage.serviceUsageAdmin`) granted on project `media-proc-prod`.
- 3Execute `gcloud services enable vision.googleapis.com` to activate the API.
- 4Run `gcloud services list --enabled` to confirm that `vision.googleapis.com` is active.
Cevap
The correct sequence is: First, set the active gcloud project context to media-proc-prod. Second, ensure the administrator identity has the Service Usage Admin role granted on the target project. Third, execute gcloud services enable vision.googleapis.com. Finally, run gcloud services list --enabled to confirm the API activation.
The workflow follows standard Google Cloud management practices: first configure project context in the CLI, ensure required permissions are present on the target project, execute the enablement command, and finally verify the resulting state.
Adım Adım Çözüm
Anahtar Kavram
API Enablement and Verification Workflow using gcloud CLI
Tahmini Süre:1m 30s