Cloud Watch
Cloud Watch
Cloud Watch
15. Question 25. How Long Does Cloudwatch Logs Store My Data?
Answer :
You can store your log data for as long as you want. By default, CloudWatch Logs will store
your log data indefinitely. You can change the retention for each LogGroup at any time.
16. Question 26. What Types Of Cloudwatch Alarms Can Be Created?
Answer :
You can create an alarm to monitor any CloudWatch metric in your account. You can also
create an alarm on custom metrics that are specific to your custom application or
infrastructure.
17. Question 27. What Actions Can I Take From A Cloudwatch Alarm?
Answer :
When you create an alarm, you can configure it to perform one or more automated actions
when the metric you chose to monitor exceeds a threshold you define.
Ex: send an email, publish to SQS, stop/terminate an EC2 instance, or execute an auto-scaling
policy.
6. Question 10. What Is The Retention Period Of All Metrics?
Answer :
CloudWatch retains metric data as follows:
1. Data points with a period of less than 60 seconds are available for 3 hours. These
data points are high-resolution custom metrics,
2. Data points with a period of 60 seconds (1 minute) are available for 15 days,
3. Data points with a period of 300 seconds (5 minute) are available for 63 days,
4. Data points with a metric of 3600 seconds (1 hour) are available for 455 days (15
months).
5. Data points that are initially published with a shorter period are aggregated
together for long-term storage.
18. Question 28. What Thresholds Can I Set To Trigger A Cloudwatch Alarm?
Answer :
When you create an alarm, you first choose the CloudWatch metric you want it to monitor.
Next, you choose the evaluation period and a statistical value to measure. To set a threshold,
set a target value and choose whether the alarm will trigger when the value is greater, equal,
or less than that value.