A healthcare analytics platform rapidly migrated its legacy workloads to Google Cloud. An architectural audit revealed significant technical debt causing operational fragility and security risks: infrastructure changes are applied ad-hoc from developer workstations using unversioned local Terraform state files, and application service accounts rely on project-level primitive `roles/editor` permissions to access Google Cloud Storage and BigQuery datasets. The lead cloud architect must formulate a remediation plan to eliminate this technical debt while enforcing governance and least-privilege security. Which TWO actions should the architect recommend? (Select TWO.)
- Migrate local Terraform state files to a Google Cloud Storage bucket backend with object versioning and state locking enabled, and enforce automated deployment pipelines.Cevap
- Replace project-level primitive `roles/editor` grants on service accounts with fine-grained, predefined least-privilege IAM roles scoped strictly to required resources.Cevap
- CGrant developers the Service Account Admin (`roles/iam.serviceAccountAdmin`) role to allow them to create and manage service account keys directly on their workstations for deployment automation.
- DMigrate all stateless application workloads to a Google Kubernetes Engine (GKE) cluster to handle infrastructure deployment state management using custom Kubernetes operators.
Cevap
The architect should recommend migrating local Terraform state files to a versioned Google Cloud Storage backend bucket with state locking enabled alongside CI/CD automation, and replacing primitive `roles/editor` grants on service accounts with fine-grained predefined least-privilege IAM roles.
Remediating technical debt requires fixing both configuration management processes and identity security vulnerabilities. Storing Terraform state in a Cloud Storage backend bucket with object versioning and state locking enforces state consistency, enables concurrency control, and supports automated CI/CD pipelines. Concurrently, replacing primitive Editor roles on service accounts with resource-scoped predefined roles ensures strict adherence to least-privilege security standards.
Adım Adım Çözüm
Anahtar Kavram
Mitigating architectural technical debt by standardizing IaC state backends and enforcing least-privilege IAM roles.