Monitoring Flashcards

1
Q

What is the granularity for standard, detailed, and fine grained monitoring resolutions in CloudWatch and how are fine grained metrics generated?

A

Standard: 5 Minutes
Detailed: 1 Minute
Fine grained: 1 Second. Fine grained metrics are custom metrics generated from an instance using the putMetric API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When you first create an alarm, what will its status initially be?

A

Insufficient_Data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

An alarm on a high resolution metric can be triggered every how many minutes (minimum and maximum)?

A

An alarm can be triggered on a high resolution metric ever 10 OR 30 seconds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

For an autoscaling group what configuration would you use for cloud watch metrics - standard or detailed - and why?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which resources states can be monitored by trusted adviser (2):

  1. R53 Routing Failures
  2. Running but Idle EC2 Instances
  3. S4 buckets with open permissions
  4. EC2 instances with root ssh access
A

2 and 3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Can Cloudwatch monitor an instances disk and memory usage?

A

No. Not by default. You will need to set up custom metrics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In CloudTrail, what is a management event?

A

When a principal executes or attempts to execute a request against any AWS resource.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Are cloudwatch dashboards global or region locked?

A

Dashboards are Global. You can chart data from multiple regions on the same dash if needed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Cloudwatch logs support streaming of logs for most AWS services. Can you stream logs from custom applications?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

By default, how long does cloud trail collect data for and is this for all events? Is this per region or global?

A

90 Days of management events - but not data events. Per Region.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a write only management or data event in CloudTrail?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly