CloudWatch Flashcards

1
Q

What is the default retention for (a) CW Logs, and (b) CW Metrics?

A

CW Logs: Indefinitely
CW Metrics: Data at 1-minute granularity: Retained for 15 days.
Data at 5-minute granularity: Retained for 63 days.
Data at 1-hour granularity: Retained for 15 months.

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

Main use cases for streaming CW Logs to Elasticsearch?

A

Store and search logs for application monitoring

Security Info and Event Management (SIEM) of multiple event/application logs
Enterprise-grade search engine (Lucerne library)

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

CW Metrics: DEFAULT vs. CUSTOM (what resolution?)

A

DEFAULT
Standard Resolution is 1 minute
Except for EC2, where standard is 5 minutes, and DETAILED = 1 minute (extra charge)
CUSTOM
Standard Resolution: 1 minute
High Resolution: 1 second

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

Difference between CW Anomaly Detection and Amazon Lookout for Metrics?

A

Both use ML to detect anomalies. CW AD is AWS-centric, focused on operational monitoring of AWS resources (CW metrics). Lookout for Metrics can be applied to various business and operational metrics (including external, third-party) across different domains and industries.

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

Two ways to generate CW Custom Metrics

A

Cloud Watch Agent pushes / enables
generated by API call

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

Do you need a CW Agent to move APPLICATION logs to CW Logs?

A

On EC2, yes. On Lamba, ECS, Fargate, Beanstalk, no – there is a direct integration

A small set of EC2 METRICS are sent to CW Logs without an AGENT, but no EC2 LOGS are sent without an agent

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

Do you need a CW Agent to move O/S logs to CW Logs?

A

Yes. Without an agent, both EC2 and on-prem logs will be stored only in /var/logs/messages or /var/log/auth.log. To stream them to CW logs, a CW Agent is needed.

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