Prevent KMS Key Deletion with EventBridge and SSM Automation
Short answer
C Create an EventBridge rule to trigger an SSM Automation runbook that cancels the KMS key deletion and sends an SNS notification.
Question
Key Takeaways
The core trap is confusing detection-only solutions (like CloudTrail) or complex custom code (Lambda) with the automated remediation pattern provided by EventBridge triggering SSM Automation Runbooks.
This question tests how to prevent accidental deletion of AWS KMS keys using Amazon EventBridge and AWS Systems Manager Automation while minimizing operational overhead.
Common mistake: Many candidates choose Option D, assuming that monitoring via CloudTrail and alerting via SNS is sufficient, but this fails the requirement to 'prevent' the deletion action itself.
Expert Analysis
Why the Answer Is Correct
Option C is the correct solution because it leverages Amazon EventBridge to detect the DeleteKey API call in real-time. By configuring an AWS Systems Manager (SSM) Automation runbook as a target, the architecture can automatically cancel the scheduled deletion of the KMS key before it completes. This approach requires no custom code, ensuring the least operational overhead compared to Lambda.
Why the Other Options Are Wrong
Option A is incorrect because AWS Config rules are primarily for compliance evaluation and do not natively support cancelling active API calls like key deletion; they typically flag non-compliance rather than preventing it in this context. Option B introduces unnecessary complexity by requiring a custom Lambda function to handle the logic, increasing operational overhead. Option D only provides detection and notification via CloudTrail and CloudWatch alarms but lacks any mechanism to actively stop or cancel the deletion attempt.
Community Comment Notes
Community consensus strongly supports Option C, with many users noting that "AWS Config is for detection, not for prevention" as one commenter explained. Others highlighted that Option C achieves the goal since "KMS keys are not immediately deleted," allowing time for automation to intervene. Some users initially chose D, focusing on auditing, but were corrected that the question specifically demands prevention, not just notification.
Official Reference
This link opens the official vendor documentation in a new tab.
Exam Strategy
When a question asks for 'prevention' or 'remediation', look for services that can take action (like SSM Automation or Lambda) triggered by events (EventBridge). Avoid options that only provide logging or alerts if the requirement is to stop an action.
Frequently Asked Questions
Why can't I use AWS Config to prevent KMS key deletion?
Is Lambda required to prevent KMS key deletion?
Community Votes
100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 12 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 12
-
Andy_09 👍 14Option C https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/monitor-and-remediate-scheduled-deletion-of-aws-kms-keys.html
-
hajra313 👍 10option c bcz Option C emerges as the clear winner due to its: Direct event monitoring for the DeleteKey operation Pre-built automation using Systems Manager Automation runbooks Efficient notification via Amazon SNS Minimal code development and operational overhead Reduced risk of accidental deletion with faster response times
-
knben 👍 4I would go with C A -> Config is for compliance B -> No lambda is required, too much complexity C -> It achieves the goal, since KMS keys are not immediately deleted, which gives time to automation to cancel the action D -> Cloudtrail is for auditing
-
sandordini 👍 3 Answered CMy educated guess was C. Now, reading the comments, from Hajrá313 and knben I feel confident as well :)
-
MatAlves 👍 2 Answered C"Deletion of an AWS KMS key is scheduled. The scheduled-deletion event is evaluated by an EventBridge rule. The EventBridge rule engages the Amazon SNS topic. The EventBridge rule initiates the Systems Manager automation and runbooks. The runbooks cancel the deletion." https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/monitor-and-remediate-scheduled-deletion-of-aws-kms-keys.html
Show 7 more comments
-
FlyingHawk 👍 2 Answered CA- AWS config is for detection, not for prevention, it cannot cancel the deletion. B is more effort to implement the custom logic to prevent KMS key deletion. C is correct to use EventBridge rule to detect it then config the rule to use AWS System Manager Automation rubook to cancel the deletion and publish the event to SNS. D - does not have action for prevent the deletion of key.
-
Dammy031 👍 2 Answered DCloud trail helps to keep all invoked API calls in the AWS account which can trail back to the delete call made by a user CloudWatch triggers an alarm when deletion is attempted. SNS sends a notification to the administration about the attempt made. All these met the requirement of the question.
-
camps 👍 2It's D https://docs.aws.amazon.com/kms/latest/developerguide/deleting-keys-creating-cloudwatch-alarm.html https://docs.aws.amazon.com/kms/latest/developerguide/deleting-keys-creating-cloudwatch-alarm.html#cloudwatch-alarm-prerequisites
-
1dd 👍 2C as it " cancel the deletion of the KMS key"
-
JA2018 👍 1 Answered COption C provides the most streamlined solution with minimal additional components needed (LEAST operational overhead). It directly leverages EventBridge to monitor for KMS key deletion attempts, triggers a Systems Manager Automation runbook to automatically prevent the deletion, and sends notifications through SNS without requiring additional Lambda functions or complex CloudWatch metric filtering.
-
NayeraB 👍 2 Answered CI agree with hajra313
-
JunsK1e 👍 2 Answered CI agree with andy_09
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →