DOP-C02 · Question #230
A cloud team uses AWS Organizations and AWS IAM Identity Center (AWS Single Sign-On) to manage a company's AWS accounts. The company recently established a research team. The research team requires…
The correct answer is C. Create an SCP that denies the iam:CreateUser action. Attach the SCP to the research team's. You can attach an SCP to the organization root, to an organizational unit (OU), or directly to an https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_attach.
Question
A cloud team uses AWS Organizations and AWS IAM Identity Center (AWS Single Sign-On) to manage a company's AWS accounts. The company recently established a research team. The research team requires the ability to fully manage the resources in its account. The research team must not be able to create IAM users. The cloud team creates a Research Administrator permission set in IAM Identity Center for the research team. The permission set has the AdministratorAccess AWS managed policy attached. The cloud team must ensure that no one on the research team can create IAM users. Which solution will meet these requirements?
Options
- ACreate an IAM policy that denies the iam:CreateUser action. Attach the IAM policy to the
- BCreate an IAM policy that allows all actions except the iam:CreateUser action. Use the IAM policy
- CCreate an SCP that denies the iam:CreateUser action. Attach the SCP to the research team's
- DCreate an AWS Lambda function that deletes IAM users. Create an Amazon EventBridge rule
How the community answered
(42 responses)- A5% (2)
- B7% (3)
- C74% (31)
- D14% (6)
Explanation
You can attach an SCP to the organization root, to an organizational unit (OU), or directly to an https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_attach.
Topics
Community Discussion
No community discussion yet for this question.