AWS Certified Security – Specialty — Question 303

A company is using an organization in AWS Organizations to manage its AWS accounts. The company runs its primary application on Amazon EC2 instances. A security engineer discovers unauthorized access in one of the company’s developer AWS accounts. An investigation reveals that AWS access keys from the developer account were mistakenly added to public source code repository.

Which combination of actions should the security engineer take to secure the compromised account? (Choose two.)

Answer options

Correct answer: A, E

Explanation

Rotating all access keys (A) and removing unauthorized IAM users while updating passwords for the remaining ones (E) remediates the compromised credentials leak by invalidating the exposed keys and securing user access. Modifying security groups (B) or deleting EC2 key pairs (D) does not address the leaked IAM access keys, and removing the account from AWS Organizations (C) fails to remediate the internal security compromise.