Question 70
A centralized audit team needs verified access analysis across accounts. The team confirms that a role credential is suspected compromised during an investigation. Which AWS architecture decision should be prioritized?
Explanation
Correct Answer
The scenario identifies this requirement: A role credential is suspected compromised during an investigation. Select Revoke affected role sessions and remove its unauthorized trust or permissions as the specified technical mechanism. Session invalidation and policy cleanup curtail future compromised use. This response addresses the problem described rather than a different design goal.
Incorrect Answers
The option Query organization CloudTrail management event history for policy APIs addresses a separate condition: security cannot tell who modified a sensitive IAM policy yesterday. CloudTrail records IAM policy modification calls. The actual requirement is a role credential is suspected compromised during an investigation. Recommended corrective action: Revoke affected role sessions and remove its unauthorized trust or permissions. Session invalidation and policy cleanup curtail future compromised use.
For the alternative failure analysts need historical configuration state of an IAM role or security group, the control Use AWS Config resource history and configuration timelines is relevant: config tracks supported resource configuration changes. Here the evidence instead is a role credential is suspected compromised during an investigation. The selected technical mechanism is Revoke affected role sessions and remove its unauthorized trust or permissions: session invalidation and policy cleanup curtail future compromised use.
Generate IAM Access Analyzer external-access findings for the bucket solves a different operational problem where a bucket policy exposes objects to unknown external principals. Analyzer identifies public or cross-boundary resource access. It does not directly address a role credential is suspected compromised during an investigation. The case calls for Revoke affected role sessions and remove its unauthorized trust or permissions, since session invalidation and policy cleanup curtail future compromised use.