A cloud administrator needs to establish strict governance controls on a designated 'Production' Folder within the Google Cloud resource hierarchy. The requirements dictate that developers working inside projects under this folder must be prevented from generating long-lived service account JSON keys, and Compute Engine virtual machines must not be assigned public IP addresses. Which TWO configurations should the administrator apply to the 'Production' Folder to meet these security requirements? (Select TWO.)
- Enforce the Boolean constraint constraints/iam.disableServiceAccountKeyCreation on the Production folder.Cevap
- Configure the List constraint constraints/compute.vmExternalIpAccess to deny all external IP addresses on the Production folder.Cevap
- CGrant the primitive Owner role (roles/owner) to folder administrators so they can manually remove project-level IAM permissions whenever keys or external IPs are created.
- DCreate IAM Deny policies on child projects to explicitly override and block inherited permissions granted by parent Organization Policies.
Cevap
Enforce the Boolean constraint constraints/iam.disableServiceAccountKeyCreation on the Production folder, and configure the List constraint constraints/compute.vmExternalIpAccess to deny all external IP addresses on the Production folder.
Enforcing the Boolean constraint for disabling service account key creation and setting the List constraint to deny external IP access directly at the folder level ensures that all child projects inherit these rules. This satisfies both security requirements without needing project-by-project manual configuration.
Adım Adım Çözüm
Anahtar Kavram
Organization Policy Enforcement across Resource Hierarchy Folders