Cloud Monitoring Flashcards

1
Q

CloudWatch Metrics

A
  • for all services
  • Metrics have timestamps
  • ex. Billing metric, CPUUtilization, etc
  • Default every 5 minutes
  • Service limits
  • Custom metrics
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

CloudWatch Alarms

A
  • Trigger notification for any metric w/thresholds
  • EC2 actions (stop, terminate, reboot, recover)
  • SNS notifications
  • Sampling, %, max/min
  • Period
  • Billing alarm on billing metric (us-east-1 ONLY)

Alarm states are OK, INSUFFICIENT_DATA, and ALARM

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

CloudWatch Logs

A
  • Elastic Beanstalk, ECS, Lambda, CloudTrail, Cloud3atch, R53 DNS Queries
  • Real time monitoring of logs
  • Retention
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

CloudWatch Logs for EC2

A
  • EC2 doesn’t store logs automatically
  • Must install CloudWatch agent on EC2 instance
  • Needs right role and IAM permissions
  • Can also be implemented hybrid (on-prem)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

EventBridge (fks CloudWatch Events)

A
  • Schedule (cron jobs)
  • ex. trigger lambda function (serverless cron)
  • React to events (root user sign in) to SNS w/email
  • Default event bus versus partner event bus
    • ZenDesk, Datadog. etc.
    • Also custom events
  • Schema event registry
  • Archive events
  • Replay events
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

CloudTrail

A
  • governance, compliance, and audit
  • enabled by default
  • History of events/API calls made by
    • console
    • sdk
    • CLI
    • AWS services
  • Can out CLoudtrail into Cloudwatch or S3
  • All or one region
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

X-Ray

A
  • Visual analysis of applications. Service graph
  • troubleshooting, performance issues
  • Understanding dependencies
  • distributed tracing
  • Find erros and exepctions
  • Look for throttling
  • which users wil lbe impact
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

CodeGuru

A

Code reviews, performance recommendations

  • ML powered service
    • Reviewer - automated code reviews with static code analysis
    • Profiler - application runtime performance ( expensive lines of code)
  • Recommendations directly in code
  • support java and python
  • Integrated with GitHub, Bitbucket, and AWS CodeCommit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

CodeGuru Profiler

A
  • Identify code inefficiences
  • improve application performance
  • decrease compute costs
  • Provide heap summary
  • Anomaly detection
  • Supports AWS or on-prem
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

AWS Health Dashboard

A

Service history and status for AWS services

  • shows all regions all services health
  • historical information for each day
  • RSS feed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly