Oracle Cloud Infrastructure 2019 Developer Associate — Question 147
How can you provide users access to an existing compartment?
Answer options
- A. by granting users access to a compartment when the compartment is created
- B. by adding users to a group and defining a policy to provide the group access to the compartment
- C. by adding users to a compartment, all users in the compartment will have access to the objects in the compartment.
- D. by granting access directly to the user when the user is created
Correct answer: B
Explanation
The correct answer is B because it allows for group-based management of permissions, which is more scalable and manageable than granting individual access. Option A is incorrect as it only applies during creation, while C wrongly suggests that merely being in a compartment grants access to all its objects. Option D is also incorrect since it focuses on individual access instead of group policy management.