CSOA-A Domain 1 - Monitoring, Logging, Remediation (20%) Flashcards
What are the two levels of metrics we can monitor for in CloudWatch?
- System Metrics
- Application Metrics
What is Cloudwatch Unified Agent? How do you set it up?
- Something you install on your EC2 instance to collect system-level metrics
- You use the “config wizard” to set up your configuration file
- Then you run the agent and load that config file
What are two categories of AWS CloudWatch metrics
- Default, built-in
- Custom, gathered by an agent
Is EC2 Memory Utilization a Default or Custom Metric?
- It is a CUSTOM Metric
- You’d need to install an agent and report that to cloud watch
What is CloudWatch Logs used for?
- Monitor store and access log files from a variety of sources
- Allows you to query logs for potential issues
What is CloudWatch Logs Insights used for?
Allows you you to query your logs with a SQL like query
Is cloudwatch Logs real time?
- No. for real-time, you;d need to look at AWS Kenisis
What allows me to use SQL-like queries on logs?
Cloudwatch Logs Insights
What is the default intervals for Standard Metrics? and Custom Metrics?
- Standard
- 5 min
- 1 min (Up-charge)
- Custom
- 1 min
- 1 Sec (Up-charge)
What is AWS Config used for?
- Allows you to assess, audit, evaluate configurations of tour AWS resources.
- Used for enterprise compliance monitoring.
- What is a period?
- What is the default period value?
- A period is the length of time associated with a specific Amazon CloudWatch statistic.
- 60 Seconds
What is the new name for Amazon Cloudwatch Events, and what is it used for?
- Amazon Event Bridge
- EventBridge receives events indicating something changed in your AWS environment, then applies a rule to route that event to a target such as Lambda.
What are some of the default metrics in an EC2 instance you can monitor with CloudWatch
CPU Utulization
Disk Reads/Writes
Network Packets In/Out
What is the command to install the cloudwatch agent
sudo yum install amazon-cloudwatch-agent -y
What does Cloud Trail track
it’s an audit log of activities in your instance
How long are Cloud Trail Logs kept?
90 days (can be more)
Are Cloud Trails Encrypted?
Yes
What’s AWS Config for
Monitoring the configuration of AWS assets.
What 3 things can AWS Config do?
- Monitoring configuration against the desired state
- Automatic remediation
- Notifications