SOA-C02 Question 31
Select 3Your organization uses Amazon EC2 instances to run critical applications. The team wants to be notified immediately if the CPU utilization of any instance exceeds 80% for 5 minutes so that they can take corrective actions. As a SysOps Administrator, how would you configure this notification system?
- A
Create a CloudWatch alarm to monitor the CPU Utilization metric and set the threshold to 80% for 5 consecutive minutes.
- B
Configure the CloudWatch alarm to send notifications to an Amazon SNS topic.
- C
Subscribe your team’s email addresses to the Amazon SNS topic for receiving notifications.
- D
Create an AWS Health event rule to monitor CPU utilization and notify the team when the threshold is breached.
- E
Deploy a custom Lambda function to monitor CPU utilization and send emails when the threshold exceeds 80%.
Show answer and explanation
Correct answers: A, B, C
Explanation
To notify the team when CPU utilization exceeds 80% for 5 minutes, you should use CloudWatch alarms, which are designed to monitor metrics like CPU utilization. The alarm can trigger notifications to an Amazon SNS topic, which then delivers the notifications to subscribed email addresses. This is the simplest and most AWS-aligned way to achieve the desired outcome. AWS Health and custom Lambda functions are not appropriate solutions for this scenario.
- A. Correct.
Correct: A CloudWatch alarm is the appropriate tool to monitor the CPU utilization metric and trigger an action when the threshold is breached.
- B. Correct.
Correct: CloudWatch alarms can be configured to send notifications to an Amazon SNS topic when the alarm state changes.
- C. Correct.
Correct: Subscribing email addresses to the SNS topic ensures that the team receives the notifications triggered by the CloudWatch alarm.
- D. Incorrect.
Incorrect: AWS Health does not monitor EC2 instance metrics like CPU utilization. It provides information about AWS service events and your account's health.
- E. Incorrect.
Incorrect: While deploying a Lambda function may work, it is not the most efficient or AWS-recommended method for monitoring EC2 instance metrics, as CloudWatch alarms provide this functionality natively.