AWS Certified Solutions Architect – Professional — Question 569

A company is running multiple workloads in the AWS Cloud. The company has separate units for software development. The company uses AWS Organizations and federation with SAML to give permissions to developers to manage resources in their AWS accounts. The development units each deploy their production workloads into a common production account.
Recently, an incident occurred in the production account in which members of a development unit terminated an EC2 instance that belonged to a different development unit. A solutions architect must create a solution that prevents a similar incident from happening in the future. The solution also must allow developers the possibility to manage the instances used for their workloads.
Which strategy will meet these requirements?

Answer options

Correct answer: B

Explanation

Option B is correct because passing the DevelopmentUnit attribute as a SAML session tag enables Attribute-Based Access Control (ABAC). By enforcing a deny action when the resource's DevelopmentUnit tag does not match the principal's aws:PrincipalTag/DevelopmentUnit, developers are prevented from modifying resources belonging to other teams. SCPs (Options A and C) cannot solve this issue because they apply to the entire account and cannot distinguish between different federated users within the same shared production account.