An organization is analyzing its automated software release process for a hybrid microservices platform deployed on Compute Engine Managed Instance Groups (MIGs). The CI/CD pipeline utilizes Cloud Build to build custom Golden Images using Packer and execute Terraform scripts to update instance templates. An SDLC architecture review identified two critical issues: the Cloud Build default service account uses the primitive Editor role across the project, and Terraform state files generated during execution are stored on local runner storage without locks, causing concurrency errors during parallel pipeline runs. Which TWO actions should the architecture team recommend to resolve these issues while following Google Cloud best practices? (Select TWO.)
- Configure a dedicated user-managed service account for Cloud Build with granular roles for compute resource management and grant it the Service Account User role on the workload runtime service account.Cevap
- BGrant the Cloud Build service account the Service Account Admin role to allow it full control over identity delegation during compute provisioning.
- CAssign the primitive Owner role to the Cloud Build service account to ensure all automated resource creation steps bypass IAM permission checks.
- DConfigure Terraform pipelines to store state files inside ephemeral build workspace storage to isolate each build execution from network access.
- Configure a central Google Cloud Storage bucket backend with Object Versioning enabled for Terraform state management.Cevap