Google Cloud Associate Cloud Engineer — Question 301
Your company is active in the European Economic Area (EEA), and will adopt Google Cloud for its workloads. Projects are currently structured within different folders. You need to ensure any resources that will be deployed are using Google Cloud locations within the EEA by using the Organization Policy Service resource locations constraint. What should you do?
Answer options
- A. Configure the policy at the folder level, and add all allowed locations to the policy.
- B. Configure the policy at the organization level, and add all allowed locations to the policy.
- C. Configure the policy at the folder level, and add all disallowed locations to the policy.
- D. Configure the policy at the organization level, and add all disallowed locations to the policy.
Correct answer: B
Explanation
The correct answer is B because applying the policy at the organization level ensures that all resources across all folders adhere to the location constraints. This is more effective than setting it at the folder level, as it provides a comprehensive solution for all projects within the organization. Options A, C, and D do not effectively enforce the desired location restrictions across the entire organization.