A cloud administration team manages a resource hierarchy where a specific folder named `Analytics-Prod` contains multiple sensitive data processing projects. Security guidelines require that no Compute Engine virtual machine instances within this folder are assigned external IP addresses, and all Cloud Storage buckets created inside this folder must strictly use Uniform Bucket-Level Access. These restrictions must automatically apply to all current and future projects in the `Analytics-Prod` folder, regardless of root-level defaults. Which TWO actions should the administrator take to implement these constraints using Google Cloud Organization Policies?
- Apply an Organization Policy at the `Analytics-Prod` folder level for `constraints/compute.vmExternalIpAccess` and set the policy rule to deny all external IPs.Cevap
- Apply an Organization Policy at the `Analytics-Prod` folder level for `constraints/storage.uniformBucketLevelAccess` and set the boolean constraint to Enforced.Cevap
- CGrant the Storage Admin IAM role (`roles/storage.admin`) at the `Analytics-Prod` folder level to enforce bucket access controls across child projects.
- DCreate an IAM Deny policy at the root Organization level to block inherited network viewing permissions for project owners in the folder.
Cevap
The correct actions are applying the `constraints/compute.vmExternalIpAccess` list constraint set to deny all external IPs at the target folder node, and enforcing the `constraints/storage.uniformBucketLevelAccess` boolean constraint at the same target folder node.
To restrict resource capabilities across an entire branch of the resource hierarchy, Organization Policy constraints must be applied at the desired parent folder node. Setting `constraints/compute.vmExternalIpAccess` to deny external IPs and enforcing `constraints/storage.uniformBucketLevelAccess` directly on the target folder ensures compliance across all existing and future child projects via resource hierarchy inheritance.
Adım Adım Çözüm
Anahtar Kavram
Organization Policies enforce resource behavior constraints across the GCP resource hierarchy, inheriting down to child folders and projects, distinct from IAM access control permissions.
Tahmini Süre:2m 0s