An organization needs to implement basic governance controls across its multi-account environment using AWS Organizations. The administrator wants to ensure that member accounts cannot disable AWS CloudTrail and cannot delete a centralized IAM role used for security auditing.
Which of the following actions should the administrator take to meet these requirements? (Select TWO.)
- Create a Service Control Policy (SCP) that denies the cloudtrail:StopLogging and cloudtrail:DeleteTrail actions, and attach it to the target organizational units (OUs).Cevap
- Create a Service Control Policy (SCP) that denies the iam:DeleteRole action for the auditing role, and attach it to the target organizational units (OUs).Cevap
- CAttach an IAM policy with a Deny effect on the target actions to the management account, relying on cross-account policy inheritance to protect member accounts.
- DUse AWS Resource Access Manager (RAM) to share the security auditing IAM role from the management account to all member accounts to restrict local deletion.
- ECreate local Service Control Policies (SCPs) inside the IAM console of each individual member account to block the target actions.
Cevap
Create a Service Control Policy (SCP) that denies the cloudtrail:StopLogging and cloudtrail:DeleteTrail actions, and attach it to the target organizational units (OUs); and Create a Service Control Policy (SCP) that denies the iam:DeleteRole action for the auditing role, and attach it to the target organizational units (OUs).
To prevent member accounts from disabling AWS CloudTrail or deleting specific IAM roles, the organization must use Service Control Policies (SCPs) managed centrally. The option recommending an SCP denying the cloudtrail:StopLogging and cloudtrail:DeleteTrail actions, and the option recommending an SCP denying the iam:DeleteRole action for the auditing role are correct because SCPs define permission guardrails that restrict actions for all IAM users and roles in the member accounts, including the root user.
Adım Adım Çözüm
Anahtar Kavram
Service Control Policies (SCPs) in AWS Organizations are used to establish permission guardrails across member accounts, overriding local administrators.