Module 10: Monitoring, elasticity and high availability Flashcards
What is Amazon CloudWatch?
A monitoring and observability service that collects data from AWS resources, applications, and services in real-time.
What are the primary components of CloudWatch?
Metrics, Alarms, Logs, Events, and Dashboards.
What is a CloudWatch metric?
A data point representing a specific performance characteristic of a resource, such as CPU utilization or network traffic.
How often are metrics collected by default for EC2 instances?
Every 5 minutes for basic monitoring, every 1 minute for detailed monitoring.
: How can you analyze log data in CloudWatch?
Use CloudWatch Logs Insights to query and analyze log data interactively.
What is a CloudWatch Alarm?
A feature that monitors a specific metric and performs an action (e.g., sending notifications) when the metric crosses a defined threshold.
What are the three alarm states in CloudWatch?
OK, ALARM, and INSUFFICIENT_DATA.
What action can a CloudWatch Alarm trigger?
Send notifications via SNS, perform an EC2 Auto Scaling action, or execute an AWS Lambda function for example.
What is a CloudWatch Dashboard?
A customizable, visual interface for monitoring metrics and alarms across multiple AWS resources.
How can you share a CloudWatch Dashboard?
Dashboards can be shared with team members or made public for specific viewers.
What is Amazon EventBridge?
A serverless event bus service that makes it easy to connect applications using event-driven architecture.
What is an EventBridge Event Bus?
A logical grouping of events that applications can subscribe to and process. AWS services send events to the default event bus.
What is AWS Cost Explorer used for?
To visualize and analyze AWS costs and usage over time, identifying spending patterns and anomalies.
What is the AWS Budget tool used for?
To set custom cost, usage, or savings plans thresholds and receive alerts when those thresholds are breached.
What is AWS Cost and Usage Report for?
contains the most comprehensive set of AWS cost and usage data available, including additional metadata about AWS services, pricing, and reservations.AWS
What is vertical scaling?
Replacing a resource with a larger or smaller one (e.g., upgrading an EC2 instance for more RAM or CPU). It may involve downtime.
What is horizontal scaling?
Adding or removing instances or resources (e.g., increasing the number of EC2 instances). This enables building internet-scale applications.
Why is horizontal scaling preferred for high availability?
It distributes traffic across multiple instances, reducing the impact of failures and improving cost efficiency.
What is an Amazon EC2 Auto Scaling group?
A logical collection of EC2 instances managed across multiple Availability Zones.
What does a launch template specify in an Auto Scaling group?
Configuration details for EC2 instances, including AMI ID, instance type, and network settings.
What triggers Amazon EC2 Auto Scaling?
Scaling policies, schedule actions, and health checks from ELB or Auto Scaling.
What is the role of Elastic Load Balancing (ELB) in Auto Scaling?
ELB distributes incoming traffic to instances in the Auto Scaling group and reports unhealthy instances.
What are the benefits of EC2 Auto Scaling?
Better fault tolerance: Replaces unhealthy instances.
Better availability: Matches traffic demand dynamically.
Better cost management: Avoids overprovisioning.
What are the three capacity settings of an Auto Scaling group?
A:
Minimum capacity: Smallest number of instances needed.
Maximum capacity: Largest number of instances permitted.
Desired capacity: Optimal number of instances under normal conditions.