LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
AWS Certified Solutions Architect - Professional

AWS Certified Solutions Architect - Professional

Get started today

Ultimate access to all questions.


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 Code Commit 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?

Exam-Like



Explanation:

Answer D provides a solution that is both immediate and automated, addressing the security concern directly where the issue originates—in the code repository. By configuring a CodeCommit trigger to invoke a Lambda function whenever new code is committed:

  1. Proactive Detection: It allows for proactive scanning of new code submissions for IAM user credentials, ensuring that these vulnerabilities are caught as early as possible before they can propagate further or be exploited.

  2. Automated Remediation: If credentials are found, the Lambda function can automatically take steps to disable them within AWS IAM. This automated response ensures that the risk is mitigated quickly without requiring manual intervention.

  3. Notification: Notifying the user ensures that the development team is aware of the issue, which can help reinforce best practices and prevent future occurrences. Having a feedback loop is crucial for continuous improvement in security posture.

Overall, this solution addresses the issue comprehensively by detecting, remediating, and educating, all through automated processes that can scale with the number of code submissions, making it particularly suitable for dynamic development environments.

Powered ByGPT-5