Google Cloud Engineer interview question · Most asked
Explain Google Cloud's resource hierarchy: organisation, folders, projects and resources.
How it works Asked in Cloud Engineer interviews
Summary
Everything belongs to a project, which holds resources, enabled APIs, quotas and billing linkage. Projects can be grouped into folders (by department, environment or team) under one organisation node tied to your Cloud Identity or Google Workspace domain. IAM policies and organisation policies set higher up are inherited by everything below.
Longer Answer
- Organisation: the root; owned by the company, not by an employee's account. Org admins set guardrails here.
- Folders: nest up to 10 levels; a common layout is
prod/,non-prod/,shared/or per business unit. - Projects: the unit of isolation, billing and quota; identified by an immutable project ID.
- Inheritance: a role granted on a folder applies to all its projects; you can't remove an inherited allow lower down (only add), though IAM deny policies can block permissions.
- Billing accounts are linked to projects separately from the hierarchy.
Key Points
- Projects hold resources, APIs, quotas and billing.
- Folders group projects; organisation is the root.
- IAM and org policies inherit downwards.
- Inherited allows can't be removed below; deny policies can block.
Explanation
What interviewers look for
A clear model of isolation and inheritance, and how it drives landing-zone design.
More Google Cloud Engineer questions
- How do you design a Google Cloud landing zone for a company with several teams?
- How do you run Terraform for Google Cloud safely in a team?
- How does IAM work in Google Cloud, and why should you avoid basic roles?
- What are service accounts, and how should workloads authenticate without service account keys?
- Compare Google Cloud's database options: Cloud SQL, AlloyDB, Spanner, Firestore and Bigtable.
- How is networking in a Google Cloud VPC different from AWS?
- When would you choose Cloud Run, GKE or Compute Engine?
- Design a highly available web application on Google Cloud.