ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 164 - Professional Cloud Security Engineer discussion

Report
Export

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?

A.
Enable the constraints/compute.skipDefaultNetworkCreation organization policy constraint at the organization level.
Answers
A.
Enable the constraints/compute.skipDefaultNetworkCreation organization policy constraint at the organization level.
B.
Create a cron job to trigger a daily Cloud Function to automatically delete all default networks for each project.
Answers
B.
Create a cron job to trigger a daily Cloud Function to automatically delete all default networks for each project.
C.
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.
Answers
C.
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.
D.
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.
Answers
D.
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.
Suggested answer: A

Explanation:

Enable the constraints/compute.skipDefaultNetworkCreation organization policy constraint at the organization level.

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.

asked 18/09/2024
giulio guzzi
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first