AWS Certified Solutions Architect – Professional — Question 230

During an audit, a security team discovered that a development team was putting IAM user secret access keys in their code and then committing it to an AWS
CodeCommit repository. The security team wants to automatically find and remediate instances of this security vulnerability.
Which solution will ensure that the credentials are appropriately secured automatically?

Answer options

Correct answer: D

Explanation

The correct answer, D, ensures that any new code submissions are automatically scanned for credentials, and if found, those credentials are disabled immediately. This proactive approach prevents sensitive information from being stored in the repository. The other options either rely on manual processes or do not address the issue directly in a timely manner.