A financial enterprise is establishing security guardrails across its Google Cloud resource hierarchy. The security team requires that all projects under the `Production` folder strictly prevent the creation of service account keys and restrict resource deployments exclusively to European regions. Which TWO Organization Policy constraints should the security team apply at the `Production` folder level to meet these requirements?
- Enforce the `iam.disableServiceAccountKeyCreation` boolean constraint at the `Production` folder level.Cevap
- Enforce the `gcp.resourceLocations` list constraint with allowed values specified for European regions at the `Production` folder level.Cevap
- CAssign the `roles/iam.serviceAccountUser` role to developer groups instead of `roles/iam.serviceAccountAdmin` to prevent key generation.
- DConfigure a VPC Service Controls perimeter around the `Production` folder to restrict service account key export and regional resource allocation.
Cevap
The security team must enforce the `iam.disableServiceAccountKeyCreation` constraint to block service account key creation and enforce the `gcp.resourceLocations` constraint with an allowed list of European regions.
The correct options involve applying the `iam.disableServiceAccountKeyCreation` boolean constraint and the `gcp.resourceLocations` list constraint. Organization Policies allow administrators to set organization-wide or folder-wide guardrails that inherit down the resource hierarchy. `iam.disableServiceAccountKeyCreation` explicitly prevents users from generating service account keys, while `gcp.resourceLocations` limits resource creation to specific geographical locations.
Adım Adım Çözüm
Anahtar Kavram
Centralized Governance using Boolean and List Organization Policy Constraints