CLOUD-SECURITY-ENGINEER practice question 29 of 35
You want to prevent users from accidentally deleting a Shared VPC host project. Which organization- level policy constraint should you enable?
Full set: 317 questionsTo prevent accidental deletion of a critical project like a Shared VPC host project, you should first place a lien on the project. A lien prevents the project's deletion. However, users with the resourcemanager.projectLiens.update permission can remove liens. The organization policy constraint compute.restrictXpnProjectLienRemoval prevents even those users from removing liens on Shared VPC host projects, providing the strongest protection against accidental deletion. This ensures the project and its network resources remain intact.
A. compute.restrictSharedVpcHostProjects restricts which projects can be designated as host projects; it does not prevent their deletion once configured.
C. compute.restrictSharedVpcSubnetworks controls which subnetworks can be shared with service projects, which is unrelated to host project deletion.
D. compute.sharedReservationsOwnerProjects is a constraint related to Compute Engine reservations and has no effect on project deletion.
1. Google Cloud Documentation, "Protecting projects". This page describes using project liens to prevent accidental deletion. Section: "Using project liens to prevent project deletion".
2. Google Cloud Documentation, "Organization policy constraints for Shared VPC". This document explicitly states that compute.restrictXpnProjectLienRemoval, when set to true, "Prevents users from removing liens on Shared VPC host projects."
3. Google Cloud Documentation, "Provisioning Shared VPC". The "Protect the host project" section recommends adding a project lien and using the compute.restrictXpnProjectLienRemoval organization policy for protection.
Keep practicing
Take the free CLOUD-SECURITY-ENGINEER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CLOUD-SECURITY-ENGINEER practice questions
- Question 1You have created an OS image that is hardened per your organization’s security standards …
- Question 2An organization’s typical network and security review consists of analyzing application t…
- Question 3You work for a large organization where each business unit has thousands of users. You ne…
- Question 4Your team needs to configure their Google Cloud Platform (GCP) environment so they can ce…
- Question 5You are a security engineer at a finance company. Your organization plans to store data o…
- Question 6A customer needs an alternative to storing their plain text secrets in their source-code …
