Monitoring Flashcards

1
Q

What is CloudWatch?

A

It is a monitoring service that monitors your AWS resources, as well as the applications that you run on AWS.

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

What does CloudWatch monitor per default (host level metrics)?

A
  • CPU
  • Network
  • Disk (e.g. disk I/O, not how much storage there is left)
  • Status Check (e.g. health of a EC2 host or instance)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name a CloudWatch custom metric.

A

RAM Utilization

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

What is the default monitoring for EC2 (in minutes)?

A

Default is 5 minutes intervals. You can enable detailed monitoring, which makes it 1 minute intervals.

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

What is the retention period for CloudWatch logs?

A

CloudWatch stores your logs indefinitely by default. You can change this. You can even retrieve data from terminated EC2 or ELB instances after its termination.

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

What is the minimum granularity for CloudWatch custom metrics?

A

1 minute.

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

How can you use CloudWatch to monitor?

A
  • You can create an alarm to monitor any CloudWatch metric in your account
  • e.g. EC2 CPU utilization, Elastic Load Balancer latency, charches on you AWS bill
  • You can set a threshold in which to trigger the alarm, and also set what action should be taken if an alarm state is reached (SNS that sends you a notification, Lambda that terminates some instances, etc).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the metric granularity for Standard and Detailed monitoring?

A

Standard: 5 min
Detailed: 1 min

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

Can CloudWatch be used on premise?

A

Yes. Just need to download an install the SSM agent and CloudWatch agent.

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

What is the difference between CloudWatch, CloudTrail and Config?

A
  • CloudWatch
  • Monitors performance
  • CloudTrail
  • Monitors API calls in the AWS platform
  • Used for auditing
  • E.g. if I provision an EC2
  • Tells you what time it was provisioned, what resource, whether it was provisioned successfully, who provisioned it, the IP address, etc.
  • Config
  • Records the state of your AWS environment and can notify you of changes
  • E.g. Config can tell you what the rules was on a certain security group three weeks ago
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do I delete CloudWatch metrics?

A

“Metrics cannot be deleted, but they automatically expire after 15 months if no new data is published to them.”

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