1Z0-1072 · Question #144
You have created a new compartment called Production to host some production apps. You have also created users in your tenancy and added them to a Group called "production group". Your users are…
The correct answer is D. Write an IAM Policy for "production_group" granting it access to the production compartment. When creating a compartment, you must provide a name for it (maximum 100 characters, including letters, numbers, periods, hyphens, and underscores) that is unique within its parent compartment. You must also provide a description, which is a non-unique, changeable description…
Question
You have created a new compartment called Production to host some production apps. You have also created users in your tenancy and added them to a Group called "production group". Your users are still unable to access the Production compartment. How can you resolve this situation?
Options
- AEvery compartment you create comes with a predefined set of policies, so no further action is
- BYour users get automatic access to all compartments, so no further action is needed
- CWrite an IAM Policy for each specific user granting them access to the production compartment
- DWrite an IAM Policy for "production_group" granting it access to the production compartment
How the community answered
(45 responses)- A7% (3)
- B16% (7)
- C4% (2)
- D73% (33)
Explanation
When creating a compartment, you must provide a name for it (maximum 100 characters, including letters, numbers, periods, hyphens, and underscores) that is unique within its parent compartment. You must also provide a description, which is a non-unique, changeable description for the compartment, from 1 through 400 characters. After creating a compartment, you need to write at least one policy for it, otherwise no one can access it (except administrators or users who have permissions set at the tenancy level). When creating a compartment inside another compartment, the compartment inherits access permissions from compartments higher up its hierarchy. When you create an access policy, you need to specify which compartment to attach it to. This controls who can later modify or delete the policy. Depending on how you've designed your compartment hierarchy, you might attach it to the tenancy, a parent, or to the specific compartment itself.
Topics
Community Discussion
No community discussion yet for this question.