AWS Certified DevOps Engineer – Professional — Question 153

A company has AWS accounts that are members of the same organization in AWS Organizations. According to the company's security policy, IAM customer managed policies must be scoped to specific actions and must not include wildcard actions on wildcard resources.

If an IAM customer managed policy is created or modified in any of the company's AWS accounts to grant wildcard actions on resources that also specify wildcards, the policy must be detached from any IAM user, role, or group that the policy is attached to Individual AWS account administrators must not be able to prevent the removal of the policies.

Which combination of steps will meet these requirements? (Choose two.)

Answer options

Correct answer: A, D

Explanation

Option A is correct as it directly automates the detachment of non-compliant IAM policies through a predefined runbook, ensuring compliance. Option D is also correct as it sets up AWS Config across the organization, allowing for centralized management and automatic application of the needed rules. The other options either do not meet the requirements or involve manual processes that could allow administrators to bypass the policy removal.