Monitoring Flashcards
What is the granularity for standard, detailed, and fine grained monitoring resolutions in CloudWatch and how are fine grained metrics generated?
Standard: 5 Minutes
Detailed: 1 Minute
Fine grained: 1 Second. Fine grained metrics are custom metrics generated from an instance using the putMetric API
When you first create an alarm, what will its status initially be?
Insufficient_Data
An alarm on a high resolution metric can be triggered every how many minutes (minimum and maximum)?
An alarm can be triggered on a high resolution metric ever 10 OR 30 seconds.
For an autoscaling group what configuration would you use for cloud watch metrics - standard or detailed - and why?
Detailed as the resolution is higher. In a detailed metric group, we get data back every minute. In standard we only get it every 5 minutes which is likely to be to coarse a resolution to be useful.
Which resources states can be monitored by trusted adviser (2):
- R53 Routing Failures
- Running but Idle EC2 Instances
- S4 buckets with open permissions
- EC2 instances with root ssh access
2 and 3
Can Cloudwatch monitor an instances disk and memory usage?
No. Not by default. You will need to set up custom metrics
In CloudTrail, what is a management event?
When a principal executes or attempts to execute a request against any AWS resource.
Are cloudwatch dashboards global or region locked?
Dashboards are Global. You can chart data from multiple regions on the same dash if needed
Cloudwatch logs support streaming of logs for most AWS services. Can you stream logs from custom applications?
Yes, you can use the AWS SDK to stream custom logs. As with everything you will need IAM permissions. The unified CW agent can also stream logs to cloudwatch
By default, how long does cloud trail collect data for and is this for all events? Is this per region or global?
90 Days of management events - but not data events. Per Region.
What is a write only management or data event in CloudTrail?
Write only management event: any attempt to modify an aws resource regardless if it was successful or not.
Data Write Only event is a change to S3 or lambda.