Soru

Zorluk: KolayAdvising Development and Operation Teams

An operations team is deploying a microservice application to Compute Engine instances. To ensure deployment scripts execute cleanly without permission errors, the team lead plans to assign the primitive Owner role (roles/owner) to the deployment service account. As a Cloud Architect advising the operations team, which recommendation aligns with Google Cloud security best practices?

  1. Assign predefined or custom fine-grained roles following the principle of least privilege instead of primitive roles.Cevap
  2. B
    Proceed with assigning the Owner role to prevent deployment scripts from failing due to permission issues.
  3. C
    Assign the Service Account Admin role to the service account so it has full administrative control over IAM resources.
  4. D
    Download a static JSON service account key with Owner permissions and commit it directly to the deployment code repository.

Cevap

Assign predefined or custom fine-grained roles following the principle of least privilege instead of primitive roles.
Advising development and operation teams on cloud architecture implementation requires enforcing Google Cloud IAM security best practices. Service accounts used in automated pipelines should strictly adhere to the principle of least privilege by receiving specific predefined or custom roles rather than primitive roles like Owner or Editor.

Adım Adım Çözüm

1
Analyze the request and proposed permission model
Identified that granting the primitive Owner role provides overly broad access across Google Cloud resources.
Security guidance for Google Cloud implementations requires enforcing the principle of least privilege.
2
Evaluate the recommended advice for the operations team
Recommend fine-grained predefined or custom IAM roles tailored specifically to Compute Engine deployment tasks.
Predefined compute deployment roles grant only necessary execution permissions, mitigating security risks associated with over-privileged service accounts.

Anahtar Kavram

IAM Least Privilege Best Practices when Advising DevOps Teams
Bu soruyu puanla