Topic 1 Question 164
You are creating a new infrastructure CI/CD pipeline to deploy hundreds of ephemeral projects in your Google Cloud organization to enable your users to interact with Google Cloud. You want to restrict the use of the default networks in your organization while following Google-recommended best practices. What should you do?
Enable the constraints/compute.skipDefaultNetworkCreation organization policy constraint at the organization level.
Create a cron job to trigger a daily Cloud Function to automatically delete all default networks for each project.
Grant your users the IAM Owner role at the organization level. Create a VPC Service Controls perimeter around the project that restricts the compute.googleapis.com API.
Only allow your users to use your CI/CD pipeline with a predefined set of infrastructure templates they can deploy to skip the creation of the default networks.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: A
A is the answer.
https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints
- constraints/compute.skipDefaultNetworkCreation This boolean constraint skips the creation of the default network and related resources during Google Cloud Platform Project resource creation where this constraint is set to True. By default, a default network and supporting resources are automatically created when creating a Project resource.
👍 3zellck2022/09/29 - 正解だと思う選択肢: A
A. Enable the constraints/compute.skipDefaultNetworkCreation organization policy constraint at the organization level.
👍 3AwesomeGCP2022/10/08 - 正解だと思う選択肢: A
A. https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints
"This boolean constraint skips the creation of the default network and related resources during Google Cloud Platform Project resource creation where this constraint is set to True. By default, a default network and supporting resources are automatically created when creating a Project resource. constraints/compute.skipDefaultNetworkCreation"
👍 2Random_Mane2022/09/05
シャッフルモード