AWS Certified Security – Specialty — Question 339

A company receives an email message from the AWS Abuse team. The message states that an IAM user in the company's AWS account has had an associated access key and secret access key pair published in public code repositories.

The identified AM user is designated as a service account. The IAM user uses hardcoded credentials in a critical customer-facing production application. There are no signs of a compromise within the company's AWS account. The company's security team must address this situation by implementing a solution that minimizes application downtime.

What is the correct order of actions for the security team to take to meet these requirements?

Answer options

Correct answer: A

Explanation

To prevent application downtime, the security team must create a new access key and update the production application's configuration before disabling the exposed access key. Disabling the compromised key first (as seen in C and D) or revoking active sessions prematurely (as seen in B) would cause immediate application failure. Deleting console credentials first ensures the account cannot be accessed via the console, while the ordered rotation of the access keys maintains continuous application functionality.