AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question
A company streams AWS CloudTrail management events from its production account to an existing CloudWatch Logs log group named ProdTrail. Security engineers need a solution that triggers an alert within 1 minute whenever a DeleteBucket API call is written to the log group. The alert must appear as a CloudWatch alarm and send an email through Amazon SNS. Which set of actions meets these requirements with the least operational overhead?
Create a metric filter on the ProdTrail log group with pattern { $.eventName = "DeleteBucket" }, publish it to a custom CloudWatch metric, and add a 1-minute CloudWatch alarm that notifies an SNS topic.
Configure an S3 event notification on the log bucket that invokes a Lambda function; have the function scan each log file for DeleteBucket events and publish a message to SNS.
Enable CloudTrail Insights on the trail and configure the trail to deliver Insight events to an SNS topic subscribed by the security team.
Create an EventBridge rule that matches DeleteBucket events from aws.s3 and sends them to an SNS topic; rely on EventBridge metrics for monitoring.
The simplest native approach is to use CloudWatch Logs metric filters. A metric filter applied to the ProdTrail log group with the pattern { $.eventName = "DeleteBucket" } turns every matching event into a custom CloudWatch metric. A CloudWatch alarm that monitors this metric with a 1-minute period and one evaluation can change its state almost immediately after a matching log entry appears. Configuring the alarm action to publish to an SNS topic delivers the required email notification. The other choices either do not generate a CloudWatch alarm (EventBridge rule), rely on Insights events that only detect anomalies (CloudTrail Insights), or introduce unnecessary custom code and maintenance (Lambda parser for S3 object events).
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a CloudWatch Logs metric filter?
Open an interactive chat with Bash
How does SNS work with CloudWatch alarms?
Open an interactive chat with Bash
What is the difference between CloudTrail Insights and CloudTrail management events?
Open an interactive chat with Bash
AWS Certified CloudOps Engineer Associate SOA-C03
Monitoring, Logging, Analysis, Remediation, and Performance Optimization
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .