Chpater 15 Monitoring Flashcards
Other than visualizing logs and metrics and discovering insights that enable you to optimize your resources, what else does CloudWatch provide?
- Setting of alarms
- Automation of recovery from errors
- Troubleshooting
A _______ is a collection of metrics or a container of related metrics
namespace
dimension
A dimension is a name/value pair used to define a metric uniquely. For example, for the namespace AWS/EC2 and name/metric CPUUtilization, the dimension might be InstanceId.
high resolution metrics
In cloudwatch, data points that have a granularity of less than one second
The default configuration is to store log data in Amazon CloudWatch Logs ________
indefinitely
how is cloudwatch logs charged?
Charged for any data stored in service as well as any data transferred out
What are different alarm states in CloudWatch Alarms?
- OK
- ALARM
- INSUFFICIENT_DATA
What are the alarm setting which need to be configured for CloudWatch Alarms?
- PERIOD (interval for data points)
- EVALUATION PERIOD (# of data points to evaluate)
- DATA POINTS TO ALARM
(# data points within evaluation period above threshold necessary go into ALARM state)
In the context of EC2 instances, an alarm can trigger…
auto scaling actions
What are some ways CloudWatch Alarms can integrate with other AWS resources?
via SNS or SQS
What are examples of services that produce global events which are consumed/processed by CloudTrail?
- IAM
- STS
- CloudFront
4, Route 53
Global events in CloudTrail are recognized as occurring where?
Us East - 1 (Northern Virginia)
A trail allows delivery of CloudTrail events to what destinations?
- S3 Bucket
- CloudWatch Logs
- CloudWatch events
X-ray trace vs segment vs sub-segment
Trace is E2E path of a request through your application. Segment is like the link the in chain (the AWS service), and the subsegment is the underlying API call made from a particular service
By default EC2 instances do not report OS level metrics. But you can enable this by doing what?
Installing CloudWatch agent onto the instance.