An organization is decommissioning a legacy application hosted in Google Cloud. An Associate Cloud Engineer attempts to shut down the project using the gcloud command-line tool, but the command fails with an error indicating that the project cannot be deleted because a lien exists on the resource. Which action should the engineer take to resolve this issue and successfully shut down the project?
- Identify and delete the active lien placed on the project before re-executing the project deletion command.Answer
- BRemove inherited IAM policies at the parent Folder level so that project deletion protection constraints are ignored.
- CGrant the primitive Owner role on the linked Cloud Billing Account to force the deletion operation.
- DSubmit a GCP quota increase request to expand the organization's maximum project deletion limit.
Answer
Identify and delete the active lien placed on the project before re-executing the project deletion command.
In Google Cloud, project liens prevent accidental project deletion. When a lien is active on a project, any attempt to shut down or delete the project fails until an authorized user removes the lien object.
Step-by-Step Solution
Key Concept
Project Lifecycle Management and Project Liens
Estimated Time:1m 30s