PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #333
Your Google Cloud organization is subdivided into three folders: production, development, and networking, Networking resources for the organization are centrally managed in the networking folder…
The correct answer is A. Enable the Restrict Shared VPC Host Projects organization policy on the production folder. To prevent projects in the production folder from attaching to unauthorized Shared VPCs without affecting the development folder, enable the "Restrict Shared VPC Host Projects" organization policy on the production folder.
Question
Options
- AEnable the Restrict Shared VPC Host Projects organization policy on the production folder.
- BEnable the Restrict Shared VPC Host Projects organization policy on the networking folder only.
- CEnable the Restrict Shared VPC Host Projects organization policy at the project level for each of
- DEnable the Restrict Shared VPC Host Projects organization policy at the organization level.
How the community answered
(57 responses)- A65% (37)
- B12% (7)
- C5% (3)
- D18% (10)
Why each option
To prevent projects in the production folder from attaching to unauthorized Shared VPCs without affecting the development folder, enable the "Restrict Shared VPC Host Projects" organization policy on the production folder.
Enabling the `Restrict Shared VPC Host Projects` organization policy directly on the production folder allows you to precisely control which Shared VPC host projects are permissible for service projects within that folder. This provides a targeted solution that resolves the security risk in production while leaving the development folder unaffected, aligning with the requirements for efficiency and minimal disruption.
Enabling the policy on the networking folder would only restrict Shared VPCs within that folder, not prevent projects in the production folder from attaching to host projects located outside the networking folder.
Applying the policy at the project level for each project in the production folder would be less efficient and more cumbersome to manage than applying it once at the folder level, especially for multiple projects.
Enabling the policy at the organization level would apply the restriction to all folders, including the development folder, which violates the requirement to not impact the development folder.
Concept tested: Organization Policy for Shared VPC restrictions
Source: https://cloud.google.com/vpc/docs/troubleshooting-shared-vpc#restrict-host-projects
Topics
Community Discussion
No community discussion yet for this question.