A financial technology enterprise is automating the deployment of a high-throughput transaction processing engine on Google Cloud using an automated delivery pipeline. The CI/CD pipeline executes using a dedicated deployment service account that provisions a Compute Engine Managed Instance Group (MIG). The VMs in the instance template are configured to run under a separate application runtime service account with fine-grained database access permissions. During pipeline deployment, Compute Engine returns an authorization failure indicating that the deployment service account is not allowed to attach the runtime service account to the newly provisioned instances. Which action should the cloud architect take to resolve this failure while adhering to the principle of least privilege?
- Grant the deployment service account the Service Account User role (roles/iam.serviceAccountUser) specifically on the application runtime service account.Answer
- BGrant the deployment service account the Service Account Admin role (roles/iam.serviceAccountAdmin) at the project level.
- CGrant the deployment service account the primitive Editor role (roles/editor) at the project level.
- DReconfigure the pipeline to provision a GKE Private Cluster with Control Plane Authorized Networks instead of Compute Engine VMs.