Cloud Watch Flashcards

1
Q

What is Cloud Watch?

A

Alarms and checks to ensure that we catch warning signs before they become bigger problems

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

Cloud Watch System Metrics

A

the more managed the service is [i.e. RDS], the more data you get

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

Cloud Watch Application Metrics

A

you install the CloudWatch agent on the EC2 instance

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

Cloud Watch Alarms

A

tell you when something goes wrong

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

Restrictions on Default Cloud Watch metrics

A
  • can be checked every minute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Restrictions on Custom Cloud Watch metrics

A
  • you install the agent

- can be checked every 10 seconds

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

Which CloudWatch metrics are default?

A
  • CPU Utilization

- Network Throughput

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

Which CloudWatch metrics are custom?

A
  • EC2 Memory Utilization

- EBS Storage Capacity

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

Exam tip: What tool do you use for monitoring?

A

Cloud Watch

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

Are there any default Cloud Watch alarms?

A

No

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

At what intervals are CloudWatch alarms provided

A
  • Standard metrics = 5 minutes

- Detailed metrics - 1 minute

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

CloudWatch logs

A

when you start getting a lot of logs, you will become overwhelmed with logs.

CloudWatch logs is a tool that allows you to monitor, store and access log files from a variety of sources (EC2, Lambda, RDS, etc.)

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

Log Event

A

a record of what happened

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

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
15
Q

Log Group

A

all of the log streams of all services/apps that log

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

CloudWatch Log Filter Patterns

A

let you look for specific terms in your logs (ex: 404 errors)

17
Q

CloudWatch Logs Insights

A

use sql-like commands to look for general trends across all your services

18
Q

CloudWatch Logs Insights

A
  • CloudWatch Logs + SQL

- use sql-like commands to look for general trends across all your services

19
Q

EC2 CloudWatch Setup

A
  1. Install the agent
  2. run the config wizard command
  3. Do you want to monitor a log file? Yes, give it a path to the log
  4. Then it creates a JSON document
  5. Run the agent and pull in the JSON config file
  6. You have to give CloudWatch Logs a role to do this.
20
Q

EC2 CloudWatch Setup

A
  1. Install the agent
  2. run the config wizard command
  3. Do you want to monitor a log file? Yes, give it a path to the log
  4. Then it creates a JSON document
  5. Run the agent and pull in the JSON config file
  6. You have to give CloudWatch Logs a role to do this.
21
Q

For exam questions about logs …

A

Choose CloudWatch Logs:

  • unless you don’t need to process them (use S3)

- unless they’re streaming logs or real-time solution (then use Kinesis)