Question

Difficulty: Very hardManaging Cloud Projects and Resource Hierarchy

An enterprise organization is onboarding a specialized engineering team and needs to establish a new, isolated project environment under an existing Organization node. The administrator must create a dedicated folder, create a project inside it, link an active enterprise billing account, enable the Compute Engine API, and grant the team necessary permissions using least-privilege predefined roles via the gcloud CLI. What is the correct sequence of administrative steps to configure this environment?

  1. 1Execute `gcloud resource-manager folders create` specifying the Organization ID to establish the parent folder node.
  2. 2Execute `gcloud projects create` with the `--folder` flag targeting the newly created folder ID.
  3. 3Execute `gcloud billing projects link` to associate the active Billing Account with the newly created project ID.
  4. 4Execute `gcloud services enable compute.googleapis.com` targeting the project to activate the Compute Engine API.
  5. 5Execute `gcloud projects add-iam-policy-binding` to assign predefined Compute Engine roles to the developer Google Group.

Answer

The correct sequence is: 1) Create the parent folder under the organization, 2) Create the project inside the folder, 3) Link the project to the billing account, 4) Enable the Compute Engine API on the project, and 5) Apply IAM policy bindings to grant permissions.
The deployment sequence must follow physical and logical resource dependencies in Google Cloud: establish the parent hierarchy container (Folder), instantiate the child project inside it, link monetary resource tracking (Billing Account), activate required service capabilities (APIs), and grant scoped access permissions (IAM Policy Bindings).

Step-by-Step Solution

1
Create the structural Folder container under the Organization
A new folder resource is established under the organization node.
Folders serve as logical grouping mechanisms and IAM/policy inheritance boundaries for projects.
2
Instantiate the Project within the created Folder
The project is created under the specified folder in the resource hierarchy.
Projects are child nodes of folders or organizations and host actual GCP resources.
3
Link the Project to an enterprise Billing Account
Billing is linked to the project ID.
Google Cloud requires an active billing account association before enabling paid APIs or provisioning infrastructure.
4
Activate the required Cloud Service APIs
The Compute Engine API (`compute.googleapis.com`) is enabled for the project.
APIs are disabled by default on new projects and must be enabled before underlying resources can be accessed.
5
Bind predefined IAM roles at the Project level
Developer Google Group receives scoped predefined roles on the project.
Applying least-privilege IAM bindings at the project level secures resource access after service initialization.

Key Concept

Resource Hierarchy Provisioning Lifecycle and Administrative Scoping Sequence
Rate this question