What is Amazon CloudWatch?
CloudWatch is a monitoring and observability service that provides data and actionable insights for AWS resources, applications, and services.
Which types of resources can CloudWatch monitor?
EC2
RDS
Lambda
EBS
DynamoDB
VPC
S3
custom applications
and on-premises servers.
Name the three main CloudWatch components.
Metrics
Logs
Alarms
What is a CloudWatch metric?
A metric is a time-ordered set of data points representing the behavior of a resource or application.
What is the difference between standard and custom metrics?
Standard metrics are automatically provided by AWS for resources (e.g., CPUUtilization for EC2).
Custom metrics are user-defined metrics pushed to CloudWatch.
What is the default CloudWatch metrics retention period?
15 months (1-minute granularity for 15 days, 5-minute for 63 days, 1-hour for 15 months).
How frequently are standard EC2 metrics collected?
Every 5 minutes (basic monitoring) or every 1 minute (detailed monitoring).
What is a CloudWatch alarm?
An alarm watches a single metric and performs one or more actions based on a threshold over time.
Name possible actions triggered by CloudWatch alarms.
Auto Scaling actions
EC2 instance actions (stop, terminate, reboot)
SNS notifications
Systems Manager automation.
What is the difference between state values in CloudWatch alarms?
OK – metric is within threshold; ALARM – metric has crossed threshold; INSUFFICIENT_DATA – not enough data to determine state
Can CloudWatch alarms monitor multiple metrics?
Yes, using metric math to combine multiple metrics into a single expression.
What is a CloudWatch Log Group?
A logical group of log streams that share the same retention, monitoring, and access policies.
What is a CloudWatch Log Stream?
A sequence of log events from the same source, such as an EC2 instance or Lambda function.
Name the default log retention period.
Never expire (can be configured to a specific retention period).
What is CloudWatch Logs Insights?
A tool for querying and analyzing log data in CloudWatch Logs using a purpose-built query language.
What is a CloudWatch Dashboard?
A customizable visual interface to view metrics and alarms from multiple AWS resources in one place.
Can dashboards display both AWS and custom metrics?
Yes, CloudWatch dashboards can display metrics from AWS resources and custom metrics.
How many dashboards can you create by default per AWS account?
Up to 500 dashboards.
What is the difference between CloudWatch Events and EventBridge?
CloudWatch Events was renamed EventBridge. EventBridge can route events from AWS services, SaaS apps, or custom apps to targets (like Lambda, SNS, SQS).
Can CloudWatch trigger Lambda functions?
Yes, both via alarms and EventBridge rules.
What are the key factors affecting CloudWatch pricing?
Number of metrics:
dashboard
alarms
log data ingestion
storage
API requests
custom metrics.
Are standard metrics free?
Some standard metrics are free (basic EC2 metrics), but custom metrics are charged.
How can you reduce CloudWatch costs?
Use metric filters selectively
aggregate metrics
set appropriate log retention periods.
Name some AWS services integrated with CloudWatch.
EC2
RDS
Lambda
ECS
EKS
S3
DynamoDB
ELB
Auto Scaling
CloudTrail.