Monitoring Flashcards

1
Q

What is CloudWatch?

A

Platform for monitoring and observability to identify potential issues

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

What are the 2 categories of CloudWatch metrics?

A

Default metrics and customer provided metrics

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

What is the default period for cloudwatch statisitics?

A

60 seconds

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

Are there default Alarms?

A

No

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

What is the default reporting interval? For detailed monitoring?

A

5 minute and 1 minute with added cost

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

What metrics are provided by standard?

A

CPU Utilization, Network throughput

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

What metrics are custom?

A

EBS volume storage usage, Memory utilization

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

What does it mean for a metric to be custom?

A

Metrics need a CloudWatch agent installed on the host

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

What are system metrics?

A

These are default, standard metrics e.g. managed services provides more of these

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

What are application metrics?

A

Custom metrics that need a CloudWatch agent installed

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

What is CloudWatch Logs?

A

Place to centrally store and access log files and query

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

What is a Log Event?

A

A data point of what happened with a timestamp and data

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

What is a Log Stream?

A

A collection of log events from the same source

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

What is a Log Group?

A

Collection of log streams from different sources e.g. different ec2 instances

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

What do you use if you want to use SQL with CloudWatch Logs?

A

Use CloudWatch Insights

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

What do you create when looking for specific terms in CloudWatch?

A

You create an Event Filter Pattern

17
Q

Where should Logs go if the focus is on storage? If focus is on processing logs?

A

For storage send them to S3

For processing logs send to CloudWatch Logs

18
Q

What are common sources for CloudWatch Logs?

A

EC2, Lamba, RDS, On-Prem, Cloud Trail

19
Q

What should you use if you need realtime log processing?

A

Use Kinesis instead

20
Q

How do you use Alarms with CloudWatch Logs?

A

If an event filter pattern is matched, then generate an Alarm

21
Q

What should you use for system/application lvl monitoring? Monitoring best practices/standards?

A

CloudWatch

AWS Config

22
Q

What do you need installed on EC2 for CloudWatch Logs to work?

A

A CloudWatch Agent needs to be installed

23
Q

Is CloudWatch realtime?

A

No, it is near realtime

24
Q

What can you do to fix underlying hardware failure in EC2 using CloudWatch?

A

You can stop, restart, reboot, terminate an EC2 instance as an Action using CloudWatch Alarm

25
What should you watch out for between Alarms polling period and metric collection?
Note that if you are collecting metrics at a 5 minute interval but alarm looks at data every 1 minute then will always be insufficient data