Chpater 15 Monitoring Flashcards

1
Q

Other than visualizing logs and metrics and discovering insights that enable you to optimize your resources, what else does CloudWatch provide?

A
  • Setting of alarms
  • Automation of recovery from errors
  • Troubleshooting
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A _______ is a collection of metrics or a container of related metrics

A

namespace

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

dimension

A

A dimension is a name/value pair used to define a metric uniquely. For example, for the namespace AWS/EC2 and name/metric CPUUtilization, the dimension might be InstanceId.

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

high resolution metrics

A

In cloudwatch, data points that have a granularity of less than one second

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

The default configuration is to store log data in Amazon CloudWatch Logs ________

A

indefinitely

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

how is cloudwatch logs charged?

A

Charged for any data stored in service as well as any data transferred out

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

What are different alarm states in CloudWatch Alarms?

A
  1. OK
  2. ALARM
  3. INSUFFICIENT_DATA
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the alarm setting which need to be configured for CloudWatch Alarms?

A
  1. PERIOD (interval for data points)
  2. EVALUATION PERIOD (# of data points to evaluate)
  3. DATA POINTS TO ALARM
    (# data points within evaluation period above threshold necessary go into ALARM state)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In the context of EC2 instances, an alarm can trigger…

A

auto scaling actions

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

What are some ways CloudWatch Alarms can integrate with other AWS resources?

A

via SNS or SQS

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

What are examples of services that produce global events which are consumed/processed by CloudTrail?

A
  1. IAM
  2. STS
  3. CloudFront
    4, Route 53
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Global events in CloudTrail are recognized as occurring where?

A

Us East - 1 (Northern Virginia)

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

A trail allows delivery of CloudTrail events to what destinations?

A
  1. S3 Bucket
  2. CloudWatch Logs
  3. CloudWatch events
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

X-ray trace vs segment vs sub-segment

A

Trace is E2E path of a request through your application. Segment is like the link the in chain (the AWS service), and the subsegment is the underlying API call made from a particular service

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

By default EC2 instances do not report OS level metrics. But you can enable this by doing what?

A

Installing CloudWatch agent onto the instance.

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

Default tracking behavior of CloudWatch?

A

Management events (create/modify/delete) calls within the last 90 days.

17
Q

Difference b/t management and data events

A

Management events are events performed on an AWS resource. Data events are events performed on data in your AWS account.

18
Q

What is main purpose of X-ray?

A

Detect bottlenecks and and monitor health of various components within a distributed application.

19
Q

When using X-ray, a ______ is added to the header of requests.

A

trace ID

20
Q

Purple color in X-Ray service graph means what?

A

There is a throttling issue

21
Q

Can alarms trigger lambda functions?

A

Not directly, but you can use an alarm to trigger an SNS topic which triggers a Lambda function.

22
Q

What is notable system metric not available to CloudWatch default metrics?

A

RAM

23
Q

What is Cloud Watch namespace for EC2?

A

AWS/EC2