How many parent(s) can one resource have?
Click on the arrows to vote for the correct answer
A. B. C. D.Correct Answer: A.
Option A is correct.
Each resource has exactly one parent.
Option B is incorrect.
Each resource has exactly one parent.
Option C is incorrect.
Each resource has exactly one parent.
Option D is incorrect.
Each resource has exactly one parent and does not depend on the resource type.
https://cloud.google.com/iam/docs/overview#resource-hierarchyIn general, one resource can have only one parent resource in cloud computing. The parent resource is the resource that controls the child resource's lifecycle, permissions, and access control. When the parent resource is deleted, all child resources are also deleted.
However, the answer could depend on the resource type, as some resources may have different configurations and relationships with other resources. For example, a virtual machine can have multiple disks attached to it, each of which could be considered a child resource. In this case, the virtual machine resource would have multiple parent resources, each disk resource. Therefore, the answer would be "depends on the resource type" (option D) in this scenario.
In summary, the answer to the question is generally one parent resource (option A), but it could vary depending on the specific resource type (option D).