A cloud security engineer is tasked with establishing service account governance and credential security standards across several Google Cloud projects. Which of the following administrative actions and security practices align with Google Cloud recommendations for managing service accounts? (Select TWO.)
- Enforce the organization policy constraint `iam.disableServiceAccountKeyCreation` to prevent users from generating static, downloadable JSON service account keys.Cevap
- Use service account impersonation and short-lived credentials for automated tools and pipelines instead of exporting persistent key files.Cevap
- CExport JSON service account key files and save them to boot disks on Compute Engine instances to simplify application authentication.
- DGrant developers the primitive Editor role (`roles/editor`) at the project level so they can create, manage, and attach service accounts to resources.
- EEnable the Cloud IAM Service Account Credentials API at the parent organization node level rather than within individual service host projects.
Cevap
Enforcing the organization policy constraint `iam.disableServiceAccountKeyCreation` and utilizing service account impersonation with short-lived credentials represent recommended Google Cloud security practices.
Google Cloud security best practices dictate minimizing the use of long-lived service account keys by enforcing the `iam.disableServiceAccountKeyCreation` organization policy. For automated processes needing authentication, using service account impersonation generates temporary, short-lived OAuth2 access tokens or identity tokens without persisting sensitive key files.
Adım Adım Çözüm
Anahtar Kavram
Service Account Governance and Short-Lived Credentials