An enterprise architecture team is designing an automated CI/CD pipeline on Google Cloud using Cloud Build to provision infrastructure via Terraform across multiple landing zone projects. The governance team mandates three strict security and operational constraints:
1. Build execution and state management must occur within an isolated network perimeter to prevent arbitrary internet access and exfiltration of state data.
2. Terraform state must be protected against concurrency conflicts and inadvertent corruption during parallel pipeline executions.
3. Developers triggering pipeline runs must be able to initiate deployments without being granted administrative access over the execution service accounts or direct write permissions on target project resources.
Which TWO architectural decisions and IAM security controls should the architect implement to satisfy these requirements? (Select TWO.)
- Run build steps using Cloud Build Private Pools peered with a private VPC enclosed inside a VPC Service Controls perimeter, and configure the Terraform backend using Cloud Storage with Object Versioning and state locking enabled.Answer
- BGrant developers the Service Account Admin role (roles/iam.serviceAccountAdmin) on the deployment service account so the CI/CD pipeline can dynamically create, attach, and rotate service account keys during build execution.
- Assign the Service Account User role (roles/iam.serviceAccountUser) on the dedicated deployment service account to the Cloud Build service agent, while granting developers only the Cloud Build Build Editor role to submit triggers.Answer
- DAssign the primitive Owner role (roles/owner) to the Cloud Build execution service account across all target projects to ensure unhindered resource creation during pipeline runs.