AWS Certified DevOps Engineer – Professional — Question 199

A DevOps engineer wants to implement an automated response that will occur if AWS Trusted Advisor detects an IAM access key in a public source code repository. The automated response must delete the exposed access key and must notify the security team.
Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

Option D is correct as it leverages Amazon EventBridge to trigger the Lambda function when an 'Exposed Access Keys' event occurs, and it also integrates SNS for notifications. Option A relies on CloudTrail logs and metric filters, which may not provide the immediate response required. Option B uses AWS Config, which is not specifically designed for this type of event handling. Option C uses a Personal Health Dashboard, which is not applicable for this use case.