An organization is building an automated continuous integration pipeline to provision a memory-intensive batch processing workload on Google Cloud. The architecture utilizes Compute Engine Managed Instance Groups (MIGs) with custom instance templates. A CI/CD service account executes Infrastructure as Code (IaC) scripts to instantiate the instances and attach a runtime service account that accesses Cloud Storage. Which TWO operational and security configurations must be implemented during compute provisioning? (Select TWO choices.)
- Request regional Compute Engine CPU and memory quota increases in advance prior to executing large-scale instance group provisioning.Cevap
- Grant the CI/CD pipeline service account the Service Account User role (roles/iam.serviceAccountUser) on the specific runtime service account attached to the Compute Engine instances.Cevap
- CGrant the CI/CD pipeline service account the Service Account Admin role (roles/iam.serviceAccountAdmin) to manage service account attachments during VM provisioning.
- DConfigure the Managed Instance Group autoscaling policy to scale instances strictly based on average CPU utilization metrics.
- EStore the Terraform state files locally within the ephemeral execution environment of the CI/CD runner to reduce provisioning latency.
Cevap
The deployment requires requesting regional Compute Engine resource quotas in advance and granting the Service Account User role (roles/iam.serviceAccountUser) to the CI/CD deployment identity on the specific runtime service account.
Requesting regional compute quota increases in advance ensures that large-scale automated deployments execute without encountering compute capacity limits. Additionally, granting the Service Account User role (roles/iam.serviceAccountUser) on the runtime service account allows the deployment pipeline to attach that identity to new Compute Engine instances while adhering to least privilege principles.
Adım Adım Çözüm
Anahtar Kavram
Compute Resource Provisioning and IAM Privilege Scoping
Tahmini Süre:1m 30s