
Answer-first summary for fast verification
Answer: Rotate the IAM role's credentials and audit its permissions.
Rotating the IAM role's credentials and auditing its permissions ensures that any previously compromised credentials are no longer valid and that the role's permissions are reviewed for security. Deleting the role might disrupt operations. Disabling the role might not address the immediate threat of ongoing unauthorized access. Increasing permissions would exacerbate the security risk.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You have identified a compromised IAM role in your AWS environment. What immediate actions should you take to secure your environment and prevent unauthorized access?
A
Delete the IAM role and recreate it with stricter permissions.
B
Rotate the IAM role's credentials and audit its permissions.
C
Disable the IAM role temporarily.
D
Increase the IAM role's permission level to allow for easier monitoring.
No comments yet.