A security team suspects a compromised IAM user and needs to limit further damage immediately while preserving evidence. What is the best immediate action?

Answer

Detach all policies from the IAM user and disable the user, while retaining CloudTrail logs

Explanation

Disabling the user and removing permissions reduces ongoing access quickly, and CloudTrail retention helps preserve forensic evidence. Other options do not directly stop IAM access or may destroy auditability.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list