exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 49 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 49
Topic #: 1
[All Professional Cloud Architect Questions]

Google Cloud Platform resources are managed hierarchically using organization, folders, and projects. When Cloud Identity and Access Management (IAM) policies exist at these different levels, what is the effective policy at a particular node of the hierarchy?

  • A. The effective policy is determined only by the policy set at the node
  • B. The effective policy is the policy set at the node and restricted by the policies of its ancestors
  • C. The effective policy is the union of the policy set at the node and policies inherited from its ancestors
  • D. The effective policy is the intersection of the policy set at the node and policies inherited from its ancestors
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
passnow
Highly Voted 4 years, 11 months ago
The effective policy for a resource is the union of the policy set at that resource and the policy inherited from its parent.https://cloud.google.com/iam/docs/resource-hierarchy-access-control
upvoted 31 times
...
ghadxx
Highly Voted 2 years, 10 months ago
You can set IAM policies at the level of the node, in addition to policies inherited from its parent. Hence, it is a union.
upvoted 13 times
...
Ekramy_Elnaggar
Most Recent 2 weeks ago
Selected Answer: C
Here's how IAM policies work in GCP's hierarchical structure: 1. Hierarchy: GCP resources are organized in a hierarchy: - Organization: The root node representing your company. - Folders: Used to organize projects within the organization. - Projects: Containers for your resources (VMs, databases, etc.). 2. Inheritance: IAM policies are inherited down the hierarchy. This means a policy set at the Organization level applies to all folders and projects within it. 3. Union of Policies: When you have policies at different levels, the effective policy at a particular node (e.g., a project) is the combination (union) of: - The policy set directly at that node. - All the policies inherited from its parent folder and the organization. Example: If a user has "Viewer" access at the Organization level and "Editor" access at the Project level, their effective permission on that project is "Editor" (the higher permission).
upvoted 1 times
...
Di4sa
1 year, 3 months ago
Selected Answer: C
From google doc: Google Cloud resources are organized hierarchically, where the organization node is the root node in the hierarchy, the projects are the children of the organization, and the other resources are descendants of projects. You can set allow policies at different levels of the resource hierarchy. Resources inherit the allow policies of the parent resource. The effective allow policy for a resource is the union of the allow policy set at that resource and the allow policy inherited from its parent.
upvoted 3 times
...
omermahgoub
1 year, 11 months ago
The effective policy at a particular node in the resource hierarchy in GCP is determined by the intersection of the policy set at the node and policies inherited from its ancestors, as described in option D Cloud IAM policies in GCP are hierarchical, meaning that policies set at higher levels of the resource hierarchy can be inherited by lower levels. When a user or service account attempts to access a resource, the effective policy at that resource is determined by evaluating the policies set at the resource itself and all of its ancestors in the hierarchy. If any of the policies deny access, the user or service account will be denied access. For example, consider the following resource hierarchy: Organization => Folder => Project => Compute Engine instance If an IAM policy is set at the organization level that allows read access to all Compute Engine instances, and a policy is set at the project level that denies read access to a specific Compute Engine instance, the effective policy for that instance will be the intersection of the two policies, which will be to deny read access to the instance.
upvoted 1 times
omermahgoub
1 year, 11 months ago
Option A: The effective policy is not determined only by the policy set at the node, as policies set at higher levels in the hierarchy can also have an impact on the effective policy. Option B: The effective policy is not restricted by the policies of its ancestors, as the policies of its ancestors can also be included in the effective policy if they allow access. Option C: The effective policy is not the union of the policy set at the node and policies inherited from its ancestors, as the intersection of the policies is used to determine the effective policy.
upvoted 1 times
...
...
habros
2 years ago
Selected Answer: C
C. Is a skewed wording question. Cannot be comprehended right away.
upvoted 2 times
...
megumin
2 years ago
Selected Answer: C
ok for C
upvoted 1 times
...
Mahmoud_E
2 years, 1 month ago
Selected Answer: C
C is correct answer
upvoted 1 times
...
zr79
2 years, 1 month ago
English as a second language will struggle here. Good luck to us
upvoted 5 times
...
BiddlyBdoyng
2 years, 2 months ago
A: Would mean polcies set at the project or higher meant nothing, this is obviously wrong B: would mean you could not grant a permissions to a single VM, it would need to be at project or above (you restrict by not giving the permission) C : The permission is the sum of all the permissions you are given through the hierarchy, this is correct, you cannot restrict once it is given at a higher level. D: Would mean you would need the permission set at ancestor and the node, this would mean to get access to a single VM you would need to be given access to all VMs at the project level.
upvoted 3 times
...
holerina
2 years, 2 months ago
C is correct answer as it inheritance is the basic model of IAM
upvoted 2 times
...
avinashvidyarthi
2 years, 6 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
Atnafu
2 years, 11 months ago
C Google Cloud resources are organized hierarchically, where the organization node is the root node in the hierarchy, the projects are the children of the organization, and the other resources are descendants of projects. You can set Identity and Access Management (IAM) policies at different levels of the resource hierarchy. Resources inherit the policies of the parent resource. The effective policy for a resource is the union of the policy set at that resource and the policy inherited from its parent.
upvoted 3 times
...
vincy2202
2 years, 11 months ago
C is the correct answer
upvoted 2 times
...
haroldbenites
2 years, 12 months ago
Go for C.
upvoted 1 times
...
MamthaSJ
3 years, 4 months ago
Answer is C
upvoted 3 times
...
victory108
3 years, 6 months ago
C. The effective policy is the union of the policy set at the node and policies inherited from its ancestors
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...