AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question
A DevOps engineer installed the unified CloudWatch agent on dozens of Amazon EC2 instances in two Regions. The agent publishes the mem_used_percent metric in the CWAgent namespace with the InstanceId dimension. The engineer must receive a single SNS notification whenever any instance's memory usage is above 80% for three consecutive 1-minute periods while minimizing management effort and CloudWatch costs. Which approach satisfies these requirements?
Create a CloudWatch alarm on the Metrics Insights query SELECT MAX(mem_used_percent) FROM "CWAgent" with a 60-second period, threshold 80, and three evaluation periods, and configure the alarm to publish to Amazon SNS.
Create a standard CloudWatch alarm for each EC2 instance that monitors mem_used_percent, then create a composite alarm that aggregates these alarms and publishes a notification to SNS.
Create an EventBridge rule that matches every PutMetricData API call from the CWAgent namespace, route the events to an SNS topic, and use SNS message filtering to detect values above 80%.
Stream the mem_used_percent metrics to CloudWatch Logs, configure a metric filter that counts occurrences above 80% in a 1-minute window, and create a CloudWatch alarm on that filter to send an SNS notification.
A Metrics Insights query can aggregate the memory-utilization metrics from every instance into one time series, so the engineer needs only one alarm. Using SELECT MAX(mem_used_percent) FROM "CWAgent" with a 60-second period returns the highest utilization observed in each minute. Configuring the alarm with a threshold of 80 and three evaluation periods generates an SNS notification only when any instance breaches the limit for three consecutive minutes. This single alarm is cheaper and simpler than creating individual alarms, building composite alarms, or forwarding every PutMetricData call through EventBridge or log filters.
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 the CloudWatch unified agent?
Open an interactive chat with Bash
How does a Metrics Insights query work in CloudWatch?
Open an interactive chat with Bash
What is the purpose of evaluation periods in a CloudWatch alarm?
Open an interactive chat with Bash
What is Metrics Insights in CloudWatch?
Open an interactive chat with Bash
What is the advantage of using a single CloudWatch alarm with aggregated metrics?
Open an interactive chat with Bash
How does CloudWatch handle evaluation periods in alarms?
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 .