Monitoring, Logging, and Remediation Flashcards

Learn and fixing knowledge about CloudWatch, logs and etc

1
Q

Log events

A

Event messaging and time stamp

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

Log Stream

A

Sequence of log events from the same resource. Each log stream must belong to a log group.

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

Log Group

A

A group of log streams that share the same retention, monitoring and access control settings

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

Default EC2 host-level metrics:

A

CPU,Network,disk, and status check.

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

How can we monitoring the memory usage of an instance?

A

Installing cloudwatch agent, hence we can monitor memory usage, processes, and CPU idle time.

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

Cloudwatch Logs

A

with cloudwatch logs we can see: Application logs: Apache logs.
System logs: EC2.
AWS Services: CloudTrail, Route 53.

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

what can we do using cloudwatch logs?

A

We can view, search and filter, based on error codes and messages, example: 404 status in apache logs.

Also, we can receive notifications whenever the rate of errors exceeds a threshold that it’s specified.

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

How is CloudWatch Alarms useful?

A

It’s really useful for monitoring any metric in aws account if a certain threshold is reached through alarms.

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

Can AWS cloudwatch alarms be integrated with another AWS service?

A

It can be integrated with SNS (Simple Notification Service) to send a notification email alert to AWS support team.

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

CloudWatch Alarms Use case

A

An alarm that is triggered if CPU utilization exceeds 90% on your EC2 instance for more than 5 minutes.

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

Monitor Service Quotas

A

CloudWatch can be used to monitor service quotas or limits when you are about to reach a limit.

. It can be alert in the cloudwatch dashboard.

. An SNS notification can be used to email your IT support team.

. Use case, when you reach 90% of the quota value for on-demand EC2 instances.

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

Health Events

A

Provides information about changes in the health of AWS resources.

. Can send health events to EventBridge (was cloudwatch events).

. triggering a cloudwatch alarm and then trigger an action sending an SNS notification, send a message to SQS or trigger a lambda function

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

AWS Config

A

. Configuration Monitoring: Continuously monitors the configuration of your AWS resources for compliance, with a desired state that you define.

. Dashboard: Provides an inventory, and shows compliance and non-compliance.

. Rules: Define the desired state of your resource configuration

. Conformance packs: a set of rules managed as one, Operational Best practices for S3, EC2, IAM.

. Automatic Remediation: remediates non-compliant resources by triggering an action that you define.

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