D1: Resource Hierarchy
Google Cloud Associate Cloud Engineer exam practice questions · 13 flashcards
Question
What is the Google Cloud resource hierarchy?
1 / 13
Tip: Space flips the card, ← / → navigate.
Show all 13 Resource Hierarchy practice questions and answers
- What is the Google Cloud resource hierarchy?Organization → Folders → Projects → Resources.
- What is the Organization resource?The root node of the hierarchy, tied to a Cloud Identity or Google Workspace domain.
- What are folders used for?Grouping projects (e.g. by department or environment) and applying shared IAM and org policies.
- Can folders be nested?Yes, folders can contain sub-folders (up to 10 levels).
- What is a project?The base unit for enabling APIs, billing, IAM and creating resources.
- Project ID vs project number vs project name?ID: globally unique, user-chosen, immutable. Number: Google-assigned, immutable. Name: display name, changeable.
- Can a project ID be changed after creation?No. It's permanent.
- How do you create a project with gcloud?gcloud projects create PROJECT_ID --folder=FOLDER_ID (or --organization=ORG_ID).
- How do you create a folder?gcloud resource-manager folders create --display-name=NAME --organization=ORG_ID (or --folder).
- How do you move a project to another folder?gcloud projects move PROJECT_ID --folder=FOLDER_ID; inherited policies change accordingly.
- What happens when a project is deleted?It's shut down and can be restored within ~30 days before permanent deletion.
- Which role creates projects in an organization?Project Creator (roles/resourcemanager.projectCreator).
- Why use folders for environments (prod/dev)?Apply different IAM and org policies to each environment once, inherited by all projects.