High Availability Flashcards
What are optimal CPU Utilization percentage to scale out and in?
Scale out @ 80% , Scale in @ 40%
What is required before creating ASG?
Launch configuration.
note that ELB is not required!
What is the name of the ‘set of instructions’ sent from CloudWatch to ASG?
Policy
What is Predictive Scaling? And how much data it needs?
It auto-scales based on daily/weekly patterns.
It needs at least 2 weeks of data.
What are some valid states for RDS instances?
Pending / In-Service are valid states.
XACTiVEX is not a valid state
versioned launch configuration?
Launch template
If you changed EC2 settings, How to update the Launch configurations?
Use the EC2 as a template. (do not create manually a new launch configuration)
How long can SQS messages be kept?
14 days
What would happen to inactive SQS queues?
AWS has right to delete them after 30 days
What can be used to subscribe to SNS topics?
Lambda, SQS, email, SMS, HTTP/S
What does it mean to make an application ‘stateless’?
Save session data using services as DynamoDB or ElastiCache.
How to use a Lambda function on other regions?
A new copy is required.
How to build subnets with HA for 3-tier applications?
Create 2 subnets per tier.
& Choose different AZ for each subnet.