An enterprise organization manages a Google Cloud resource hierarchy containing an Organization root node, a Production folder, and a Development folder. At the Organization root level, a Boolean Organization Policy constraint named `constraints/compute.disableGlobalExternalIpAccess` is configured with enforcement enabled (`enforce: true`). The cloud operations team must permit Compute Engine instances within the Development folder to use global external IP addresses, while ensuring the Production folder strictly maintains the prohibition. Furthermore, changes to the organization policy must follow the principle of least privilege. Which TWO actions or policy principles must be applied to achieve this configuration? (Select TWO.)
- Configure an explicit Organization Policy on the Development folder for `constraints/compute.disableGlobalExternalIpAccess` and set `enforce: false` to override the inherited restriction.Cevap
- BGrant developers the `roles/resourcemanager.organizationAdmin` role on the Development folder so their IAM permissions override the organization policy enforcement.
- Assign the Organization Policy Administrator role (`roles/orgpolicy.policyAdmin`) to the administrator responsible for setting constraints on the resource hierarchy nodes.Cevap
- DCreate an IAM deny policy at the Production folder level to revoke external IP allocation permissions for all service accounts in the Development folder.
Cevap
To allow external IP creation under the Development folder while enforcing restrictions on the Production folder, an explicit Organization Policy with enforcement set to false must be applied to the Development folder to override the inherited parent constraint. Additionally, modifying Organization Policies requires granting the Organization Policy Administrator role (`roles/orgpolicy.policyAdmin`) according to least-privilege administrative standards.
Child resource hierarchy nodes inherit Organization Policy enforcement settings from parent nodes, but an administrator with the `roles/orgpolicy.policyAdmin` role can override inherited Boolean constraints by explicitly setting `enforce: false` on the lower-level node (such as the Development folder).
Adım Adım Çözüm
Anahtar Kavram
Organization Policy inheritance evaluation and discrete administrative role delegation