Monitoring and Audit: CloudWatch, CloudTrail and Config Flashcards

1
Q

What is a namespace in relation to CloudWatch?

A

The group of metrics associated with a service

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

What is a dimension as it relates to CloudWatch metrics?

A

An attribute of a metric such as a specific instance ID

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

What is one option if the metrics provided by AWS don’t suit your needs?

A

You can create custom metrics

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

How would you delete CloudWatch Logs after a period of time?

A

Set an expiration policy

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

Are CloudWatch Logs encrypted by default?

A

Yes

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

What is CloudWatch Logs Live Tail?

A

A service that allows you to see the logs in real time as they are processed

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

What is the service used to query logs within CloudWatch Logs?

A

CloudWatch Logs Insights

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

What is the CloudWatch Agent?

A

A piece of software to run on-premises or on your cloud deployments that collects metrics and logs to push to CloudWatch Logs

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

What service would be used to trigger notifications from a metric in the AWS Cloud?

A

CloudWatch Alarms

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

What are composite alarms in CloudWatch Alarms?

A

Alarms that can monitor the states of multiple other alarms, e.g. CPU utilisation AND RAM utilisation are both high

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

What are the two main trigger types for EventBridge?

A

Scheduled and event pattern

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

What is a default event bus? What is a partner event bus?

A

The default event bus is EventBridge, simply the route through which events travel.
The partner event bus is an alternative to EventBridge within AWS that can process events originating outside of AWS.

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

Why would one archive an event from EventBridge?

A

To replay it and test for debugging

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

What is the schema registry in EventBridge and why is it useful?

A

The schema registry is the ability of EventBridge to be able to comprehend the schema of an event bus which then enables you to create code in your application expecting that schema

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

What are contributor insights in CloudWatch insights? Why is this useful?

A

Insights as they relate to the heaviest network users.
Check if they are good or bad actors, find out what or who is impacting system performance, cater to these people more effectively

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

Do CloudWatch application insights work with all technologies on ECS?

A

No, it is select technologies on EC2 only - nothing on ECS

17
Q

What is the default storage length for CloudTrail Events? What can be done to extend this?

A

90 days, to extend should be sent to S3

18
Q

What type of CloudTrail events are stored by default in a trail?

A

Management events

19
Q

What type of events are not stored by default in CloudTrail as they are done in high volumes?

A

Data events

20
Q

Is CloudTrail regional or multi-regional by default?

A

Multi-regional

21
Q

What is AWS Config?

A

A service that tracks the configurations of your AWS services and how these have changed over time

22
Q

Does Config say who has changed the resource configurations?

A

No - this is the job of CloudTrail

23
Q

Is Config global?

A

No - it works per-region

24
Q

What is a Config rule?

A

A query that is periodically activated, e.g. are all my EC2 instances of type T2.micro?

25
Q

Do Config rules stop events from taking place/people from disobeying them?

A

No - they just check if something is happening, as opposed to actually changing things

26
Q

How can one try to automatically rectify non-compliant resources in Config?

A

Trigger remediation actions with AWS-Managed Automation Documents or custom automation documents