Soru

Zorluk: KolayAssessing and Mitigating Technical Debt in Cloud Architectures

A software development team migrated a legacy application to Google Cloud and granted primitive Owner roles to several application service accounts to accelerate initial deployment. An architectural review identified this setup as a critical security technical debt risk. Which action should the cloud architect recommend to mitigate this technical debt?

  1. Audit the exact permissions used by the application and replace the primitive roles on the service accounts with specific predefined or fine-grained custom IAM roles.Cevap
  2. B
    Grant the Service Account Admin role to all application service accounts so they can automatically manage their own identity lifecycle and permissions.
  3. C
    Migrate the application workloads to a Google Kubernetes Engine (GKE) cluster to handle permission isolation at the container orchestration layer.
  4. D
    Maintain the current IAM permissions locally in unversioned Terraform state files to restrict unauthorized access to the security configuration.

Cevap

Audit the exact permissions used by the application and replace the primitive roles on the service accounts with specific predefined or fine-grained custom IAM roles.
Replacing primitive roles with fine-grained predefined or custom roles directly remediates security technical debt by removing unneeded high-privilege access while ensuring the application maintains necessary operations.

Adım Adım Çözüm

1
Analyze the identified technical debt item
Identified that service accounts possess broad primitive Owner roles granted during rapid initial deployment.
Primitive roles grant excessive privileges across an entire project, creating a security risk and accumulating technical debt.
2
Evaluate GCP recommended mitigation strategies
Determine required minimal permissions using IAM Recommender or Cloud Logging.
Technical debt in identity management is resolved by transitioning to least-privilege predefined or custom IAM roles.
3
Select optimal architecture solution
Replace primitive Owner roles with fine-grained roles explicitly tailored to application needs.
This directly remediates the debt without adding unnecessary architectural complexity.

Anahtar Kavram

Assessing and Mitigating IAM Technical Debt via Least Privilege
Tahmini Süre:1m 0s
Bu soruyu puanla