Question 140
An attacker obtained temporary STS credentials for an IAM role that remain usable after the role trust policy is corrected. Which response BEST satisfies the stated security need?
Explanation
Correct Answer
Existing temporary credentials may continue until expiration unless explicitly invalidated; changing trust affects future role assumption.
Incorrect Answers
Apply targeted egress containment through security groups or network firewall policy and capture flow evidence; egress filtering can interrupt exfiltration while preserving network evidence; inbound-only restrictions do not stop outbound traffic.
Correlate CloudTrail AssumeRole events and session issuer attributes across affected accounts does not provide the apply an appropriate role-session revocation policy based on issue time and rotate any compromised source credentials required by the reported condition.
Block public access at the appropriate scope and examine object-access evidence for the exposure period; public Access Block helps contain future unintended public access; reviewing access evidence addresses the separate impact-assessment requirement.





AWS Certified Security - Specialty SCS-C03 Practice Tests