AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 4
An ecommerce company has chosen AWS to host its new platform. The company's DevOps team has started building an AWS Control Tower landing zone. The DevOps team has set the identity store within AWS IAM Identity Center (AWS Single Sign-On) to external identity provider (IdP) and has configured SAML 2.0.
The DevOps team wants a robust permission model that applies the principle of least privilege. The model must allow the team to build and manage only the team's own resources.
Which combination of steps will meet these requirements? (Choose three.)
Answer options
- A. Create IAM policies that include the required permissions. Include the aws:PrincipalTag condition key.
- B. Create permission sets. Attach an inline policy that includes the required permissions and uses the aws:PrincipalTag condition key to scope the permissions.
- C. Create a group in the IdP. Place users in the group. Assign the group to accounts and the permission sets in IAM Identity Center.
- D. Create a group in the IdP. Place users in the group. Assign the group to OUs and IAM policies.
- E. Enable attributes for access control in IAM Identity Center. Apply tags to users. Map the tags as key-value pairs.
- F. Enable attributes for access control in IAM Identity Center. Map attributes from the IdP as key-value pairs.
Correct answer: B, C, F
Explanation
The correct steps involve creating permission sets with inline policies that utilize the aws:PrincipalTag condition key to enforce permissions, establishing a group in the IdP to manage users and their permissions in IAM Identity Center, and enabling attribute mapping from the IdP for finer control. Options A, D, and E do not adequately fulfill the requirement for a refined permission model based on the principle of least privilege.