Monitoring & Audit Flashcards

1
Q

What are 3 example use cases for defining Custom Metrics?

A
  • RAM usage
  • Disk Space
  • Number of logged in users
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What API call do you use in the SDK to send a Custom Metric?

A

PutMetricData

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

What are 2 example attributes you can use to segment Custom Metrics?

A
  • Instance.id

- Environment.name

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

What API parameter do you set for Custom Metric Resolution?

A

StorageResolution

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

Can your Custom Metrics have timestamps in the past or future?

A

Yes

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

What are the 2 logs agents available?

A
  • Cloudwatch Logs Agent (old version)

- Cloudwatch Unified Agent

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

What 1 thing can Cloudwatch Logs Agent do?

A

Send to Cloudwatch Logs

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

What are the 2 things Cloudwatch Unified Agent can do?

A
  • Collect additional system-level metrics like RAM etc

- Send to Cloudwatch Logs

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

How would you recover an EC2 while maintaining the same private IP, Public IP, Elastic IP and metadata etc?

A

You would set up a Cloudwatch Alarm to recover the EC2 Instance based on Instance Status and System Status

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

What are the 2 advantages of Eventbridge vs Cloudwatch Events?

A
  • You can receive events from partner event bus like ZenDesk etc
  • You can now receive events from custom event buses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How long are events stored in Cloudtrail?

A

90 days

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

What are the 3 things Cloudwatch is used for?

A
  • Performance Monitoring
  • Events & Alerting
  • Log Aggregation and Analysis
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the 3 things Cloudtrail is used for?

A
  • Record API calls

- Define trails for specific resources

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

What are the 3 things Config is used for?

A
  • Record Configuration Changes
  • Evaluate Resources against compliance rules
  • Get timelines of change and compliance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly