nerdexam
Google

CLOUD-DIGITAL-LEADER · Question #408

An organization is deciding on the layout of their resource hierarchy in Google Cloud. They have several projects within a folder. What will happen when user access policies are applied to the folder?

The correct answer is B. The policy will be inherited by the projects and their resources within the folder.. In Google Cloud's resource hierarchy, IAM policies applied to a folder are inherited by all projects within that folder and by the resources within those projects.

Managing and operating Google Cloud

Question

An organization is deciding on the layout of their resource hierarchy in Google Cloud. They have several projects within a folder. What will happen when user access policies are applied to the folder?

Options

  • AThe policy will be inherited by the projects in the folder but will not affect their resources.
  • BThe policy will be inherited by the projects and their resources within the folder.
  • CThe policy will be applied to all folders within the organization.
  • DThe policy applies to the folder only, and will not be inherited by any projects.

How the community answered

(40 responses)
  • A
    3% (1)
  • B
    88% (35)
  • C
    3% (1)
  • D
    8% (3)

Why each option

In Google Cloud's resource hierarchy, IAM policies applied to a folder are inherited by all projects within that folder and by the resources within those projects.

AThe policy will be inherited by the projects in the folder but will not affect their resources.

Inheritance in Google Cloud IAM applies to both projects and their underlying resources, not just the projects themselves.

BThe policy will be inherited by the projects and their resources within the folder.Correct

Google Cloud IAM uses a hierarchical policy inheritance model where policies flow downward from organization to folders to projects to resources. When a policy is set on a folder, every project inside that folder and every resource inside those projects inherits that policy. This ensures consistent access control without needing to re-apply policies at every level.

CThe policy will be applied to all folders within the organization.

A policy on a folder applies only within that folder's subtree; it does not propagate to sibling folders or the entire organization.

DThe policy applies to the folder only, and will not be inherited by any projects.

Policies on a folder are explicitly inherited by child projects and resources; they do not stop at the folder boundary.

Concept tested: Google Cloud IAM policy inheritance in resource hierarchy

Source: https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy

Topics

#IAM#Resource Hierarchy#Policy Inheritance#Access Control

Community Discussion

No community discussion yet for this question.

Full CLOUD-DIGITAL-LEADER Practice