A SysOps administrator needs to monitor the CPU utilization of an Amazon RDS DB instance and receive an alarm when CPU utilization exceeds 80% for 5 consecutive minutes. Which AWS service should be used to create this alarm?
Amazon CloudWatch is the native monitoring service for RDS, automatically collecting the CPUUtilization metric at one-minute or five-minute granularity depending on the database instance class. You can create an alarm that evaluates the metric over consecutive periods and then publishes to an SNS topic or invokes an action when the threshold is breached. This makes CloudWatch the appropriate tool for monitoring CPU utilization and alerting.
Why this answer
Amazon CloudWatch is the native AWS monitoring service that can track RDS DB instance metrics, such as CPU utilization, and trigger alarms based on thresholds and time periods. In this scenario, you would create a CloudWatch alarm on the `CPUUtilization` metric for the specific DB instance, with a threshold of 80% and a period of 5 consecutive minutes (e.g., 5 datapoints of 1-minute periods).
Exam trap
The trap here is that candidates often confuse CloudTrail (for auditing API calls) with CloudWatch (for monitoring metrics and logs), leading them to select CloudTrail when the question explicitly asks about creating an alarm on a performance metric.
How to eliminate wrong answers
Option A is wrong because AWS CloudTrail records API activity and governance events, not real-time performance metrics like CPU utilization; it cannot create metric alarms. Option C is wrong because AWS Config evaluates resource configurations against rules and compliance standards, not operational metrics; it cannot monitor CPU utilization or trigger alarms based on threshold breaches. Option D is wrong because AWS Trusted Advisor provides best-practice recommendations and cost optimization checks, but it does not support custom metric alarms or real-time monitoring of CPU utilization.