Question 310
During a security and availability review at a digital payments provider, the DevOps team discovers that an automation role allows all AWS principals to assume it for convenience. The affected workload supports transaction authorization and reconciliation; availability and integrity are both required for financial settlement. Which automation approach BEST satisfies this operational requirement?
Explanation
Correct Answer
Correct. Use short-lived AWS STS AssumeRole sessions with narrow trust policies and role permissions for centralized automation instead of long-term shared IAM user access keys. The reported condition is that an automation role allows all AWS principals to assume it for convenience. The design addresses the corresponding exposure: Standing cross-account keys increase blast radius and complicate attribution and rotation. Its effectiveness must be demonstrated by this result: A central automation job obtains a temporary target-role session, performs only permitted tasks and is auditable by assumed role session identity.
Incorrect Answers
Create and review CloudFormation change sets against the approved infrastructure baseline before executing potentially disruptive stack updates. It changes a different feature than cross-account sts operational access.
Apply tested AWS Organizations service control policies to the correct OU to set maximum allowed permissions while granting needed roles through IAM separately. That change would not implement cross-account sts operational access.
Deploy approved CloudFormation StackSets with appropriate service-managed permissions and OU targeting to maintain consistent baseline resources across accounts and Regions. The configuration must instead establish cross-account sts operational access.