A company is establishing a multi-account environment using AWS Organizations. The security team wants to delegate the ability to create IAM roles to the development team lead in a member account. However, the security team must ensure that the team lead cannot create roles that grant permissions exceeding a defined threshold. Furthermore, compliance rules dictate that no entity within the member account—including the AWS account root user—should be able to stop or delete AWS CloudTrail logging. Which TWO options should the solutions architect choose to meet these requirements?
- Apply a Service Control Policy (SCP) at the member account level in AWS Organizations that denies the cloudtrail:StopLogging and cloudtrail:DeleteTrail actions.Cevap
- Configure an IAM permissions boundary that defines the maximum permitted actions, and attach an IAM policy to the team lead that allows role creation only if the permissions boundary is applied.Cevap
- CUse the AWS account root user credentials to create all daily resources and apply an IAM identity-based policy to the root user to prevent disabling CloudTrail.
- DCreate individual IAM users for each developer in the organization's management account and generate long-term access keys for them to assume administrative roles.
- EStore a backup administrator's access key and secret access key as a plaintext String parameter in AWS Systems Manager Parameter Store for easy retrieval by the team lead.
Cevap
The solutions architect should apply a Service Control Policy (SCP) to deny CloudTrail logging modifications and configure an IAM permissions boundary to restrict the maximum permissions of roles created by the team lead.
Applying a Service Control Policy (SCP) to the member account is the only way to enforce restrictions (such as denying changes to CloudTrail) on all users and roles, including the member account's root user. Creating an IAM permissions boundary and requiring it during role creation ensures that the development team lead can create roles for developers without granting permissions that exceed the security team's defined boundary.
Adım Adım Çözüm
Anahtar Kavram
Delegating IAM administration with permissions boundaries and enforcing organization-wide guardrails using SCPs.