Monitoring (ACG) Flashcards

1
Q

What is CloudWatch?

A

Amazon CloudWatch is a monitoring service for the health and performance of your AWS resources as well as applications on AWS or in your own datacenter.

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

What can you do with the CloudWatch Agent?

A

The CloudWatch Agent allows you to define your own metrics.

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

What can you do with CloudWatch Logs?

A

CloudWatch Logs allows you to monitor your OS and app logs.

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

What are the default metrics that all EC2 instances send to CloudWatch?

A

CPU, network, disk, and status check are sent to CloudWatch and stored indefinitely.

You can retrieve data from any EC2 or ELB instance even after it has been terminated.

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

By default, what metrics do EC2 instances NOT send to CloudWatch?

A

By default, EC2 does not send OS-level metrics to CloudWatch. You would need to install a CloudWatch Agent to accomplish this.

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

What are some OS-level metrics?

A

Memory usage, processes running, free disk space, CPU idle time, etc.

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

By default, how often does EC2 send metric data to CloudWatch?

A

5 min intervals

For an addtl. charge, you can enable detailed monitoring that sends metrics at 1 min intervals.

For custom metrics, the default is also 1 min intervals and you can configure high resolution metrics that are sent at 1 sec intervals.

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

What is CloudTrail?

A

Records all API calls for your AWS account including user activity and creation/deletion/modification of AWS resources.

Provides an audit log user activity in your AWS account.

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

What is a CloudWatch Namespace?

A

A namespace is a container for CloudWatch Metrics, e.g., EC2 uses the AWS/EC2 namespace.

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

What is a CloudWatch Dimension?

A

A dimension is like a filter, e.g. use the InstanceId dimension to search for metrics for a specific EC2 instance.

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

What are CloudWatch Dashboards?

A

A dashboard is like a custom homepage that you can display important metrics to you in one place.

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

What are CloudWatch Actions?

A

The CloudWatch API supports a long list of different actions to publish, monitor, and alert on a variety of metrics.

These are particularly powerful when creating custom metrics for monitoring and alerting for your app.

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

What are the most commonly used CloudWatch Actions?

A

PutMetricData

PutMetricAlarm

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

What API call publishes metric data points to CloudWatch?

A

PutMetricData

You can define the name of the metric, namespace, value, and a timestamp.

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

What API call creates an alarm associated with a CloudWatch metric to alert you if a threshold has been reached?

A

PutMetricAlarm

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

What can you use to monitor CPU utilization metrics for your EC2 instances?

A

CloudWatch

17
Q

Which of the following tools can be used to determine who provisioned an EC2 instance and what time they made the API call?

A

CloudTrail