Associate Cloud Engineer ยท Resource hierarchy, projects and identities
Google Cloud resource hierarchy
Organization, folders, projects, resource IDs and numbers, how a resource hierarchy is designed, and what to do when a company has no Google Workspace or Cloud Identity domain yet (setting up a standalone organization).
Key points
- Organization (root) > optional folders > projects > service resources.
- Every resource except the root has exactly one parent.
- Allow, deny and organization policies are inherited downward.
- Organization: appears with a Google Workspace or Cloud Identity account for your domain; without one, sign up for Cloud Identity first.
- Project: mutable display name, permanent globally unique ID, automatic read-only number.
Source: https://docs.cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy
Practice questions
Which node sits at the very top of the Google Cloud resource hierarchy?
- The organization
- A top-level folder
- The billing account
- The first project created
Show answer
Answer: A. The organization
The organization is the root; folders and projects live below it. A folder or project can never be the root of an organization-based hierarchy.
Which statements about project identifiers are correct?
- The display name can be edited after creation
- The project ID is permanent once the project exists
- You choose the project number when you create the project
- The project number is generated automatically and is read-only
- Display names must be globally unique
Show answer
Answer: A. The display name can be edited after creation, B. The project ID is permanent once the project exists, D. The project number is generated automatically and is read-only
The display name is the only mutable identifier. The ID is chosen once and stays; the number is generated and read-only. Neither the number nor a unique display name is something you pick: names need not be unique.
True or false: after a project is fully deleted, its project ID becomes free and can be used for a new project.
Show answer
Answer: False
False. An ID that was ever used, including by a deleted project, cannot be reused.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
