How Do You Get Notified When EC2 CPU Utilization Exceeds 80%?
Short answer
A Create a custom Amazon CloudWatch alarm that sends a notification to an Amazon SNS topic when the CPU utilization exceeds 80%.
Question
Key Takeaways
The exam tests whether you associate performance metrics with CloudWatch rather than CloudTrail; the trap is choosing CloudTrail-based options that cannot observe CPUUtilization at all.
An Amazon CloudWatch alarm on the EC2 CPUUtilization metric with an 80% threshold and an Amazon SNS notification action is the standard AWS pattern for proactive performance alerting. The community unanimously (100% of votes) confirms option A as the correct, simplest solution.
Common mistake: The most common wrong pick is B (or D): candidates see the words 'alarm' or 'logs' and assume CloudTrail handles monitoring, but CloudTrail only records API calls and contains no CPUUtilization metric to alarm on or query.
Expert Analysis
Why the Answer Is Correct
Option A creates a custom Amazon CloudWatch alarm on the EC2 CPUUtilization metric with a threshold of 80% and configures the alarm to publish a notification to an Amazon SNS topic. CPUUtilization is a standard, out-of-the-box EC2 metric that CloudWatch collects automatically, so no agents or custom code are required. When utilization crosses 80%, the alarm transitions to the ALARM state and SNS fans the notification out to subscribers via email, SMS, or mobile push. This is the fully managed, near-real-time, serverless alerting pattern that AWS explicitly recommends for metric-based monitoring.
Why the Other Options Are Wrong
Option B fails because AWS CloudTrail is an audit service that records API calls and account activity; it has no concept of performance metrics and cannot alarm on CPU utilization. Option C uses a cron job that polls every 15 minutes, which delays detection by up to 15 minutes, adds operational overhead on the instance itself, and violates the AWS best practice of using managed services instead of custom scripts. Option D is doubly wrong: CloudTrail logs do not contain a CPUUtilization metric (that data exists only in CloudWatch), and a Lambda function polling every 15 minutes adds unnecessary cost, latency, and complexity compared with a native alarm.
Community Comment Notes
The vote distribution is unanimous — 100% of community votes went to A — indicating strong consensus with no dissenting interpretations. The most-liked comment explains that CloudWatch is the AWS service purpose-built for monitoring metrics like CPU utilization and that an 80% threshold alarm publishing to SNS is the most straightforward and efficient method. The remaining comments are short confirmations that A is correct, reinforcing that this is a straightforward service-selection question rather than a nuanced architecture trade-off.
Official Reference
- https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cloudwatch.html
These links open the official vendor documentation in a new tab.
Exam Strategy
Map the pattern 'metric + threshold + notification' directly to CloudWatch alarm plus SNS on exam day. Remember the division of labor: CloudTrail answers 'who did what' (API audit), while CloudWatch answers 'how is it performing' (metrics, logs, alarms). Instantly eliminate any option that polls on a schedule or claims to query CloudTrail for performance metrics.
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 2 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 2
-
examuserss 👍 1 Answered AThe correct answer is A. CloudWatch is the AWS service specifically designed for monitoring metrics like CPU utilization. Creating a CloudWatch alarm with a threshold of 80% and configuring it to send notifications to an SNS topic is the most straightforward and efficient method for achieving this requirement.
-
Saudis 👍 1A is the correct answer
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All DVA-C02 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DVA-C02 Practice Test →